Recover apps with malformed certificates.

There was a window of time in Lollipop where we persisted certificates
after they had passed through a decode/encode cycle.  The well-written
OpenSSL library was liberal when decoding (allowing slightly malformed
certs to be parsed), but then strict when encoding, giving us
different bytes for effectively the same certificate.

A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b)
now returns the original bytes verbatim, fixing both pre-Lollipop
installs and installs after that change.

This change recovers any apps that had been installed during the
window of time described above by doing a one-time check to see if
the certs are effectively equal.

Bug: 18228011
Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d
Speed Animations up a bit

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Frameworks: Speed up orientation rotation

Change-Id: Iac876ad479f368088113c4355b70727b33ed4ba8
Signed-off-by: Arnav Gosain <nolinuxnoparty@gmail.com>
Signed-off-by: pcarenza <pcarenza@gmail.com>
Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Speed Up Windows Orientation

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
aapt: silence these warnings

to show them, set SHOW_MANIFEST_WARNING

Change-Id: I8fd3617e03ca535df1ae0ebdb3dde3a67eb2737b
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
bless python versions newer than 2.6

Change-Id: Ic4bfb857586f1fd4aa9cfddf5984341a89b0cd4a
Signed-off-by: Li Li <lli5@nvidia.com>
Reviewed-on: http://git-master/r/347711
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Enable Non Market Apps/Disable Package Verifier

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Delete Media Tests

*Waste of space

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Remove These Accidentally added files

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Turn off some debugs

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
SettingsProvider: Update icon.

Change-Id: I9e1b540e0268643371dd95593eaefa63d4a1827d
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Camera: Don't throw exceptions when value pairs have spaces in them

"(1,2)" worked, "(1, 2)" crapped out. Fix it.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Audio: Fix title of system ringtone contains messy meta

Title in the Meta information of Bootest.ogg contains
junk characters which is displayed in Settings->Sound-
>Phone ringtones.

Correct the binary file to solve this issue.

Change-Id: I91c0519bb55ee5e74f783b0c147acbde641f6502
CRs-Fixed: 569976
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Duplicate sounds file names are displayed in notification list

There are few duplicate notification sound files present in
/data/sounds/notifications & data/sounds/notifications/ogg.
- arcturus.ogg
- vega.ogg

Maintain sound files only under /data/sounds/notifications/ogg.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
        data/sounds/AllAudio.mk

Change-Id: Ibe347ed03d19a1ce4cb13c1bce1e4bbc26cb61be
CRs-fixed: 630101
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Increase Touch Sensitivity

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Suppress String resources build warnings

warnings suppressed are:
aapt: warning: **** string '%s' has no default or required localization for
aapt: warning: string '%s' has no default translation in

Patch Set 2: move ifdef and only suppress warnings for packages that
             define NO_DEFAULT_TRANSLATION_WARNINGS and/or
             NO_LOCALIZATION_WARNING

Patch Set 3: by default do not show warnings unless
             SHOW_DEFAULT_TRANSLATION_WARNINGS and/or
             SHOW_LOCALIZATION_WARNINGS

Change-Id: I50ef2a623959a1cc53053b446328df8e34cc99e8
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
screenshot: quick delete action

Add option to delete screenshot from notification

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
SystemUI: Add global reboot option

Add global reboot option when long press power key and confirmation dialog
when user chooses to reboot device.

Change-Id: I23286cb655a4fead8dfc450f08f27d9588e47686
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	core/res/res/values/symbols.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Derp

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Dialer lookup

Squashed commit of the following:

commit 780211109f80d07b11d7a0261544b1a0fed10ea0
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Mar 7 17:11:02 2014 -0500

    Add people lookup settings keys.

    Change-Id: I2ff9bb7684d04f4f9b640939c7db269873aa3308

commit 0e5ed5ac782c2ee253179a03a2c5842ad3de6831
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Jan 31 11:43:10 2014 -0500

    Frameworks: Add settings keys for forward and reverse phone number
    lookup

    Change-Id: I1c4c7825b4361b7a52dd419f83afd7b9fcbe1494

commit 3cd778a712234332f327d7e63050c216f21515ac
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Sat Apr 12 15:26:29 2014 -0400

    Add OpenCnam paid account settings keys

    Change-Id: I895b5f2b2a8a8de568e5aa1cea5d66ba490985fc

Change-Id: I68e4214e813695021b64c29ab1d831a944a6275a
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Treat default value that wasn't found as empty value.

Fixes http://code.google.com/p/android/issues/detail?id=33220

Change-Id: If22e8b245f688d922c168aa54c8acf743c0644d7
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>