Filter spam notifications

Change-Id: Ibf2377cd7491c7e0e9e9c9657e9e65eef1876ee3
allow forcing HighEndGfx mode

people have already started fipping the lomRam prop to enable
transparent status bar, this will enable it with fewer
repercussions

Change-Id: Ied6de65276425fa1e7db0bf9da35f1932a355172
SystemUI : Port forward statusbar brightness control

Brings back the status bar brightness control from cm-10.2/cm-11

Change-Id: Icc04e7da3286e9925f8b90528c1e022b33d33e9d
SystemUI: fix status bar brightness slider eating events

In some cases it would eat the event and not lose focus to the rest of
the system.

Change-Id: I94d532d09ea762edf7ac037043ed023caf42c401
Signed-off-by: Roman Birg <roman@cyngn.com>
Make Status bar brightness control not default

Change-Id: I95115d794aef10c6e0d9514bf443cfab456b8c43
SystemUI: PhoneStatusBarView: disable DEBUG_GESTURES

Change-Id: I3911c464d1f008ac2c96a1104761007fad41a3ae
Signed-off-by: Roman Birg <roman@cyngn.com>
SystemUI: improve brightness slider behavior

Mimic the brightness slider behavior in the statusbar.
This adds logic to make the statusbar slider also work with automatic
brightness mode enabled and it will instead adjust the temporary automatic
brightness overrride.

Change-Id: I78814a785decc83df94844fcc2f489c8cbec2b65
Signed-off-by: Roman Birg <roman@cyngn.com>
systemui: Kill logspam

Change-Id: Id1c7c9c56632714aa6a161189d3d8e67a8a030ba
PackageInstallerSession: use ftruncate if fallocate is ENOTSUP

When posix_fallocate is not supported (e.g. on ext3), fall
back to using ftruncate instead.

Change-Id: I8f7792ed3f43504df21e86cff79ed34f3ba795d7
SystemUI: change back button to hide ime buttom with rotate animation.

Change-Id: Ia9a7716a6797d0442670451e59857d44b579b5f6
SystemUI: Fix HSPA+ and LTE icons in statusbar

Change-Id: I7180bcf0ac206ecac27e1d37174697a9de19bdf1
Dispatch keys to a device specific key handler

Injects a device key handler into the input path to handle additional
keys (as found on some docks with a hardware keyboard).

Configurable via overlay settings config_deviceKeyHandlerLib and
config_deviceKeyHandlerClass.

Change-Id: I6678c89c7530fdb1d4d516ba4f1d2c9e30ce79a4

DeviceKeyHandle: The device should consume only known keys

When the device receive the key, only should consume it if the device
know about the key. Otherwise, the key must be handle by the active app.
Also make mDeviceKeyHandler private (is not useful outside this class)

Change-Id: I4b9ea57b802e8c8c88c8b93a63d510f5952b0700
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

DeviceKeyHandler : Allow handling keyevents while screen off

Some devices require the keyevents to be processed while the screen
is off, this patchset addresses that by moving the filter up in the call
hierarchy.

Change-Id: If71beecc81aa5e453dcd08aba72b7bea5c210590
SystemUI: Fix mobile data connection type hiding

* Hide mobile data connection type when WiFi is connected.

Change-Id: Id346bc0040436f2bfc7219445d0a3ba8000eea3b
SystemUI: Vector drawables for data activity resources

Also include a transparent 'no activity' version to avoid
relayout requests of the ImageView because of size changes.

Change-Id: I0aee41f145b946c79c6bbb2a21954259ebd5f873
PhoneWindowmanager: disable panic mechanism when PolicyControl activated.

Change-Id: I5cf5f681237bbd17ec0fe2d041dd782cfb4b72f0
SystemUI: Add dummy path for stat_sys_signal_none

Change-Id: I0e459002d84aef3f7ddc21134dc56d215de16a51
SystemUI: Re-adjust signal strength icons

Change-Id: Id6dad0800e5e15ec694b24ecb9a88ccc0d4771d8
Add a HAF access permission

This is signature protected, and extremely dangerous since it
grants system GID.

Change-Id: I2528813de9341187f18ef708e7251b4e5e4003a3
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	core/res/res/values/cm_strings.xml
platform.xml: Fix syntax error

Change-Id: I1c2a5b2cce8deaccf0c5e120cf923723a8f9acfd
Start MountService before performBootDexOpt

This change is to start Mountservice before starting
performBootDexOpt, as in one case, in performBootDexOpt
when system upgrade happens, StorageManager will be started to
get the low threshold of DataDir. But, at this point, as
Mountservice is still not up, StorageManager will end up
having a null object of Mountservice.

Change-Id: I6dec474266faa5de67449c1bbe6ef30791e5ecaa