Revert "instead of hiding the memory bar.. remove the view to use less resources"


Leaves the progressbar in recents when disabled.

This reverts commit 0c9279afeb2fb9dd856998543632142df36dbcfc
Merge "Revert "instead of hiding the memory bar.. remove the view to use less resources"" into jb42
Revert "Revert "instead of hiding the memory bar.. remove the view to use less resources""

This is not causing any issues. i've been using it in builds for months without problems or complaints.
my guess is you denied super user permissions needed to restart the UI or something.

This reverts commit 65652c51823df6afb4e108dfdbd0201c308e8eb4.

Change-Id: I93e1be99d545ca9a9e0e72038a383d90000a98fa
Fix layout of MultiWaveView and GlowPadView.

If the calculated size of the rings is much smaller than the measured
size (which is happening e.g. on mdpi 600x1024 tablets), the glow pad
appeared shifted to the right.
This happened due to the insets being calculated as difference of
available and needed size, and later on being added to the available
size. Example numbers (Nexus 4 with density forced to 160):
- computed size in onMeasure: 768x505
- scaled size in onMeasure: 505x505
- thus, insets are calculated as 131/0
- in onLayout, placementWidth (364) and max target width (108) are much
  smaller than width (768)
- thus, center is calculated as 131 + (768 / 2) = 515, thus shifted to
  the right

Fix that by not using width in the calculation, as the inset size
already takes it into consideration.

JIRA:CYAN-829
Change-Id: Ifc2a93214f812f554a8fed3243eed66aec9f00c9
only inflate navigation bar once

credit CM

Change-Id: Ia133b39408c0bc999a86bc429dafb7c4e055c240
Don't include flags in configuration change if their value hasn't changed.

This makes the check in updateFrom() match the logic in diff().

Change-Id: I3ab4e8460f7fbf985ef55b9514a8aa90d401d486
Merge changes Ia133b394,Ifc2a9321 into jb42

* changes:
  only inflate navigation bar once
  Fix layout of MultiWaveView and GlowPadView.
Merge "Don't include flags in configuration change if their value hasn't changed." into jb42
unobserve settings observer in signalclustertextview

uses same guidelines as the previous memory leak fixes from AOKP and CM

Change-Id: Ie49c82429a4c3bed4b7c637053c563f5e0feeaaa
fix mem leak in circle battery

uses same method as AOKP & CM in previous memory leak fixes

Change-Id: Ied1e7db01e6fd93e5b2526114a3774d495d9e7f9
Merge changes Ied1e7db0,Ie49c8242 into jb42

* changes:
  fix mem leak in circle battery
  unobserve settings observer in signalclustertextview
fix more memory leaks in systemUI

same as before.  credit AOKP & CM for the instruction on how to do this.

Change-Id: Ic21262acbc8fb8a5b228aff168e57ec48e1a41bb
Don't start keyguard in an attempt to exit it.

exitKeyguardSecurely() will open the keyguard if it's currently disabled
by an app. As this is unwanted here (the user has either already
bypassed the keyguard or the keyguard isn't secure; otherwise he
couldn't click on a notification entry) and as the lockscreen already is
dismissed a few lines above, don't call exitKeyguardSecurely here.

Change-Id: I5582da350d8826e42f9edcd56845a59965865c8b
JIRA:CYAN-99
PIE: remove restart launcher option

pointless?

Change-Id: I40252d4b92986c60d0b8e92f0dd61153be717d01
Merge "PIE: remove restart launcher option" into jb42
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac
PIE: remove hardware accelleration from dummy trigger

why the fuck was this ever even added?!

Change-Id: Ib3a1cc3ec9d27b2e72c0151641a4d6f9a1fab945
WIP PIE/Expanded Desktop QS Tile

This should enable Pie and expanded desktop mode.

PS2: Builds now! :D Will test in a bit. Feel free to test for me. I feel like this won't even work, hahahaha.
PS3: Fixed a few small things. Give me a while and I will have fixed more.
PS4: STOP NEGLECTING STUFF IN GERRIT THANKS
     Added mdpi pie pngs (simply copied hdpi ones... somebody should resize them)
     Separated pie and expanded desktop toggles
     Fixed expanded desktop System.Setting to toggle actual expanded desktop state

Change-Id: I98a959b8f4a5b7b91fb68936129e90c971a1e02e
Merge "WIP PIE/Expanded Desktop QS Tile" into jb42
Merge "camera: Add support for sending raw commands" into jb42