Settings: Add DSPManager

Change-Id: I0aa0aac3d5777e47d092049e14b2f10a7870da8f
Settings: Quiet Hours [2/3]

    Ported to AOSPA from N5X CM11 Based by @AragaoAnderson

Change-Id: Id591ac8abe11e0de7ac03ddd630a169c433260d1
Settings: Add Auto-brightness [2/2]

Change-Id: I2fdd1d023979a6acb664145381c4899391cfdd39
Consistently use start/end instead of left/right layout properties.
Fixes various RTL language bugs.

Change-Id: I95c3cb34ca84f3a20f5c5cf3cfe1dc053791ee54
Settings: remove 'Brightness adjustment' from auto brightness dialog

Change-Id: I4cb4a21012fbc0d257a9beff356004bd34f32c9f
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Fixes for auto brightness implementation

Change-Id: Ie710b1929d845524fee84a12af862dd686f11758
settings: performance: Update get current values in Processor view

Some users have been complaining about min/max frequency being
set incorrectly on some CM builds.

One way that they could be seeing this is by using the Processor
Performance information in Settings which seems to load the values
for min/max frequency and governor once and then never reloads
them unless you change the actual setting.

This is easy to see by changing the values yourself by modifying
the /sys files directly.

With this commit, changing the /sys files will cause the
Performance view to show the correct values, not the cache values.

Change-Id: I96719e4f40081cb8d2c9b1fd63a32332823cf77d
Fix confusing warning dialog behaviour.

The settings app closing when pressing back while the dialog is shown or
clicking outside of the dialog was confusing for the user. Instead, make
sure the user has to acknowledge the dialog.

Change-Id: I8ffdf6a2ede8b67176fd22a13d7046a707b52b89
settings: Remove ZRAM settings

 * Android has proper ZRAM support builtin now, and this code doesn't
   even work. Remove it.

Change-Id: I59659febb1adf53a3367d8f7fb2ec3c2eeacbb4d
Performance: Allow enabling KSM by default

Allow device maintainers to enable KSM by default.
Set ro.ksm.default=1 to enable.

Change-Id: Ib432be4937dff63891e641b2f14ab223c2d245df