137425 Commits

Author SHA1 Message Date
Christopher Tate
863d8af75a Hide the (obsolescent) android.app.maintenance APIs
Bug 14994893

Change-Id: If3c06de006504e81c37eb6b716d613e5124d28bc
2014-06-10 18:20:24 -07:00
Lorenzo Colitti
5592a725dd Merge "Don't enable Ethernet on the emulator." into lmp-preview-dev 2014-06-10 22:31:57 +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
Nicolas Prevot
eeaf164bea Merge "Correcting a bug related to Uri permissions." into lmp-preview-dev 2014-06-10 21:18:16 +00:00
Nicolas Prevot
f233a7b8b2 Correcting a bug related to Uri permissions.
Making sure that an app cannot hold a permission for a uri on another user.
We were allowing apps to hold permissions for a different user, which should not be the case for privacy reasons (an app could just access apps on another profile)

As a consequence some of the cross profile share intents were not working because a check for the permission returned true so we did not separately grant permissions for uris. Granting permission for uris is required for accessing the content providers across users.

BUG: 15559256

Change-Id: I70765eb659151ce0c5af06075a844143c09429e8
(cherry picked from commit e55e0a1741b9258af77e23e16aa95a6d9e6a5c6f)
2014-06-11 17:46:43 +00:00
John Reck
de233aec5a Merge "DO NOT MERGE Disable AtlasInitializer" into lmp-preview-dev 2014-06-10 21:55:02 +00:00
John Reck
c60676624c DO NOT MERGE Disable AtlasInitializer
Bug: 15425820

Change-Id: I15270eb7a5856523625e2de48ef9efc2520ddb0f
2014-06-11 15:53:53 +00:00
Dan Sandler
59c11b5dda Merge "NotificationListenerService: API updates" into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Christoph Studer
d0694b6735 NotificationListenerService: API updates
Introduce RankingMap holding single notification Rankings
indexed by SBN keys.

Also, pass RankingMap with notification event callbacks so
subclasses don't have to call getCurrentRanking() unnecessarily.

Bug: 15415840
Change-Id: Id41e174f00c06c86359c03646abc3db78028b324
2014-06-11 18:27:18 +02:00
Selim Cinek
bbd2909d52 Merge "Fixed a racecondition which could lead to invisible backgrounds" into lmp-preview-dev 2014-06-10 21:18:16 +00:00
Selim Cinek
a32ab60bb0 Fixed a racecondition which could lead to invisible backgrounds
Notification backgrounds could become invisible when doubletapping
a permanent notification.

Bug: 15545215
Change-Id: I799439a368701042b39ca47bcac6fcce281349a7
2014-06-11 15:46:59 +02: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
Ruben Brunk
d8c21e8bd0 DO NOT MERGE: camera2: Disallow shim usage for preview.
Bug: 15515564
Change-Id: I14ab73b130ee5355d9cc8b3602738022a5a18710
2014-06-10 19:45:43 +00: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
Chris Wren
a4ef620326 Only post interrupting notifications to the Heads Up.
Pop them out to the shade if they haven't been dismissed.
Centralize bookkeeping into HeadsUpNotificationView.

Bug: 13397541
Change-Id: I350478ed954309773cfdd6970d58b22df6d223bc
2014-06-10 14:25:49 -04: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
Lorenzo Colitti
beacf8d64c Don't enable Ethernet on the emulator.
Don't start the Ethernet service on the emulator because it
interferes with qemu's SLIRP emulation, which uses IPv4 over
eth0.

Bug: 15341003
Change-Id: I4041a17b19a4861cae4fbf47ab5e05b007385e19
2014-06-10 14:53:22 +09:00