137368 Commits

Author SHA1 Message Date
Dianne Hackborn
14272302a8 Implement control of auto power save mode.
Follow the setting for auto power save mode in both
battery service and battery UI.  Default level is 15 when
setting is not set; otherwise it is whatever the setting
gives, with 0 meaning auto battery save is off.

Change how we define the "turn off warn" level to be
an adjustment from the warn level, so we can have a good
value for whatever auto setting is set.

Fix power manager to never go in to power save mode when
plugged in, even if the user has manually turned it on.

Add new delete option to settings command, because I needed
it for testing.

Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
2014-06-11 10:34:26 -07:00
Matthew Williams
95981dc8ad Merge "Fix battery controller non-fire bug" into lmp-preview-dev 2014-06-10 22:06:31 +00:00
Matthew Williams
759275d9da Fix battery controller non-fire bug
Receiver wasn't registered to listen for the action coming
back from the Alarm Manager.
Also, if a task starts being tracked by the battery controller
and the device is on power, the batt. controller will notify
the scheduler as such.
Added dumpsys for battery controller to help debugging.
Change-Id: I7ce305b816aea69e8d05a3daf23124c163546788
2014-06-10 16:13:06 -07:00
Matthew Williams
46919f3583 Fix build.
Two tests were breaking the build.

Change-Id: If424a552d3fedb912fa94870b88c60dc3750b69a
2014-06-10 16:11:08 -07:00
Christopher Tate
488662c570 Merge "Fix build" into lmp-preview-dev 2014-06-10 21:44:22 +00:00
Christopher Tate
b7b70f0f99 Fix build
Change-Id: I339f7f1ab82af699ee34c3baf824d0278477a4cf
2014-06-10 15:20:49 -07:00
Winson Chung
6f6f273df6 Merge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev 2014-06-10 22:00:10 +00:00
Christopher Tate
e9ed3707b2 Merge "Out with the old; in with the new" into lmp-preview-dev 2014-06-10 21:27:54 +00:00
Jose Lima
583b6f782c Merge "Make convertToTranslucent a public method in Activity" into lmp-preview-dev 2014-06-10 21:25:11 +00:00
John Spurlock
6ab89e28cd Merge "Saver: Shared resource update and new settings." into lmp-preview-dev 2014-06-10 21:22:41 +00:00
Jorim Jaggi
ce3d6c4c02 Merge "DO NOT MERGE: Fix paddings for user switch and status bar icons." into lmp-preview-dev 2014-06-10 21:21:32 +00:00
Jose Lima
5517ea78eb Make convertToTranslucent a public method in Activity
- Changed the access level for convertToTranslucent in Activity
   to public.
   - Still keeping convertToTranslucent as a hidden method.

Bug: 15492979
Change-Id: I7d013541e8ed7708ce208cd4cf5d1c1d20d50e50
2014-06-10 13:40:09 -07:00
Jorim Jaggi
80f5e3c08d DO NOT MERGE: Fix paddings for user switch and status bar icons.
Paddings approved by allysont@ for preview build.

Bug: 15540707
Change-Id: If7288d032b9625e0fbb5b657afcf680d178e63ee
2014-06-10 20:31:58 +00:00
Alan Viverette
eb29d330c3 Merge "Change ripple tint to color, remove tintMode" into lmp-preview-dev 2014-06-10 20:14:30 +00:00
Jorim Jaggi
598622df8c Merge "Do not override mColor with default color if none set" into lmp-preview-dev 2014-06-10 20:03:23 +00:00
Winson Chung
b13c46e8b7 Updating Recents to make the cards slightly more visible.
Change-Id: I876d39f4aac4007a3fe0c509ccb7db130f27a737
2014-06-10 12:56:24 -07:00
Christopher Tate
7060b04f6d Out with the old; in with the new
Switch to the official "JobScheduler" etc naming.

Bug 14997851

Change-Id: I73a61aaa9af0740c114d08188bd97c52f3ac86b7
2014-06-10 12:51:55 -07:00
John Spurlock
f8f524c80c Saver: Shared resource update and new settings.
Bug:13329308
Change-Id: I9e38f69273a361a8dbd2cdb2385788bd0cdcde38
2014-06-10 15:37:47 -04:00
Jorim Jaggi
6d7a25f317 Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev 2014-06-10 19:01:32 +00:00
Jorim Jaggi
7441931462 Do not override mColor with default color if none set
Bug: 15163105
Change-Id: Ibb9507b24aeaae7a571d42eb411aff25449d48fe
2014-06-10 20:57:21 +02:00
Adrian Roos
88427b0c01 Merge "Fix broken tablet layout of QS on lockscreen" into lmp-preview-dev 2014-06-10 18:32:21 +00:00
Alan Viverette
a4eab42fe4 Change ripple tint to color, remove tintMode
Also fixes double ripple on list preferences, missing ripple on up
button, and adds the Toolbar style to public. Further improves
ripple performance.

BUG: 15523923
BUG: 15473856
Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774
2014-06-10 11:00:25 -07:00
Adrian Roos
13dee43e6f Fix broken tablet layout of QS on lockscreen
Bug: 15536406
Change-Id: I6c075d0875cf78dff1938b5cfd49e6b1924bcc99
2014-06-10 19:43:13 +02:00
Doug Zongker
40e53cdc94 Merge "hide RECOVERY permission from L preview -- DO NOT MERGE" into lmp-preview-dev 2014-06-10 17:38:20 +00:00
Selim Cinek
554f5406f3 Merge "Fixed several bugs with redaction." into lmp-preview-dev 2014-06-10 17:33:44 +00:00
Selim Cinek
429b1ab5cb Merge "Fixed an issue where holes in the notification shade could appear." into lmp-preview-dev 2014-06-10 17:33:21 +00:00
Jorim Jaggi
36b15237a6 Fix black background for auto-redacted legacy notifications
Also removes the wrongly implemented Froyo compatibility mode, as now
all the notifications are light and the background is provided by us,
it's again like in Froyo-world! :-)

Bug: 15295371
Bug: 14105711
Change-Id: Icbae15e690494465b0e63935d81d59edfa05e76e
2014-06-10 19:24:42 +02:00
Jessica Hummel
096fc544af Merge "Add different resolutions of afw icons" into lmp-preview-dev 2014-06-10 16:56:41 +00:00
Jessica Hummel
ae87d9eede Merge "Updating the pictures and labels for cross-profile intents." into lmp-preview-dev 2014-06-10 16:56:27 +00:00
Selim Cinek
295609a9a5 Merge "Delayed the highlighting of the statusbar header on drag down." into lmp-preview-dev 2014-06-10 16:44:39 +00:00
Selim Cinek
32b5f7a0e8 Merge "Added card elevation when card is clicked on the lockscreen" into lmp-preview-dev 2014-06-10 16:41:02 +00:00
Jessica Hummel
b19fd00c51 Add different resolutions of afw icons
Also update the name of the icon so that it is consistent with other namings in the framework and in managed provisioning.

bug: 15538051 
Change-Id: I9e8e680eb1c654d9f5d94ce27775687b3dc92a22
2014-06-10 16:14:58 +00:00
Nicolas Prevot
e4e95a0a3b Updating the pictures and labels for cross-profile intents.
bug:15538051 
Change-Id: Ib95e36acd31d08fed04927be90e8322e806286ab
(cherry picked from commit c4752a313e137630a8cb84581767bb96d3010376)
2014-06-10 16:13:59 +00:00
Matthew Williams
c2c1a39510 Merge "Remove SyncRequest.setPriority from public API" into lmp-preview-dev 2014-06-10 15:50:11 +00:00
Selim Cinek
2f0df8ae03 Fixed several bugs with redaction.
The Notification row was in most cases directly referring to
the private layout which lead to numerous bugs.

Bug: 15107339
Bug: 15536865
Bug: 15181880
Change-Id: Id1021eb853d67db168c9471d7dacbe5265c4ba2f
2014-06-10 17:40:42 +02:00
Baligh Uddin
6af88cc76f Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-10 15:37:56 +00:00
Santos Cordon
ece0270d99 Merge "Support conference calling. (1/4) [DO NOT MERGE]" into lmp-preview-dev 2014-06-10 15:34:30 +00:00
Baligh Uddin
342c0d0a94 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-10 15:29:10 +00:00
Baligh Uddin
6584375afd Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-10 15:28:25 +00:00
Selim Cinek
7d447726e2 Fixed an issue where holes in the notification shade could appear.
When redaction was turned on, holes could appear.

Bug: 15107339
Change-Id: I8c2830caaa78f03c8ccada1a7160f73c906365d7
2014-06-10 16:03:46 +02:00
Selim Cinek
c0ce82daa4 Delayed the highlighting of the statusbar header on drag down.
Also delayed the highlighing of buttons inside notifications.

Bug: 15184882
Change-Id: Ic3af7ec7c41232ac7f8ecfa4700659b1ca293894
2014-06-10 14:00:42 +02:00
Adam Connors
8f70744221 DO NOT MERGE : Allow system process to call getApplicationBlockedAsUser
MDMs in the managed profile needs to be able to call
DPM.isApplicationBlocked without the INTERACT_ACROSS_USERS
permission. DevicePolicyManager checks for appropriate
PROFILE_OWNER permission and then removes callerId, so this
change is needed to prevent a spurious security exception.

Bug: 14400206
Change-Id: Idd1bda6bb234f6cb7cb78a885ae2d7cc5cca4890
(cherry picked from commit c11c67b3e117b4fec3245f87b6d510461c1f8323)
2014-06-10 11:39:31 +00:00
Adam Connors
ac383e52a9 DO NOT MERGE : Api review: Make ACTION_MANAGED_PROFILE_REMOVED registered only.
And update the javadoc to explain use-case.

Bug: 15025562
Change-Id: I8eb2666c8480f873e042687223b1a1f82e7919c9
2014-06-10 10:24:14 +00:00
Selim Cinek
b89de4ec49 Added card elevation when card is clicked on the lockscreen
Bug: 15381356
Bug: 15181880
Change-Id: I2dd08b80d2c6b7710d2772c8880b32ab23ec42f9
2014-06-10 10:47:05 +02:00
Chris Craik
9a9d1d5ad2 Merge "Tessellate on worker threads" into lmp-preview-dev 2014-06-10 04:52:12 +00:00
Igor Murashkin
3721cbaf01 Merge "camera2: Fix session-related CTS test failures" into lmp-preview-dev 2014-06-10 04:02:28 +00:00
Matthew Williams
2368014073 Remove SyncRequest.setPriority from public API
Bug: 15517262
Change-Id: If62b6f3bf339011dd504889aa24c71a22cb08ed8
2014-06-09 20:18:25 -07:00
Adam Lesinski
cbb0213d81 DO NOT MERGE - Creating an empty package should be succesfull
Bug: 15473436
Change-Id: I788deb21a1298281c508429bab635aa713803984
(cherry picked from commit 807efa884ba01e0213667000a21908bfb04e8624)
2014-06-10 01:56:03 +00:00
Chris Craik
05f3d6e511 Tessellate on worker threads
Tessellate and cache (where possible) shadow and round rect
tessellation tasks.

Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40
2014-06-10 01:53:17 +00:00
Jeff Brown
465c5de4ee @hide ACCESS_INPUT_FLINGER permission.
Bug: 15516225
Change-Id: Ief70650d956a7161153e283c24f553fcfa7996b1
2014-06-10 01:43:14 +00:00