Pebble: remove "move to top" feature completely
This commit is contained in:
parent
4b5969ef96
commit
24e840e03b
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue