samsung: doze: Clean up ambient display pref dependencies
authorZhao Wei Liew <zhaoweiliew@gmail.com>
Thu, 13 Oct 2016 10:33:52 +0000 (18:33 +0800)
committerJan Altensen <info@stricted.net>
Fri, 20 Mar 2020 13:56:38 +0000 (14:56 +0100)
commitb48065afed40009feffd4550547debdb6091bd9a
tree4a9b64109ca45d7bd62081ff931f3c49af8ea3c2
parentf62a187de762478f116f6a314b0561bf61087cdd
samsung: doze: Clean up ambient display pref dependencies

 * Use SecureSettingSwitchPreference for Ambient Display
 * Use the XML preference dependency attribute

Change-Id: I3480af71e334110aed834a53f49b33a853f16316
doze/res/xml/gesture_panel.xml
doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java