[Android] Remove padding hack, fixed by AppCOmpat 23.2

Geoffrey Métais git at videolan.org
Tue Jul 26 11:20:34 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 14 14:22:58 2016 +0100| [91297197258360b14ffade2ae9b34cd353b8e50c] | committer: Geoffrey Métais

Remove padding hack, fixed by AppCOmpat 23.2

This reverts commit a2b0bffe3fedb2e344afe76de95664b0a33cbe5c.

> https://code.videolan.org/videolan/vlc-android/commit/91297197258360b14ffade2ae9b34cd353b8e50c
---

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 31558bb..03bb50c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -248,10 +248,6 @@ public class MainActivity extends AudioPlayerContainerActivity implements Filter
         }
 
         mNavigationView.getMenu().findItem(R.id.nav_history).setVisible(mSettings.getBoolean(PreferencesFragment.PLAYBACK_HISTORY, true));
-
-
-        if (AndroidUtil.isLolliPopOrLater())
-            mNavigationView.setPadding(0, mNavigationView.getPaddingTop()/2, 0, 0);
     }
 
     @Override



More information about the Android mailing list