add option to daydream on wireless charger (1/2)

Change-Id: Id2773a0ff6e2631ae67d1a61ca8155a55404e383
Signed-off-by: Roman Birg <romanbirg@gmail.com>
GlobalActions: Add null checks to onServiceStateChanged

can potentially cause a fatal NPE.

  Patch Set 7: Remove unnecessary dependency.

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I7943c2db663157296cf69e524a15fd71bf017496
Fix NavButton AlphaGlow when pressed

Note that since users can set the Navbar Alpha, this will be a relative
brightness. In AOSP the button brightens to 1f alpha when pressed (.7f is not pressed).
if user sets alpha to 1.0, then there will be no difference.

Change-Id: I3d2d863bd4ff0cc2be14718afe3a17d795b77729
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
LockPatternUtils: isSecure: respect profile settings

When the lock screen is set to secure and overridden to insecure
by profile settings, isSecure() would return true causing confusion
to some code.

For example, attempting to use a lockscreen shortcut
to launch an activity will cause the device to soft-reboot due to
recursive calling and a stack overflow.

Change-Id: I02984671c2a047765f4da1f6a44bb19dea5bf2d3
LockscreenTargets : Dismiss on target select

Only dismiss prior to activity launch for lockscreen shortcuts,
camera and appwidget picker remain untouched.

Change-Id: I2770c628ce0708570aa6ea0eac9e3cd1d82287fb
Revert "am: Allow more hidden apps on devices with lots of RAM"

 * This isn't actually needed on 4.2+

This reverts commit 03a420191d8063a8def901b1955b7c477185d62d.

Change-Id: I1c4ef3c9c00882bf2c36ad042c368bacc0f9220f
Tighten enforcement of file modes.

Bug: 8275867
Change-Id: I4da14f2dd0049aca69636999696c1f3c02b3b792
BATTERY ICONS:Add the missing battery icons to MDPI

Change-Id: I9dc60331b3210209c7ac4f65dc3c02ddea40958e
input: fix recents opening when waking the device with the home button without lockscreen

Port from ics
http://review.cyanogenmod.com/#/c/18584/

Change-Id: I354ace2a3b37bd336d2806b941f779538bc96c74
power: Add panel auto-brightness configuration

 * Some panel hardware requires that we twiddle some knobs in sysfs to
   enable proper display calibration (gamma, etc) when auto-brightness
   is enabled. Add a configuration value to handle this.

Change-Id: I3c793c3520fc6f9a18d5a3abf1fe0df803c5e580
PowerMenu : Profile entry fix

Always reinflate views
Jira : https://jira.cyanogenmod.org/browse/CYAN-1017

Change-Id: Ib348bb4c9a85b6433a86eeed1b0de9deff9d50bc
Kill Videos

Change-Id: If15d96542f99fd05f83926d00dfd8b76a943e8c5
input: added support for multiple keyevents

- Multiple keyevents can now be send from the command line:

    input keyevent <key code number or name> ...

  Sometimes invoking 'input' repeatedly does not send the events fast
  enough, this change solves the problem by allowing multiple key code
  number or names be added to the command line.

Change-Id: I0d0f34bddd99e0195c9badff2f8b3e2aa9a51737