Commit Graph

4243 Commits

Author SHA1 Message Date
Nicolas Prevot
53947a2fdb am be07b13b: am 2809d68d: am 4bb6ae67: Merge "Fixing a NullPointerException in isProfileOwnerApp." into lmp-dev
* commit 'be07b13b7d8590693bc6038bea35b033521ac6af':
  Fixing a NullPointerException in isProfileOwnerApp.
2014-07-30 16:53:50 +00:00
Christoph Studer
21aedc86c2 am e9256065: am 3b4e3f86: am 64130a59: Notification: Forward setUser() call to publicVersion
* commit 'e92560655358d24273e1bffb238ba675c0ea6e07':
  Notification: Forward setUser() call to publicVersion
2014-07-30 16:53:38 +00:00
Adrian Roos
dd1c74b4e7 am ced134ad: am f4f27378: am 33d3756f: Add setManagingTrust and expose it on lockscreen
* commit 'ced134adf760e328d8459cfb38d1844868e4659f':
  Add setManagingTrust and expose it on lockscreen
2014-07-30 16:53:30 +00:00
Jae Seo
9e96af9848 am a6377bb1: am 4c61c0a4: am ec7accc2: TIF: Merge TvParentalControlManager into TvInputManager
* commit 'a6377bb178192f54a761325ff951a59cacd1d6e6':
  TIF: Merge TvParentalControlManager into TvInputManager
2014-07-30 16:53:00 +00:00
Alan Viverette
df01dd1612 am 8c027029: am d34d495f: am de583846: Merge "Enable hardware rendering for system process" into lmp-dev
* commit '8c027029580845b730bb82887841b465bb5d7c94':
  Enable hardware rendering for system process
2014-07-30 16:52:27 +00:00
Amith Yamasani
e2013c5dc7 am f77c4da3: am 8d072bf2: am e257f1ee: Set profile owner via an intent
* commit 'f77c4da31c808ac48eb4dc96c8f9283ac159e496':
  Set profile owner via an intent
2014-07-30 16:51:54 +00:00
Christoph Studer
fd19326c6b Notification: Forward setUser() call to publicVersion
Change-Id: I82715d69664fcbf57ca0599994004a8630f8587c
2014-07-30 13:16:57 +00:00
Adrian Roos
7861c663fd Add setManagingTrust and expose it on lockscreen
Adds a facility for trust agents to indicate if they
are ready to manage trust. Also adds an indication to
the lock icon on the lockscreen to show whether trust is
being managed.

Bug: 15518469
Bug: 16123013

Change-Id: Ie17f588aebeafe66c81dea4a69c733b0d2c72fd4
2014-07-30 12:33:33 +00:00
Jae Seo
783645e99f TIF: Merge TvParentalControlManager into TvInputManager
This change addresses the following API council feedback.

TvParentalControlManager:
-- Replace the listener interface with a broadcast Intent with well-known
   action, something like ACTION_BLOCKED_RATINGS_CHANGED.
-- TvParentalControlManager goes away, and two remaining methods move to
   TvInputManager.

== Implementation changes ==
-- The user-selected rating preferences should be stored in an XML file, and
   loaded at boot by your internal system service.  It should _not_ be stored in
   a Secure/Global setting.

Bug: 16542165
Change-Id: I278df963576652ec9163a66c1ef99419fcdb36c2
2014-07-30 15:39:39 +09:00
Amith Yamasani
bf3a946548 Set profile owner via an intent
priv apps can request to become a profile owner after setup has
completed. This will pop up a consent dialog (in Settings).

Also, clean up profile owner concept to be a component name.

Change-Id: I5e8532866e8018f61836c4e84fbbadb6150218ae
2014-07-29 23:43:32 +00:00
Alan Viverette
5e1565ead6 Enable hardware rendering for system process
Also enables hardware rendering by default on windows created
without a parent activity (e.g. by services).

BUG: 16240470
Change-Id: I906d48cb07af50fa02dae4f4ecdb5e65211fc6ef
2014-07-29 23:56:52 +00:00
Adrian Roos
489d2dfc29 Fix checkbuild
Change-Id: I9c3de31af792863b93a29ef81b50e2149b0a2184
2014-07-29 20:30:50 +00:00
Alan Viverette
4d193bdbe7 Merge "Clean up TimePicker and DatePicker styling" into lmp-dev 2014-07-28 22:45:16 +00:00
Alan Viverette
60727e07c6 Clean up TimePicker and DatePicker styling
Removes the time and date picker specific themes and defaults their
theme attributes to use the alert dialog theme attribute's value.

BUG: 14973897
Change-Id: Id5cc74ea0c1a379fc1ee76b354a1bb5ba329585a
2014-07-29 12:49:50 -07:00
Dake Gu
09d9c3be8a Transition: Don't suppressLayout(false) for returning activity
Change-Id: I7be8a779ab8996809b36baa107acd55ab872580c
2014-07-29 11:34:35 -07:00
Matthew Williams
ee410da42b remove possible JobScheduler race in cancel()
Client can jobFinished() before getting a cancel msg.
1) Do better clean up of JobServiceContext after client jobFinished()
to remove superfluous MSG_CANCELs
2) When processing MSG_CANCEL check whether the context is still active
3) Do JobServiceContext cleanup before calling back to JobSchedulerService
Client can get a cancel msg even after calling jobFinished() (opposite to above)
1) explicitly check whether there are any MSG_CALLBACKs in the queue before
processing a MSG_CANCEL. If there are we can throw away the cancel.

Bug: 16547638
Change-Id: I90644586c7895a9ce97de752a5d657faf7f74b78
2014-07-29 11:11:41 -07:00
Jason Monk
9a090e6ded Merge "Fix incorrect Activity#startLockTask doc" into lmp-dev 2014-07-25 23:00:08 +00:00
Jason Monk
8863b57e89 Fix incorrect Activity#startLockTask doc
It referenced a swipe down gesture that doesn't exist.  This should
be more safe, and cover other devices as well.

Bug: 16626273
Change-Id: I907b25a00d903f9f36ca335d3a75c1f8f931d50e
2014-07-29 13:49:32 -04:00
Bernhard Bauer
6bd165d0eb Add a method to DevicePolicyManager to register a private key access listener.
BUG=15065444

Change-Id: I6ae8afa4f3514c0cace76d9cc0912287e90a79d5
2014-07-30 17:12:10 +01:00
Adrian Roos
d06d87aa5f am 1bc3511a: am ecd63d4e: am b64bbc56: Fix checkbuild
* commit '1bc3511a636118b4b5573bd186d920f0ce540816':
  Fix checkbuild
2014-07-29 20:43:22 +00:00
Alan Viverette
e583961a54 am 87db1d21: am b05e3134: am 9bbfa2a3: Merge "Clean up TimePicker and DatePicker styling" into lmp-dev
* commit '87db1d219ce8f96511a11d780f7235fc718394a4':
  Clean up TimePicker and DatePicker styling
2014-07-29 20:23:26 +00:00
Dake Gu
ed161f68e1 am 8d208dde: am 2b6e7e1a: am ebf01ef4: Merge "Transition: Don\'t suppressLayout(false) for returning activity" into lmp-dev
* commit '8d208dde1a0dc187a4c7d9191aeb3cfd7bc6a45a':
  Transition: Don't suppressLayout(false) for returning activity
2014-07-29 20:03:20 +00:00
Matthew Williams
70f0ebe26a am 511a2246: am 7a2d0ca3: am bd8038b8: Merge "remove possible JobScheduler race in cancel()" into lmp-dev
* commit '511a22460ef790270e870777d21b8ad7d36c55e2':
  remove possible JobScheduler race in cancel()
2014-07-29 18:30:45 +00:00
Jason Monk
7bc5eb4324 am 92333f39: am f3bc00a3: am 9e9b5c70: Merge "Fix incorrect Activity#startLockTask doc" into lmp-dev
* commit '92333f395d1a00865b95f7d8c066ebcae8fcfb98':
  Fix incorrect Activity#startLockTask doc
2014-07-29 18:13:09 +00:00
Adrian Roos
92e387192e am 80395839: am e29906bc: am c7af998e: Merge "Make TrustAgentService a SystemApi" into lmp-dev
* commit '80395839bdb724285d719879e21218a61b15295d':
  Make TrustAgentService a SystemApi
2014-07-29 13:42:07 +00:00
Jim Miller
7eaf0d76d1 am ced267d1: am 112121f6: am 502aab60: Merge "Add new DevicePolicyManager API to allow fine-grained TrustAgent management" into lmp-dev
* commit 'ced267d1599c97957032a84d9c6ac764eb922e1f':
  Add new DevicePolicyManager API to allow fine-grained TrustAgent management
2014-07-29 13:25:01 +00:00
Christopher Tate
2fc9dfff52 am 8f72c755: am fb9e3c46: am 3c4efc3e: Merge "Provide outside-facing API for data management intent+label" into lmp-dev
* commit '8f72c75581c9e1924bf8fab173335ed344673109':
  Provide outside-facing API for data management intent+label
2014-07-28 23:43:36 +00:00
Christopher Tate
485536017c am 38ffe5fe: am e1ec86ef: am a2472304: Add data-management intent + label to BackupTransport API
* commit '38ffe5fe05d6c6d9040f98afb1e7dc61a1750099':
  Add data-management intent + label to BackupTransport API
2014-07-28 23:34:21 +00:00
Craig Mautner
9e935afab8 am bbd65170: am 99f8774a: am cdc00db0: Make affiliatedTaskId public and unhidden.
* commit 'bbd6517087a3dad48efd1c4f418971be3c198959':
  Make affiliatedTaskId public and unhidden.
2014-07-28 21:57:57 +00:00
Christopher Tate
9679410db5 Add data-management intent + label to BackupTransport API
Bug 16346320

Change-Id: Id9e855a1d3cebbf801c27a21e1edc3ffcccfd2e9
2014-07-28 21:33:15 +00:00
Craig Mautner
22132d7950 Make affiliatedTaskId public and unhidden.
Allow apps to see which of their tasks are affiliated in the
RecentTaskInfo returned by getAppTasks().

Fixes bug 16546323.

Change-Id: I54d75c02c194f58fb6513fa91c312289460f56b4
2014-07-28 21:10:16 +00:00
Alexandra Gherghina
ea1ade4d0b am 028cc238: am 814d50e4: am 705b1376: Return a default icon from the package manager directly
* commit '028cc238a7e8ac2764c3a381c335b2235401bc4b':
  Return a default icon from the package manager directly
2014-07-28 17:42:50 +00:00
Alexandra Gherghina
a71e3903e5 Return a default icon from the package manager directly
Bug: 16369104
Change-Id: I2db300a69a08030eacc245ee91556f0443ba5878
2014-07-28 17:30:56 +00:00
Christopher Tate
c17739d112 Provide outside-facing API for data management intent+label
Bug 16346320

Change-Id: I3f4c2f4b700c77880ba3d8db7c92cdb404763d0d
2014-07-28 23:13:06 +00:00
Jim Miller
604e7558ef Add new DevicePolicyManager API to allow fine-grained TrustAgent management
This adds a new feature that allows a device admin to specify a
whitelist of features that are allowed for the given admin.

Change-Id: I83f853318efbcf72308532d0a997374f73fa9c10
2014-07-28 21:32:01 -07:00
Nicolas Prevot
4d4920ad81 Merge "Fixing a NullPointerException in isProfileOwnerApp." into lmp-dev 2014-07-24 15:36:05 +00:00
Nicolas Prevot
90af6d7365 Fixing a NullPointerException in isProfileOwnerApp.
Fixing a NullPointerException in isProfileOwnerApp of DevicePolicyManager
if there is no profile owner.

BUG: 16673376
Change-Id: I912fcd38343d3c1893313e6335802d26014a2e9d
2014-07-30 15:02:57 +01:00
Adrian Roos
a06d5ca1d9 Make TrustAgentService a SystemApi
Bug: 16401527
Change-Id: I6d19281600bacac7c8a29afc07c39ca1d461d23c
2014-07-29 12:54:49 +02:00
Nicolas Prevot
d1c99b1fe8 Migrate extras to ClipData for image/video capture intents.
The intents ACTION_IMAGE_CAPTURE, ACTION_IMAGE_CAPTURE_SECURE and ACTION_VIDEO_CAPTURE are now handled in a way
similar to ACTION_SEND and ACTION_SEND_MULTIPLE.
Migrate the uri in the EXTRA_OUTPUT extra to clipData, and add the flag GRANT_WRITE_URI_PERMISSION.

The userIds are now added to extra uris in the process receiving the intent, (not in the system process), because the
system process may not be able to parcel/unparcel the extras.

BUG: 15534203

Change-Id: I8f79666b726bc6d7745bf777ad3c7518945c5cc3
2014-07-25 10:22:19 +01:00
Craig Mautner
8746a478ab Create end of animation callback for Activity
Activities cannot draw while their entering animations are active.
This change introduces a callback, onEnterAnimationComplete() so
that activities can know when their draws will be effective.

Fixes bug 13658460.

Change-Id: Ic48540cd4c7e37538f10cb2dc0852aa3f55d11e1
2014-07-25 01:35:02 +00:00
George Mount
b4c5d7bf21 Fix no transition when only shared element exists.
Bug 16245703

Change-Id: Ie31baaf7f58038fc79ffca0206ce3bec0ef64cb4
2014-07-24 13:19:51 -07:00
Justin Morey
b5deda7382 Fix build
Change-Id: I8790b274864610b7e00d7ea12efe96b3b826301f
2014-07-24 10:53:40 -05:00
Primiano Tucci
a80c6b4a7f Merge "Introduce startIsolatedProcess private API in ActivityManager" 2014-07-24 15:35:58 +00:00
Primiano Tucci
f080c3a529 Introduce startIsolatedProcess private API in ActivityManager
The new API spawns a isolated process, using a custom uid, entrypoint and
abi. Such API is used by the WebViewFactory to spawn its unpriviledged
but trusted process (hence the fixed uid) which rewrites the rerlo file
on boot / when an update occurs.
Since both the ActivityManager service and the WebViewUpdate service
live in the SystemServer their calls be dispatched locally and no
binder interface needs to be exposed for the new startIsolatedProcess API.

BUG:16403706
Change-Id: I327b59735c12698595e0dbcc4da5d759c9103b0a
2014-07-28 12:33:53 +01:00
Dake Gu
f03c139018 fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator
b/16575308

Change-Id: Ieb4f15a8ead7da9682c97d4d342cd77e0b85e5f8
2014-07-25 23:10:51 +00:00
Michael Wright
5438e4e173 Add missing documentation for createVirtualDisplay
Fix incorrect access modifier in Activity documentation.

Change-Id: Id41da6ccbdfa8b53c89360c899f3a43aec899982
2014-07-25 23:01:32 +00:00
Dake Gu
f7ff2205d9 ExitTransitionCoordinator: suppressLayout during running transition
b/16570734

Change-Id: I52d7132b91256085aa9e535575e978a6031fb276
2014-07-25 22:18:57 +00:00
Jeff Sharkey
16c8e3f494 PackageInstaller changes based on feedback.
Mostly cosmetic changes from API council feedback.

Bug: 16543552
Change-Id: Ic926829b3f77c31f50a899c59b779353daf00d59
2014-07-25 11:59:48 -07:00
Adam Lesinski
3c153519ca Add Per-User logging of UsageStats
Change-Id: I4518c5d3c56b3821292accb886f9fb21f3a8b25f
2014-07-25 17:18:54 +00:00
Nicolas Prevot
ddbce32632 Merge "Storing the app who sets a CrossProfileIntentFilter." into lmp-dev 2014-07-24 15:35:58 +00:00