ClockActions: Dismiss Keyguard

Kanging SteveSpear's Brilliant
    dismissal method here.
    Doesn't require an activity
    as ...OnNextActivity() does.

PS2: TabletStatusBar.java as well

Change-Id: I2e9a3d8e42f2cd2a41f954026d0e38fe40c5da67
FavoriteToggle: DismissKeyguard

Small Fix

PS2: Another Small Fix (insta-swag)

Change-Id: I8c854ef63b111ed702a42746f5ed22893620e1b7
Framework: GlowPad Torch

LongPress GlowPad...Torch.
Release...No Torch.

Magical Unicorn Dust Not Included
With Your Purchase

>>>>>>>>>>>>>>>>
checkTorch required for RARE torches not being released.
>>>>>>>>>>>>>>>>

Change-Id: I1e5178822efb10f205d30d059af78ebeba6f39a7
Fix unresponsive statusbar area.
Pie: Add option to change pie's angle from the attach 2/2
Pie: let Chevron adapt itself from pie's angle.
>
> This make Chevron able to recreate the battery bar when the angle changes.
Pie: set angle default to 12° (1/2)
Pie: Fix and easy recalculation for Chevron and Pie
Pie: updates (2/2)
-pie angle: fixes, cleaning and new value (Huge)
-pie size defaults
-strings updates
Pie: set Big as default for item gap (2/2)

Screen: http://goo.gl/aocZ7
FW: Menu Overflow Disable - Different Implementation

Original method I used to enable the menu overflow disable option incorrectly disabled the menu overflow altogether for some devices due to a late night derp.

This implementation of the check to confirm if the menu overflow has been disabled through ROMControl should hopefully correct this issue.

Change-Id: I673b298da03838a29004815eee35c63afb74ffbb
Fix date line for koreans

e.g)

MON  TUES  FRI

DAY, DAY,  DAY

Change-Id: I8622c03084029f8a0827fea5614ebee44c062516
audio: Add overlay to fix analog docks.

Of particular interest to devices using libhardware_legacy and
affected by commit 5a484b753cc72d6a50c1dd3bbf68b3403c741a3a: http://goo.gl/rVR1Z
which restricted the routing of AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET
to docks using FORCE_ANALOG_DOCK cases. The EXTRA_DOCK_STATE_CAR case is
returning FORCE_BT_CAR_DOCK, preventing the dock audio from routing properly.

Add an overlay option for overriding to FORCE_ANALOG_DOCK.

Change-Id: Ib7d70c242aa6f537ea5d65098ceb2c591662d8bb
Fixing crash in PhoneNumberUtils getNumberFromIntent

Handling intent with no data when trying to retrieve number from
intent.

Change-Id: If7c5930e7048aec732fb7a3fbeb3391e1408b071
Reduce observers in SystemUI: BatteryBarController

This is based on the work by Jens Doll for the StatusBarIconView

The ContentObserver class will be a singleton, so there is only
one observer for all instances.

On my Nexus 10 it reduced the observer count from 15 to 3

Change-Id: Ibdd6fca75e5f0245b2897c9d5aebb5a0961cc351
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Reduce observers in SystemUI: KeyButtonView

This is based on the work by Jens Doll for the StatusBarIconView

The ContentObserver class will be a singleton, so there is only
one observer for all buttons.

On my Nexus 10 it reduced the observer count from 48 to 4.

Change-Id: I3223a18fcb5d2c9c2e7de655c514ff751dcd345d
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Reduce observers in SystemUI: StatusBarIconView

Currently, for each status bar icon view there is a observer that
listens for changes of STATUS_BAR_NOTIF_COUNT. With one
notification usually having one or more status bar icons
you may end up easily with 10+ more observers for ~5 notifications.

With this commit the internal observer class becomes a singleton.
This means there is now only one observer for all status bar icons
and additional binder calls on new notification are avoided.

See "dumpsys content"

Change-Id: I7ca6481fe43e87c34b19d7b71e531cce93cf80ef
Fix build

Temporary fix for now.
Adapt torch intent for Glowpad

Change intent for this feature as we do not use AOKP'S torch.
LockScreen: Fix crash when unlocking twice

This will keep track if the BroadCastReceiver is registered and
will unregister it only if so.

Change-Id: I040d710cf0927394f36b2e3da251ac5a988ce1d6
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>