Add new key to System Content Provider for combined location
Bug: 185927316 Test: tests run as part of topic thru the other CL; no extra tests for this change alone. Change-Id: I76e21b2f3731f4e556713ad86bc7bd29e467c583 Change-Id: I0bc606e9cf438705166f76872495f2e84dee55d3 (cherry picked from commit 0e20158cf7651d298af879209f81bfae115c253d)
This commit is contained in:
committed by
Yeabkal Assegid Wubshit
parent
d7935a531f
commit
95b8d682d3
@@ -16770,6 +16770,12 @@ public final class Settings {
|
||||
* @hide
|
||||
*/
|
||||
public static final String BURN_IN_PROTECTION_ENABLED = "burn_in_protection";
|
||||
|
||||
/**
|
||||
* Whether the device has combined location setting enabled.
|
||||
* @hide
|
||||
*/
|
||||
public static final String COMBINED_LOCATION_ENABLED = "combined_location_enable";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -311,6 +311,7 @@ public class GlobalSettingsValidators {
|
||||
Global.Wearable.WEAR_ACTIVITY_AUTO_RESUME_TIMEOUT_MS,
|
||||
NON_NEGATIVE_INTEGER_VALIDATOR);
|
||||
VALIDATORS.put(Global.Wearable.BURN_IN_PROTECTION_ENABLED, BOOLEAN_VALIDATOR);
|
||||
VALIDATORS.put(Global.Wearable.COMBINED_LOCATION_ENABLED, BOOLEAN_VALIDATOR);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user