Enable custom clock feature
- Enable ClockOptionsProvider and the flag let SystemUI(keyguard) have the ability to apply custom clock - Remove Analog and Bubble clock from SystemUI Bug: 146530441 Test: `adb shell content query --uri content://com.android.keyguard.clock/list_options` will list available provider, `adb shell settings put secure lock_screen_custom_clock_face "com.android.keyguard.clock.BubbleClockController"` will not switch to Bubble clock. Change-Id: Iecfb5e2ea0cc72ca6eb1e16ca0dc0213a3257b6e
This commit is contained in:
@@ -696,8 +696,7 @@
|
||||
<provider
|
||||
android:name="com.android.keyguard.clock.ClockOptionsProvider"
|
||||
android:authorities="com.android.keyguard.clock"
|
||||
android:enabled="false"
|
||||
android:exported="false"
|
||||
android:exported="true"
|
||||
android:grantUriPermissions="true">
|
||||
</provider>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user