Remove the fixed-length buffer in DdmHandleNativeHeap.getLeakInfo.

It was possible to overrun this buffer, and even if you did fill
the buffer in a single read and exit the loop, the "string" still
wouldn't be terminated.

Bug: 8468088
Change-Id: Ia19f4d26dfd79e7b63807a7ec9540b932163d246
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
Add back backlight brightness curve adjustment.

Change-Id: I1dbcc9a35b44abc077e2722a4e81eb1e83d463fa
Signed-off-by: kecinzer <kecinzer@gmail.com>
Fix: AUTO_TIME and AUTO_TIME_ZONE moved to Global google :p

Change-Id: I6a76e6fed0210d7dee21b17c94294b6cea9c28cc
Frameworks: airplane_mode_on moved to global google and CM :p

Change-Id: Ie7bcabe62190c2fe5ec520ccc1d6d04dad94c228

Conflicts:
	fmradio/java/com/stericsson/hardware/fm/FmReceiverService.java
	fmradio/java/com/stericsson/hardware/fm/FmTransmitterService.java
Frameworks: Fix brigthnessslider PW

overlay config_screenBrightnessDim is on jb4.2 completly
controlled over the Powermanager....no need any more for it
+ fixes weird jumping issues on some devices which added
 config_screenBrightnessDim value

cheers

Change-Id: Ia67115611489fca837070b27e8a85509e519cfda
FlingTracker can divide by zero and hang StatusBar in an infinite loop

if 2 events have the same timestamp then FlingTracker in PanelView will divide
by zero causing NaNs. the bug is usually triggered by rapid StatusBar up/down
dragging activity and updateCarrierLabelVisibility can then loop indefinitely
looking at NaNs. the user visible symptom is that StatusBar refuses to pull
down and is burning cpu time.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I0791c6bea953bf03346185fc6aaf44aaea79aace
Add Lock volume keys in silent mode [1/2]

Prevents silent mode from accidentally being unset by volume keys

Forward ported from GB

Change-Id: Ic1df89b8e10bc87f7e125441141a73a39aea1474

Conflicts:
	core/java/android/provider/Settings.java
	media/java/android/media/AudioManager.java
Frameworks: fix volume button swap for tablets (1/2)

Change-Id: Ia2f3afb0fbc80d2a669d8ea9c0ed896352d794bf

Conflicts:
	media/java/android/media/AudioManager.java
Frameworks: TRDS new qualifier push up qualifier number (1/2)

Hey guys,

after this feature is working really well and a lot roms kanged
it we got a hint to change one thing which is indeed a good
idea to have less problems on AOSP updates and tools like
Apktool can provide us better without doing major changes every
AOSP update.

We pushed the number up to 69.....should be enough for
next years.

Please note for the one who are using our gapps at the moment
this will break actuall gapps till we published the new one
which will be end this week as usual.

After that we will begin to publish the apktool after we had
now enough tests....and who knows maybe the "official" Apktool
will provide us all now. So all in all a good time to change
the qualifier now before it is getting more and more
popular (we saw that first themes are providing us)

cheers

Lars

Change-Id: Ie1aeab38420cb825f6f7c1d0a5220a8bb55fc4c3
Revert "Revert "Frameworks: Support advanced lockscreen shortcuts""

This reverts commit 44f81d21910cee6d5c001d956fa09bafbca3a4ca.
Set max hidden apps on devices with 1.5gb or higher to 40

This is a potential causer of lag for people who have a ton of apps.
Revert "Fix for truncated sentence in "Find on Page" field"

This reverts commit 22f32145835f0c5945a028d8a6da09470d6a5447.
Revert all of the fixes from the 22nd..

We know that on 23rd lag was introduced to our ecosystem, a lot of these commits are nonessential
so we are discarding them until we can find the culprit. If you stand behind any of these commits
then test them locally and narrow down which one(s) caused the lag.

Revert "show SELECT ALL icon with text in landscape mode"

This reverts commit b3ffd99bbf7b3240cd9395b50e172e4410cbc10f.

Revert "Decrease lag generated by autorotation on"

This commit very well could have generated lag...reverting

This reverts commit 47f58dcc33f98dc897ccd6229d20fd82ddf94c70.

Revert "Sensors could be disabled by any application"

This reverts commit 063bce2e89f6c330e62e589081790d5cd2203d90.

Revert "Make transactGetSockaddr locale safe"

This reverts commit 0a5c0ce350a5aa3db6106c27056895884fd84633.

Revert "Ensure running mTouchModeReset when AbsListView is detached"

This reverts commit 1e90714839127cd66b26e3244af5a5cf3d2c8dfb.

Revert "Fix ViewRootImpl to find missing focus using D-pad."

This reverts commit 2997b703fe8eebe5b5bd43c4cc247dbcda0d943d.

Revert "GlobalActions: Add null checks to onServiceStateChanged"

This reverts commit b23bb7c953364b74adc6d3d86210add5c7f93769.

Revert "Handle nested folder case"

This reverts commit 2e3e0c3a493aec4bea60d4195a4290e1bd08001b.

Revert "Fix NullpointException problem in onMenuItemSelected"

This reverts commit 87c6077b34c9f968e2ee987f0c533e488463c50f.

Revert "Fix EventLog string class problem in onOptionMenuSelected"

This reverts commit be953eadf6e1a16665e843cc973fecc67be08a6f.
Revert "Fix spurious ANR occurence when MOTION batch event is not served by the InputTransporter"

This reverts commit 010554456d453793f12129d57a9b5d8f63a82a18.
Revert "Two REMOVE_PROVIDER messages caused by race condition."

This reverts commit 76bbc72a701d4003590b23dad12e99b98be8b234.
Setting max hidden apps to 55 

Now that we know this is not the culprit of the lag lets use a value that is in a *sweet spot* between 40 and 60 leaning towards 60. (as steve K said all of this shit is arbitrary but In my testing 60 runs great)
Pie updates

This seems to have fixed issues where Pie controls show underneath the Quicksettings pulldown
and when its invisible but still functions, at least in my testing
Merge branch 'jb2' of github.com:CarbonDev/android_frameworks_base into jb2
Now that weve found the needle, heres the hay!