mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-18 22:57:48 +01:00
start app when about to be configured
This commit is contained in:
parent
2a7f9226a0
commit
902ff39c0b
@ -199,6 +199,8 @@ public class AppManagerActivity extends Activity {
|
|||||||
GBApplication.deviceService().onInstallApp(Uri.parse("fake://health"));
|
GBApplication.deviceService().onInstallApp(Uri.parse("fake://health"));
|
||||||
return true;
|
return true;
|
||||||
case R.id.appmanager_app_configure:
|
case R.id.appmanager_app_configure:
|
||||||
|
GBApplication.deviceService().onAppStart(selectedApp.getUUID(), true);
|
||||||
|
|
||||||
Intent startIntent = new Intent(getApplicationContext(), ExternalPebbleJSActivity.class);
|
Intent startIntent = new Intent(getApplicationContext(), ExternalPebbleJSActivity.class);
|
||||||
startIntent.putExtra("app_uuid", selectedApp.getUUID());
|
startIntent.putExtra("app_uuid", selectedApp.getUUID());
|
||||||
startIntent.putExtra(GBDevice.EXTRA_DEVICE, mGBDevice);
|
startIntent.putExtra(GBDevice.EXTRA_DEVICE, mGBDevice);
|
||||||
|
Loading…
Reference in New Issue
Block a user