Pebble: fix Pebble Health vanishing when deactivating
This commit is contained in:
parent
3b474bb5a9
commit
837dfd5917
|
@ -310,7 +310,6 @@ public abstract class AbstractAppManagerFragment extends Fragment {
|
|||
|
||||
public boolean onContextItemSelected(MenuItem item, GBDeviceApp selectedApp) {
|
||||
switch (item.getItemId()) {
|
||||
case R.id.appmanager_health_deactivate:
|
||||
case R.id.appmanager_app_delete_cache:
|
||||
String baseName;
|
||||
try {
|
||||
|
@ -354,6 +353,9 @@ public abstract class AbstractAppManagerFragment extends Fragment {
|
|||
case R.id.appmanager_health_activate:
|
||||
GBApplication.deviceService().onInstallApp(Uri.parse("fake://health"));
|
||||
return true;
|
||||
case R.id.appmanager_health_deactivate:
|
||||
GBApplication.deviceService().onAppDelete(selectedApp.getUUID());
|
||||
return true;
|
||||
case R.id.appmanager_app_configure:
|
||||
GBApplication.deviceService().onAppStart(selectedApp.getUUID(), true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue