Fix error when cpufreq is loaded at runtime

Change-Id: I4691bbfbb1a49b130ba4b9a0ed5ded3601e220fc
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
increase touch sensitivity

Change-Id: I77e6aeca3667808e630dc142a2e561d3ddddef80
remove some lag launching apps and improve scrolling

Change-Id: Ib10c11a1a3a798e57ddd31f550461b9ebd17bc38

Conflicts:
	core/java/android/widget/AbsListView.java
Optimized ALL OGG audio files for a 6.6MB savings!

Change-Id: I403b29674bd19fea113e9e5ab093ff1f56d11107

Conflicts:
	data/sounds/alarms/Cesium.ogg
remove debugging from bluetooth in frameworks/base

this can be re enabled for modifications to the bluetooth service later
but is incredibly verbose in logcat in the meantime.

Change-Id: I1afba404c4a1b149b5607a8a2a5eb842c5b749d4
remove duplicate sounds

Change-Id: I5286f18eaf56ba247c1917dd46ee5d8adda9c33e
Fix building after removing sound files

One day someone could eliminate redundant files by consolidating the ringtones and ringtones/ogg
libaudioeffect_jni GREF leak fix

- excessive jni reference in AudioEffects
- global references created during native setup are not deleted
- global references are dleted in setup failure and during native releases

Changeset 2:
    -fixed whitespace, and rebased on jb42

Change-Id: I3ff54cc3b0c5394e978421dad3a7a257551f776e
postpone sending scroll mesage to webcore thread

post a message to the UI thread instead, to send the scroll message later

Change-Id: Iaf234effb77f1d8c6a50c9c288c5e8c269b38e40
Another optimization of glyph cache uploads

Previously, cache textures were updated whenever mCurrentCacheTexuture was changed.
Since updating cache textures needs glTexSubImage2D call, frequent changing
of mCurrentCacheTexture (which can easily happen when an app uses lots of unique glyphs
even with precaching) caused many glTexSubImage2D calls and bad framerates.
This patch optimized isssueDrawCommand function. Consequently, changing mCurrentCacheTexture doesn't
cause glTexSubImage2D call any more and it will improve font rendering performance.

Change-Id: Id19d959fa0e69eeb2a39f83a57e311d7394586b2
Signed-off-by: Sangkyu Lee <geteuid@gmail.com>
selectable text in gtalk

Change-Id: I9fe3634dfdc64cb37ece7f431d12845c164d639b
Fix FindBugs issues

IntProperty: Infinite recursive loop
SQLiteSession: Null pointer dereference
UsbStoreActivity: Null pointer derefence
LocationManagerService: No relationship between generic parameter and method argument
ActivityManagerService: Call to equals() comparing different types
ChooseAccountTypeActivity: Possible null pointer dereference
RuimRecords: Possible null pointer derefence

Change-Id: I9d631c50c30eb98e32cca5a5085513b6904db676
ActionBar: Compute required items prior to optional items

When computing if a item should be shown in the action bar, required items need to be compute prior
to optional ones. Otherwise, in some cases (when the optional menu goes to the left of required
items then the algorithm could determine that optional has space to be shown and force the show of
required items, causing the required items to not be shown).
A concrete case is in the Email app. In the message_view_fragment_option.xml are defined 5 menus,
that when are all shown (xe: in Exchange mailbox account type) the bar is complete filled. But if
the overflow button is forced to be shown (the device has no permanent menu key) the overflow button
overlaps the older button, because space of 'ifRoom' items are wrong computed.

Discussion Change: http://review.cyanogenmod.com/#/c/22396/

+ aosp change https://android-review.googlesource.com/#/c/34700/
Prevent empty overflow popup when there are no overflow items. (jakewharton@gmail.com)

Change-Id: I6fc8e3e202d76f9704d7ec2383c7ee6f7b05ba76
Fix in-app buttons on gmail, etc.

Revert "ActionBar: Compute required items prior to optional items"

This reverts commit 986786913f4bfea72c85e53952914124ab25bb16.

Change-Id: Ifcbe9a1cb539d0459aa528814fe9aa7dacc34456
REVISIT: remove some lag launching apps and improve scrolling

    CHANGES:
        AbsListView:
            Clear cache when aborting previous fling
        Activity manager service:
            Reduce unnecessary locking in message handler
            Move a few locks relating to idle activities from inside
                a foor loop to outside. would rather hold until it's
                done than get stuck waiting for something else to release

    Change-Id: Ie59615bfad90e3d7acd4f95367248868497e172d
Make ActivityStack hacks more conservative with their mutual exclusion, as was before.

Change-Id: I30bc63337087e198701d3f89e44e80bb22e30f1e
Fix Launcher2 FC's

Made createBitmap not throw an exception when creating a 0x0 bitmap.
Now, it returns a 1x1 bitmap when called with width=0, height=0.

Change-Id: Ifbaee46b8b3ec23b9511c683aae388c2eca4b833
fix potential memory leak

use delete before return

Change-Id: I5449ad90bb6910f057bd825b722c9803a7343c34
Remove unnecessary locking for screen broadcasts.

The actual handling occurs in updateScreenOn() on the other side of a
handler, which acquires the lock correctly.

Change-Id: Ibd359446dba8e88f81d34f1e10a6b5e150348f89
Ensure running mTouchModeReset when AbsListView is detached

mTouchModeReset should be executed when AbsListView is detached from window.
If not, when the AbsListView is re-attaced to window,
the child can retain a pressed state.

You can see this problem easily when you double-touch an item of
option menu very quickly.

Change-Id: I5aaa1fd5b95847efb2f5f1b5ec7cabe8eb85b237
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>