LED: Simplify logic

Removed settings observer for enabling custom led settings.

Change-Id: Ic5dfec96696ad5d2f7247b4a04a2df584dd35454
ZygoteInit: increase GC threshold amount when preloading to postpone GC

Patch Set 2: Hardcode it better to 1MB.

Change-Id: I7a6e195b82ebe2f4bd5bbb506e19200d452fa3e5
[1/2] Improve flash availability check.

* Use simple overlay, default false.

PS2: Add header and proper symbol.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I40458959d738fbd82941a19ff1ffcfa236bffcb9
Fix double finger to pulldown statusbar when QuickPulldown is disabled

PS2: Better fix

Change-Id: I738d8113be5b6fd04417b7e2d2ba31a710bd7615
Remove PA beans

Change-Id: Icbc1bc67b41134362cc8a12b03b96b1f847460b6
Revert "Remove PA beans"

This reverts commit cf8322b44982bbc82c5a5ac0daa74ff459182aab.

I have a better idea

Change-Id: I97d7a25d241357fb1bf5cfcef34fa66f9f8f3544
Revert "[1/2] Frameworks: PA Version Easter Egg"

This reverts commit abb8d79d930f5e51283ef3a7c1d45416f53a15af.

Change-Id: Id7a64ed170e0feef68b46d4daa56d899f1836cbe
Merge "Revert "[1/2] Frameworks: PA Version Easter Egg"" into kitkat
Revert "Revert "Remove PA beans""

This reverts commit eb910d0125b2eaa72400634133bc1d1350d7093d.

I'm going to sleep now OK?

Change-Id: I0b26010b378903783c8b9806bcd0f9a6698132e9
Merge "Revert "Revert "Remove PA beans""" into kitkat
Quicksettings 3.1

Minor post update.

* Update Recents animation with new immersive modes. Continue this https://github.com/AOSPA/android_frameworks_base/commit/48be6b18bbf2d676da75eb031ee76b282635713a
* Sleep Tile
  Cleanup code.
  Add new holoish drawable.
  Long press now opens power menu (pure emulation of power button). Thanks to @cristianomatos
* Immersive
  Back on our first concept of having the tile dualized and change it:
  - Front: Toggles Global On/Off.
  - Back: Toggles modes (Full/Nav only/Status only).
  The tile now stores last immersive state, thanks @David96 for the idea.
  Fixed a critical bug with status bar hidden only, thanks to @David96.
* Rssi Tile
  Restore long press action to data usage on front rssi tile
  Fix icon overlay, restore blank overlay on disable and while wifi is on.
* Code indenting and cleanup.
* Update dual switch icons, less bright.
* Restore a previous fix that relays on immersive.
* Get rid of some useless imports and code in quick settings, make a class for battery tile.

PS2: Update dual switch icon brightness.
PS3: Spanish translations.
PS4: Translation fix.
PS5: Translation derp.
PS6: Cleanup.
     Add battery tile class.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I076d4c2be5f22df7cf1f04d5487c699d90d663f7
DocumentsUI translations

Some translation from OmniROM DocumentsUI application
Merge "DocumentsUI translations" into kitkat
Set id for battery tile (wrongly removed on previous rework).

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Merge "LED: Simplify logic" into kitkat
Merge "ZygoteInit: increase GC threshold amount when preloading to postpone GC" into kitkat
Modify network disabled toast message

Also add spanish translation

Change-Id: If689aceccb0c14e3f5f42011cd4ac2c9c5306cfd
Update immersive confirmation.

1. Disable panic mechanism for expanded desktop.
2. Separate confirmation for each expanded desktop style.
3. Add new layout for the case when navigation
   bar is hidden but statusbar is visible.

PS1: Adapt to our immersive and fix conflicts.
PS2: ???
PS3: Hopefully restore previous state.
PS4: Spanish translations

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I5914d655bd5f9315ac4cc6fc7d70cc4ee45bb7b2
Fix aosp behavior on network icon id.

Remove net indicator only if we're truly connected to wifi, if wifi is just enabled and not connected we're still using mobile network.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change temporary tiles behavior on edit mode.