actual deletetion of the Health app.
It brings the health watchapp back to the pristine state "you need pebble health in order to use this app". The data, however, is not deleted!
This commit is contained in:
parent
33cf76172b
commit
9f2a7f5448
|
@ -678,12 +678,11 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
|||
public byte[] encodeActivateHealth(boolean activate) {
|
||||
byte[] blob;
|
||||
byte command;
|
||||
if (activate) {
|
||||
command = BLOBDB_INSERT;
|
||||
if (activate) {
|
||||
blob = new byte[]{0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02};
|
||||
} else {
|
||||
command = BLOBDB_DELETE;
|
||||
blob = null;
|
||||
blob = new byte[]{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
}
|
||||
return encodeBlobdb("activityPreferences", command, BLOBDB_HEALTH, blob);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue