Translucent overlays for on-the-go now include navbar and status bar

Change-Id: I01881e1aeef011cd57ae36286c6fd1be437f3042
Credit: Evisceration
Fix 'input rotationevent' sometimes not working issue

Observers exist for both Settings.System.USER_ROTATION and
Settings.System.ACCELEROMETER_ROTATION config values, and
updateSettings() may get wrong rotation status if these two values are
set separately. Use "mLock" to protect this situation and make sure they
are set together.

Change-Id: Ic89e6f14b45ee839c518e135096ae18d27f0a809
Signed-off-by: Carton He <carton.he@marvell.com>
Insufficient ProcessRecord cleanup when persistent process is killed

When persistent process with Service restarts, ActivityManagerService
does not reset ProcessRecord#hasClientActivites to false
(because ProcessRecord of persistent process is continued using
after killing).

It disturbs updating LRU list in ActivityManagerService, and then,
when new process calls ActivityManagerProxy#publishContentProviders,
SecurityException happens because of no entry in the list.

Bug: 13517358

Change-Id: I46b064f71a4f7025ade1bf117801352a7ab22e6a
Fix "Email" App data lost when screen rotated.

Bug Description:
1.Open "Email" App contained in AOSP.
2.Setup your email account if not.
3.Click "Compose" button on the left bottom.
4.In "To", enter more than 3 email addresses, like "test1@gmail.com,test2@gmail.com,test3@gmail.com,test4@gmail.com,test5@gmail".
5.Click "Subject" or "Compose email", and the "To" data will be shrank.It will be like "test1@gmail.com test2@gmail.com +3". The "+3" means there are 3 more addresses shrank.
6.Rotate screen, either from vertical to horizontal or from horizontal to vertical.
7.The "To" data is lost, it will be "test1@gmail.com test2@gmail +1".When you click to expand, there are only 3 addresses left.
Why and how to solve:
Data lost when screen rotated because RecipientEditTextView doesn't save data on orientation changed.
So, create a static class save the data when needed and restore later on.

Change-Id: I0c709cbb59515338aa903c611139aee727785670
Signed-off-by: Paul Quei <paulquei@gmail.com>
Fix Issue 59989

Case typo in documentation for <application> tag

Signed-off-by: Paul Quei <paulquei@gmail.com>

On the page http://developer.android.com/guide/topics/manifest/application-element.html,
in the "ATTRIBUTES" section,
the heading "android:allowbackup" should be
"android:allowBackup" (ie. upper case "B").

Change-Id: I7cab16729ea2ffc653bc449009ff983a05f6e867
Frameworks: Port lockscreen style options (1/2)

-  custom lockscreen handle image
-  lockscreen lock and handle color
-  glowpad dot color
-  widget frame color

Change-Id: I01c0984e195cf1bef6000140f2fb3a1e77241fdd

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
fix AwesomeConstants

Change-Id: Iaa3f12a1b473f6d3b7088863521436a7c3fdae11