Pebble: remove "move to top" feature completely

master
Andreas Shimokawa 2016-06-19 21:06:38 +02:00
parent 4b5969ef96
commit 24e840e03b
2 changed files with 0 additions and 9 deletions

View File

@ -277,9 +277,6 @@ public abstract class AbstractAppManagerFragment extends Fragment {
if (!selectedApp.isConfigurable()) {
menu.removeItem(R.id.appmanager_app_configure);
}
if (!mGBDevice.getFirmwareVersion().startsWith("v3")) {
menu.removeItem(R.id.appmanager_app_move_to_top);
}
//menu.setHeaderTitle(selectedApp.getName());
popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
@ -343,8 +340,6 @@ public abstract class AbstractAppManagerFragment extends Fragment {
startIntent.putExtra(GBDevice.EXTRA_DEVICE, mGBDevice);
startActivity(startIntent);
return true;
case R.id.appmanager_app_move_to_top:
return true;
default:
return super.onContextItemSelected(item);
}

View File

@ -18,8 +18,4 @@
<item
android:id="@+id/appmanager_app_configure"
android:title="@string/app_configure"/>
<item
android:id="@+id/appmanager_app_move_to_top"
android:title="@string/app_move_to_top"/>
</menu>