137349 Commits

Author SHA1 Message Date
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
Jorim Jaggi
6d7a25f317 Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev 2014-06-10 19:01:32 +00: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
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
Craig Mautner
df8e542a8a Merge "Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK" into lmp-preview-dev 2014-06-10 01:29:43 +00:00
Craig Mautner
f357c0ca51 Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK
Change definition of FLAG_ACTIVITY_NEW_DOCUMENT from
FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to
FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET alone.

Also add new documentLaunchMode of "never" to allow activity
writers to keep their activity from being launched in document mode.

Fixes bug 15468528.

Change-Id: Ied11adf97e85c5d3f99f4c0bbbb4a2905dcfb24e
2014-06-09 18:09:33 -07:00
Christopher Tate
d478a3a0d8 Merge "Switch framework to using new scheduled-work API" into lmp-preview-dev 2014-06-10 01:03:52 +00:00
Fabrice Di Meglio
5eba4c5697 Merge "Fix bug #14258811 Permissions icons are not visible in App info" into lmp-preview-dev 2014-06-10 01:00:45 +00:00
Fabrice Di Meglio
1e70acb9fc Fix bug #14258811 Permissions icons are not visible in App info
- add updated assets for Material Theme

Change-Id: Iaa1e5787e5245fa5cffe5a07eb612b62ce9573f7
2014-06-09 17:58:02 -07:00
Igor Murashkin
e1442204c1 camera2: Fix session-related CTS test failures
Bug: 15474402
Change-Id: I4ae86166b5ce99a854c754c8ac6d6c23c683b14a
2014-06-09 17:51:24 -07:00
Christopher Tate
115afdadb5 Switch framework to using new scheduled-work API
Also add the intended permission-use enforcement to said API.

Bug 14994893
Bug 14993295

Change-Id: I5a3ffd32d0702c68f4ef6da68f7fa6e9de674380
2014-06-09 17:49:50 -07:00
Matthew Williams
5553aeb2ae Merge "Add OnNetworkActive to TaskManager and simplify locking." into lmp-preview-dev 2014-06-10 00:24:05 +00:00
Matthew Williams
effacfa75b Add OnNetworkActive to TaskManager and simplify locking.
Bug: 14993295
Hooks up a ConnectivityManager.NetworkActiveListener.
    
Previously was using 3 locks where 1 would suffice,
negligible to no performance issues b/c most of the previous locks
were nested.

Added OnNetworkActiveListener so that the ConnectivityController can kick of
tasks when it knows that the network is active.

Fixed some bugs that stopped timecontroller from executing tasks.

Requesting a retry will not add a deadline to that task. However backed-off
tasks are run as soon as they are ready, subject to their constraints.

Added receiver to listen for package removal and user removal, which will
delete any outstanding jobs for that uid.

Change-Id: I4c4523af558b927f19b8a215878fcc7198abb93f
2014-06-09 17:18:11 -07:00
Jinsuk Kim
e44e754166 Merge "Tag HdmiControlService API classes with @hide/@SystemApi" into lmp-preview-dev 2014-06-10 00:11:20 +00:00
Jeff Sharkey
f8f69b899f Merge "Refactor directory API to "opening document tree."" into lmp-preview-dev 2014-06-10 00:10:28 +00:00
Xiaolei Wang
2641ab276c Merge "Add constants to Android TV On Device Search. Change-Id: I7b5780f8c4c0367d198607ad2780cf6ec6a96d3a" into lmp-preview-dev 2014-06-10 00:09:38 +00:00
Jeff Sharkey
b9fbb7290b Refactor directory API to "opening document tree."
Cleans up API so it consistently refers to opening or working with a
subtree of documents.  Also separates isChildDocument() support from
the concept of directory tree selection.

Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
2014-06-09 17:07:58 -07:00
Jinsuk Kim
66d1eb285b Tag HdmiControlService API classes with @hide/@SystemApi
Bug: 15516329, Bug: 15516710
Change-Id: Ie814513a642660b6c5fdc9e891ad1eec1b2d689b
2014-06-09 23:49:21 +00:00
Alan Viverette
5efab6c98c Merge "Optimize use of layers in ripple, update dialog styling" into lmp-preview-dev 2014-06-09 23:32:35 +00:00
Alan Viverette
fc9f55ae12 Merge "Use a weak reference to the ObjectAnimator target" into lmp-preview-dev 2014-06-09 22:58:13 +00:00
Xiaolei Wang
b2b2ac1287 Add constants to Android TV On Device Search.
Change-Id: I7b5780f8c4c0367d198607ad2780cf6ec6a96d3a
2014-06-09 15:07:17 -07:00
Doug Zongker
c302e4d32f hide RECOVERY permission from L preview -- DO NOT MERGE
Bug: 15516323
Change-Id: I16a6355f631523919607bd111e5ebfe16fa4506e
2014-06-09 15:04:38 -07:00
Jeff Brown
238fd930fc Add @SystemApi annotation to internal permissions. (DO NOT MERGE)
This is a first pass at annotating permissions that should not be
granted or used by to third-party apps but that may be required by
privileged system applications.  For this patch, the annotation was
only added to permissions that have a protection level of at least
system.  Signature-only permissions were left alone since they only
need to be visible to built-in components.

Change-Id: I189472028274c133793ad8e4068585c536dd7f38
2014-06-09 14:31:41 -07:00