Settings: Add a RemotePreference for device-specific doze settings
* If a device has its own panel, we should replace the item under
display settings instead of having to clutter up the dashboard.
* Devices that provide Doze settings typically implement own AOD pref,
so hide AOSP one.
* This uses the new RemotePreference API to allow the external
app to update the view.
* The action for this is "org.lineageos.settings.device.DOZE_SETTINGS".
Co-authored-by:
Bruno Martins <bgcngm@gmail.com>
Change-Id: I22fd7e6307b370807415ce2132bed4808b2befe1
Loading
Please register or sign in to comment