|
@@ -166,6 +166,11 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
|
|
setupDrawerMenu(mNavigationView);
|
|
setupDrawerMenu(mNavigationView);
|
|
|
|
|
|
setupQuotaElement();
|
|
setupQuotaElement();
|
|
|
|
+
|
|
|
|
+ // show folder sync menu item only for Android 5+
|
|
|
|
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
|
|
|
+ mNavigationView.getMenu().removeItem(R.id.nav_folder_sync);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
setupDrawerToggle();
|
|
setupDrawerToggle();
|