Fix problem where PhoneWindowManager waits for keyguard to draw

This fixes a problem where PhoneWindowManager times out waiting
for keyguard to draw when it's disabled.  Instead, we pass a null
token back which allows PhoneWindowManager to continue.

Fixes bug 11190932

Change-Id: I041ea1d88dca681476d9477a3aab54559976b312

Conflicts:

	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
Proper security labeling of multi-user data directories.

This patch covers 2 cases. When an app is installed
and the resulting data directory is created for all
existing users. And when a new user is created and
all existing app data directories are created for
the new user.

Change-Id: Iaba7c40645bc7b6cc823d613da0c3782acf6ddd5
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Change when the SELinux relabel of /data/data occurs.

Perform the relabel of the /data/data/<pkg> directories
when the app is being scanned by the PMS. The impetus
for this change was that the data directories of forward
locked apps were receiving the wrong label during an
OTA. Because the PMS doesn't actually scan forward locked
apps til later in the boot process, the prior restorecon
call was actually applying the default label of
system_data_file for all such apps. By performing a
restorecon on each individual app as they are entered into
the PMS we can handle them correctly. This mechanism also
allows us to pass down the seinfo tag as part of the
restorecon call which drops our need to rely on the contents
of packages.list.

Change-Id: Ie440cba2c96f0907458086348197e1506d31c1b6
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
[2/2] Frameworks: Optional statusbar battery icons

    * Circle battery and circle battery percent (from CM <Sven Dawitz>)
    * Battery bar percent from Google
    * Quicksetting battery tile reflects status icon (from SlimROM <kufikugel>)

Part 2: packages_apps_Settings

Patch set 2: clean white spaces
Patch set 3: fix conflicts

Signed-off-by: Anu6is <curtis.mayers@gmail.com>

Patch set 4:
Kill whitespaces

Patch set 5:
Rename pa_attrs to attrs_custom

Patch set 6:
Change to AOKP.Settings

Patch Set 7:
Fix hiding of battery icon

Patch Set 8:
Move style to styles_custom.xml#

Signed-off-by: task650 <task650@gmail.com>

Change-Id: Idaa47cd9b91add14431eaa21906578a83d4ce104
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "[2/2] Frameworks: Optional statusbar battery icons" into kitkat
Merge commit 'c378ac41a94a78ba67cd4aaca01ccf51372a1ebf' into kitkat
(Merge "[2/2] Frameworks: Optional statusbar battery icons" into kitkat)