Install app on watch directly instead of telling the user to do so.
This commit is contained in:
parent
a10c6f3b9f
commit
df741e9571
|
@ -1,5 +1,8 @@
|
|||
###Changelog
|
||||
|
||||
####Version (next)
|
||||
* Pebble: install (and start) freshly-installed apps on the watch instead of showing a Toast that tells the user to do so. (only applies to firmware 3.x)
|
||||
|
||||
####Version 0.8.0
|
||||
* Pebble: Support Pebble Health: steps/activity data are stored correctly. Sleep time is considered as light sleep. Deep sleep is discarded. The pebble will send data where it seems appropriate, there is no action to perform on the watch for this to happen.
|
||||
* Pebble: Fix support for newer version of morpheuz (>=3.3?)
|
||||
|
|
|
@ -620,7 +620,7 @@ public class PebbleIoThread extends GBDeviceIoThread {
|
|||
if (appId == 0) {
|
||||
// only install metadata - not the binaries
|
||||
write(mPebbleProtocol.encodeInstallMetadata(app.getUUID(), app.getName(), mPBWReader.getAppVersion(), mPBWReader.getSdkVersion(), mPBWReader.getFlags(), mPBWReader.getIconId()));
|
||||
GB.toast("To finish installation please start the watchapp on your Pebble", 5, GB.INFO);
|
||||
write(mPebbleProtocol.encodeAppStart(app.getUUID(), true));
|
||||
} else {
|
||||
// this came from an app fetch request, so do the real stuff
|
||||
mIsInstalling = true;
|
||||
|
|
Loading…
Reference in New Issue