Remove dead code.

This hasn't been used since at least 2011, and we're no longer
shipping the data supporting it either.

Change-Id: Ibe42057650b49794c65d6f0d54ed7a492f3b594b
Fix to NullPointerException when activity is relaunched

When ChooseTypeAndAccountActivity is relaunched and resumed
by ActivityManager a call is made to onActivityResult without
first triggering onResume. This leads to mAccounts object
still being null.

Fixed by properly setting mAccounts object if it is null prior
to use after function onCreate has been called.

Change-Id: Ife7e1e052c473970d923fa43ee6189eb62a1113b
Custom lockscreen

Accessible via launcher wallpaper selector and
Settings - Display - Wallpaper - Lock screen

Change-Id: I2e4722d1a6d4ba80a3c656306ceb251d630a8e21
Fix indirect misuse of $(my-dir).

Change-Id: I20a98a8e1378da3a53e6a6d599c8fc0100f7f87a
Signed-off-by: houst0nn <houstonn@gmail.com>
Android Framework Base: DE translation

PS1: translate into German
PS2: fix w -> wischen
PS3: fix Smartphone -> Telefon (like in AOSP)

Change-Id: I102c378c68a9ec06813adac7fc16e4f12b9a52e4
Signed-off-by: Matthias Freund <matthias88freund@gmail.com>
Catalan translation correction

The word "despleguàs" does not exist in Catalan.

Change-Id: Ic789662d63a3c5c59e519b5c6711d4381d94ddc2
Service: Keep services needing restart.

Services needing restart after crash include:
1) service with 'persistent == true'
2) service explicitly reuqired restart by returning START_STICKY
   or START_REDELIVER_INTENT from onStartCommand

Change-Id: Idc490a1ceb1e151a3eb7f34b7b4cf8058a06f34a
Signed-off-by: Liangcai Li <liangcail@nvidia.com>

Conflicts:
	services/java/com/android/server/am/ActiveServices.java
czech translation
Immersive: Fix black bar in some games

Some games (FIFA14, Virtual Tennis, Rebuild etc.) show a black bar where the navigation bar used to be even in full immersive mode.
This fixes that.

Change-Id: Id7f8959da0496d95beaa21a567ef0f756b00a82d
Live Volume Steps [1/2]

-Volume steps changes are instant, no need to reboot!

Change-Id: I4b330e02349539bbd01964736e33864df4921f9d
Signed-off-by: STELIX <ssspinni@gmail.com>

Conflicts:
	media/java/android/media/AudioService.java
Don't let apps disable the SIM PIN entry screen.

As the user (who controls the app behaviour after all) likely doesn't
see the PIN screen as a lock screen (he likely wants telephony) and the
PIN screen is not shown on a timer-driven basis, it should be treated
specially.

Change-Id: I8d48ab5f097bc926f67eab5835d9b5f1e581db15
Don't recreate keyguard for MCC/MNC changes.

Change-Id: I9e5dfdb12df522dc7dd50c26f35aba26b1bbe44e
PhoneStatusBar: Use an inline observer instead of a class for battery style.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Guidelines cleanup for some immersive stuffs.

PS2: Also fix a logic derp when calculating display size.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Iec47fcd47b0ae93e404ff146c9cdbcfd8cbd0007
SystemUI: Set Status bar opaque during drawer pulldown on tablets only

The status bar only needs to be set as opaque when the notification
drawer is pulled down on 600dp and 720dp devices. On phones, this
is unnecessary as the top header of the drawer covers the status
bar on the phone UI. This change makes a huge difference in
reponsiveness on devices that run the phone UI as there is no
longer a delay before the drawer appears when interacting with it
on an activity with transclucent window decor.

Patch Set 3: Fix formatting, adjust comment
Patch Set 5: Delete file derp

Change-Id: I932bb92a5245f0323d3317776efbdc9151db449d
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Tethering: fix NPE when retrieving active interfaces

When in airplane mode getActiveNetworkInfo() may return null.

Change-Id: Icba37abb51b9378c8af73d9f6587e04c588dd85e
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
PackageManager: Fix reconnection logic in Installer.

Change-Id: Id4b352647ed51aaf64bb85dff9030a25e295758f
Merge "Service: Keep services needing restart." into kitkat
Merge remote-tracking branch 'PA/kitkat' into kitkat-remix

Conflicts:
	services/java/com/android/server/am/ActiveServices.java
Merge "PhoneStatusBar: Use an inline observer instead of a class for battery style." into kitkat