Improve lockscreen icon logic

Should never cause bootloops now

Signed-off-by: Roman Birg <romanbirg@gmail.com>
Fix battery bar not showing up and showing incorrect readings

Signed-off-by: Roman Birg <romanbirg@gmail.com>
Fix custom NavBar showing in landscape lockscreen

Signed-off-by: Mike Wilson <mwilson@acesappraisal.com>
Only turn off torch if it's on

This way it will remove the callback at all times,
so Torch won't turn on if the user releases the
button before longpresstimeout has been reached.
And it will call the off-intent for the Torch activity
only if it has _actually_ been started.

Change-Id: I232a4902cc41139dbed194f969878526cb7f6e44
Fix QuickUnlock not allowing passwords longer than 8 chars

Now, a false attempt is only triggered when a user erases some part of the password.
This should not harm security but allows passwords that are longer.

Patch Set 2: Always update passwordLength, not only after minimal length

Before it could happen a user clicks on "OK", the password gets erased (because
it is obviously wrong or the phone would havebeen unlocked), but when reaching
MINIMUM_PASSWORD_LENGTH_BEFORE_REPORT a false try would have been triggered.

Change-Id: I85f3a23a2d8c88df5eb0b064e22cc2198ffda2e5
Signed-off-by: Markus <markus.doits@googlemail.com>

Conflicts:

	policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
Allow Tablets to use Hide NavBar/Statusbar feature

(needs ROMControl commit too)

p2: rebase
p3: fix whitespace
p4: more whitespace fix

Signed-off-by: Mike Wilson <mwilson@acesappraisal.com>

Change-Id: Ie952a5837522380e7960a215d89dc78899527824
Add Option To Hide Signalbars
initial navbar for tablets - not ready to merge

Navbar Buttons for Tablets
Buttons now work properly and obey lightsout and visibility.
There are a couple of visual tweaks still needed:
1) lightsout shows 3 dots .. regardless of number of buttons
2) background glow is a little large/wide when in portrait.
3) potential problem if user doesn't have a menu button, and
   it's actually needed.

Try to add a temporary menu button when needed.
honor orientation when setting up nav buttons.

Signed-off-by: Mike Wilson <mwilson@acesappraisal.com>

Change-Id: I8bd40ea068d19675666781fe452b3140ff76aae6
bring back rotation delay customization

Change-Id: Iffbb6044fc2759e2a908bcef11048c32cb04b217
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:

	core/java/android/view/WindowOrientationListener.java
Make sure CenterClock can access all of Clock's methods

Could be causing clock-freezing issues. Either way it should be like this.

Change-Id: Id76ce6718ac95917a91f4b0acc30316ed1404ccf
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Navbar: add glow color customization

Change-Id: I7b86cbead3d1df390cea29be045253a7268e8eac
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java
Fix imports

Change-Id: I0c4dbbe2f2c485f40151947f5b3c676d6fbc08a6
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Add support for Caller Name Display

Copied relevant parts from CdmaConnection.java to get the information
as/if presented by network operator (Fido/Rogers in canada provide that
information, and it get displayed if there's no match in phonebook).

Change-Id: I95d90c96324502c217da84be2c5c3cd46c1c0c0f
Allow change text size adjustment of statusbar.

Change-Id: Idc35c167564432059a1c323ebcbe420c5624aa49

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java