Commit Graph

4322 Commits

Author SHA1 Message Date
Robin Lee
3c7bb1f9c5 am 2f5c37d1: am a4ca4bc5: am 40bdb1f7: Clean up DevicePolicyManager CA certificate APIs
* commit '2f5c37d122b6ddbb7e78773138ffe7e9c7ee5bf1':
  Clean up DevicePolicyManager CA certificate APIs
2014-08-12 16:13:05 +00:00
Robin Lee
7e67871174 Clean up DevicePolicyManager CA certificate APIs
For consistency all CA-related methods now require the ComponentName
of a DeviceAdminReceiver as the first parameter. Updated javadoc for
this and added in some more detail about the methods in general as
well.

Created two new utility APIs,one to list all installed CAs and one to
remove all installed (user) CAs. Deleted old hasAnyCaCertsInstalled
method because it is now redundant.

@bug 16488006

Change-Id: I55eec17e01489ab323f8a0e68b11592605a7b740
2014-08-12 16:54:40 +01:00
George Mount
8b13977152 am 4b3c90e4: am 76369ebe: am 0fb5d38b: Merge "Pass elevation to enable shadow in shared elements." into lmp-dev
* commit '4b3c90e404b6a42c03b37f3a24b2c54760acf4ef':
  Pass elevation to enable shadow in shared elements.
2014-08-12 14:49:06 +00:00
George Mount
8d2ba6dac3 Merge "Pass elevation to enable shadow in shared elements." into lmp-dev 2014-08-12 04:17:55 +00:00
George Mount
5c0f210cee am f00ff757: am a4854090: am 6a2026dc: Merge "Custom snapshot capture and reconstitution." into lmp-dev
* commit 'f00ff7572dc30de5041d06f9b25dd9f2b8590b2c':
  Custom snapshot capture and reconstitution.
2014-08-11 23:21:50 +00:00
George Mount
26c82b6ed1 Pass elevation to enable shadow in shared elements.
Bug 15932772

Change-Id: Ia4cb89035244656a2dd24936bf0e36a5b7970ea6
2014-08-11 15:38:56 -07:00
George Mount
480ca829e2 Custom snapshot capture and reconstitution.
Bug 16865996
Bug 14450297
Bug 16866642

Added a mechanism for custom capture and restore of snapshot
Views. By default, it captures a Bitmap and restores a View
using that Bitmap as a background.

Change-Id: I77c2c62df53b552872e467380565bbe0e6d5c114
2014-08-11 14:28:45 -07:00
Christopher Tate
e745e9bd3a am cd31db3f: am 8cc1ce7f: am 932cd04a: Merge "Start using cancelFullBackup() when appropriate" into lmp-dev
* commit 'cd31db3ffb28e977e32d73c4b86437af1110f587':
  Start using cancelFullBackup() when appropriate
2014-08-10 19:48:02 +00:00
Christopher Tate
bf1a4a81eb Start using cancelFullBackup() when appropriate
The API was in place but the framework wasn't yet calling it.

Bug 16524520

Change-Id: Ie368758c830a7d0ad11e7dd3142a0ed896069944
2014-08-09 00:48:47 +00:00
George Mount
98d8c3e61f am 390b066b: am 2c61d2f5: am 8011744b: Merge "Move shared elements to overlay when in a transition group." into lmp-dev
* commit '390b066b894dd5a855c8028ce3b485374b4d1a55':
  Move shared elements to overlay when in a transition group.
2014-08-08 23:56:33 +00:00
George Mount
9985aaf268 Merge "Move shared elements to overlay when in a transition group." into lmp-dev 2014-08-08 23:02:20 +00:00
Adam Lesinski
2586c89656 am 0bb27d84: am ed9be6fb: am 38daa3c5: Merge "Second iteration of the UsageStats API" into lmp-dev
* commit '0bb27d848264459c08f3d81406edb591c54aad87':
  Second iteration of the UsageStats API
2014-08-08 22:49:43 +00:00
Winson Chung
265b6fc548 am 8aa64bdf: am 0ecbe9d6: am 14176afa: Merge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)" into lmp-dev
* commit '8aa64bdf9fb4d37fda6590b709f63204693bde17':
  Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)
2014-08-08 21:06:14 +00:00
John Spurlock
df6a28475b am ba5c934c: am fa8faa9b: am 508dc373: Merge "New api to sync zen mode state from listeners." into lmp-dev
* commit 'ba5c934c7e3562df7492b77ecb7904847011eedf':
  New api to sync zen mode state from listeners.
2014-08-08 20:25:07 +00:00
Dake Gu
cc11a1106f am dc0781b5: am ffbf66b6: am afb539e6: Merge "Transition: remap if views in calling activity became invalid" into lmp-dev
* commit 'dc0781b5518be0bcfce6a5e8f63a819b59ef1b0e':
  Transition: remap if views in calling activity became invalid
2014-08-08 19:56:51 +00:00
Adam Lesinski
81f6d857c1 Merge "Second iteration of the UsageStats API" into lmp-dev 2014-08-08 18:15:47 +00:00
Adam Lesinski
3516800b61 Second iteration of the UsageStats API
Based on feedback from API council, updated the API.
Also added support for querying the event log.

Change-Id: Ibaa008b9e5bd145acdfe8e20c25c2ed2d96be123
2014-08-08 12:08:15 -07:00
John Spurlock
5c8ea2c369 Merge "New api to sync zen mode state from listeners." into lmp-dev 2014-08-08 18:15:47 +00:00
George Mount
fe361d2113 Move shared elements to overlay when in a transition group.
Bug 15744995

Change-Id: Icf1ee603de23c7bb3bce3723cb24009e36f153d7
2014-08-08 18:01:31 +00:00
Winson Chung
4f70cacd45 Merge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)" into lmp-dev 2014-08-08 16:09:03 +00:00
Winson Chung
e9217a0729 Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622) 2014-08-08 11:27:41 -07:00
Jeff Sharkey
3b47c1dfca am c10f3896: am 39b80151: am 99343549: Handle null IPackageDeleteObserver.
* commit 'c10f38964306689b8037dcd0ba9e7a6ddd6d5fdc':
  Handle null IPackageDeleteObserver.
2014-08-08 05:49:46 +00:00
Jeff Sharkey
6c0b9da65e Handle null IPackageDeleteObserver.
Bug: 16862614
Change-Id: I0c197a994b89d49123027f24fe46827c2b994ab6
2014-08-08 05:08:58 +00:00
Christopher Tate
4161a27dec am e363c642: am 9566f67a: am 5cd3f209: A little more system API in RestoreSetObserver
* commit 'e363c642ae83d4cb94a58a68a777a21b203c6e5b':
  A little more system API in RestoreSetObserver
2014-08-08 02:26:03 +00:00
Christopher Tate
26bd4c5691 am faea5f39: am 52a22451: am 7c8f2d5d: Merge "API to tell the transport to cancel a full backup in progress" into lmp-dev
* commit 'faea5f39df55088f8700adb890c275e26f52cd09':
  API to tell the transport to cancel a full backup in progress
2014-08-08 02:25:43 +00:00
Christopher Tate
4ab1747efa am ffd2ffea: am 5a68fe74: am b7c40868: Mark beginRestoreSession() as system API
* commit 'ffd2ffeaaaae57a11ed2a319b6204e501dd5c9d7':
  Mark beginRestoreSession() as system API
2014-08-08 02:25:06 +00:00
Christopher Tate
a589f12c34 am b39bc60c: am 6fb63e97: am bc835105: Merge "Reify the transport lookup/selection API" into lmp-dev
* commit 'b39bc60c4a255a6dd4eaa3e4b92394bff22ac4d3':
  Reify the transport lookup/selection API
2014-08-08 02:22:33 +00:00
Christopher Tate
58d467a584 A little more system API in RestoreSetObserver
Bug 16542048

Change-Id: I8b773df872e3cc50c42645e3833d40a691edc4e7
2014-08-08 00:02:25 +00:00
Christopher Tate
2e5979236c Mark beginRestoreSession() as system API
Bug 16874911

Change-Id: Idb06ebf2d0f54bb13af1d2eeacf0d7b06fda68db
2014-08-07 22:44:15 +00:00
Winson Chung
38c010dd05 am 06e564d2: am e70eb503: am f9c1251b: Merge "Initial changes to add task affiliation styling. (Bug 16656169)" into lmp-dev
* commit '06e564d23309dc1c5198eda98e975b7fc5f00c61':
  Initial changes to add task affiliation styling.  (Bug 16656169)
2014-08-07 19:17:19 +00:00
Christopher Tate
e079264b98 API to tell the transport to cancel a full backup in progress
Bug 16524520

Change-Id: If2cbffd3c8a03bf4eb7b11ff1ae784c437e27e7f
2014-08-07 23:16:19 +00:00
Winson Chung
ec396d6399 Initial changes to add task affiliation styling. (Bug 16656169)
- Fixing issue with launch-in-background animation
2014-08-07 17:57:25 +00:00
Dake Gu
b04b36eaad Transition: remap if views in calling activity became invalid
In activity back,  the calling activity might have re-constructed
UI, the accepted views captured in calling activity  was detached
and no longer valid.  Re-query the calling activity for shared
element in such case.  If the app has reconstructed UI of calling
activity,  it is app's responsibility to assign same transition name
to new view where it desires to transition back to.

b/16853679

Change-Id: Ia6729c6082fbaf54c2ce17f695d5b8d66bd9187d
2014-08-08 18:29:10 +00:00
Christopher Tate
d5cf722ae6 Reify the transport lookup/selection API
Introduce a stable BackupTransport interface class for transport
implementations to derive from.

Make the interface for viewing/selecting the active backup transport
part of the stable API.

Make restore-related classes (RestoreSession, RestoreSet) stable API.

Express backup manager APIs needed for transport operation as
@SystemApi methods in BackupManager.

Bug 16661321

Change-Id: I423b87ae8f45c1b77831d4f8ffd97715484c2d2b
2014-08-07 19:43:22 +00:00
Dan Sandler
91b9715b43 am 74746c7e: am 11dff416: am a20ca819: Merge "Need to post-process all action icons to get the correct color." into lmp-dev
* commit '74746c7e1440fe3ab2a8939b9c75e70b3d3bf258':
  Need to post-process all action icons to get the correct color.
2014-08-07 14:25:00 +00:00
Adrian Roos
afc625a679 am 06407eb4: am 4902e5ff: am ae9b5cd0: Merge "Pass initiatedByUser to TrustListeners" into lmp-dev
* commit '06407eb441b71d0dd62f38cef72aba140944b711':
  Pass initiatedByUser to TrustListeners
2014-08-07 14:09:33 +00:00
Adrian Roos
3c9a350165 Pass initiatedByUser to TrustListeners
Bug: 16840500
Change-Id: I8d9bd8fe9a305066f33ac5c888d8a41ce219a6f1
2014-08-07 15:13:09 +02:00
Dan Sandler
09723fd04a Merge "Need to post-process all action icons to get the correct color." into lmp-dev 2014-08-07 09:28:12 +00:00
Svet Ganov
3d2838fa88 am e7066052: am fbbd64aa: am 7efdcd46: Merge "Fix regression in remote views." into lmp-dev
* commit 'e7066052a3b517652222107602a1b8d33dc5aee3':
  Fix regression in remote views.
2014-08-07 01:17:21 +00:00
Jeff Sharkey
89a8afe6ea am 59eeb5fa: am 744e367e: am 197ec8d3: Surface user action events when un/installing.
* commit '59eeb5fa26c0bb7eee513170ccc53d0d040f9d4e':
  Surface user action events when un/installing.
2014-08-07 00:44:22 +00:00
Svetoslav
d97d65900a am a13e3ab6: am 3892dcfb: am f287eb85: Polish of the app widgets cross-profiles feature.
* commit 'a13e3ab6c7621ba7d02941bfd001baa9400af56b':
  Polish of the app widgets cross-profiles feature.
2014-08-07 00:39:40 +00:00
Jeff Sharkey
fbd0e9fa37 Surface user action events when un/installing.
This will be used shortly to connect up with permissions
confirmation UI.

Bug: 16515814
Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
2014-08-07 00:23:54 +00:00
Svetoslav
c71c42fdb2 Polish of the app widgets cross-profiles feature.
1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
   returning a badged drawable. The methods to load the icon and the
   preview are now just making it easier for a developer to get the
   drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
   is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
   package name and having code paths where the cached value was not
   populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
2014-08-07 00:12:27 +00:00
Dan Sandler
aa21e395f5 Need to post-process all action icons to get the correct color.
This reverts commit fd266000212b33956d586807c76967b30b815cb6.

Bug: 16846210
Change-Id: I67e0acaacb6a4d9eb9a1a7392a7c647ff51c8f54
2014-08-06 19:26:11 +00:00
Alexandra Gherghina
ce5be58a85 am 2656f743: am 6a0d4fbd: am 00aeefd2: Add hidden API for removing cross-profile package filters
* commit '2656f743456b6792309a2d37c30db412df748b4b':
  Add hidden API for removing cross-profile package filters
2014-08-06 17:40:16 +00:00
Amith Yamasani
01fa2ec823 am 604af1a6: am a41b17ac: am 41179448: Merge "Allow phone UID to export singleton providers" into lmp-dev
* commit '604af1a6212ccfe1deb7cb4c2cb1cb13154cf255':
  Allow phone UID to export singleton providers
2014-08-06 17:35:29 +00:00
Alexandra Gherghina
e41ce995a0 Add hidden API for removing cross-profile package filters
Bug: 16646591
Change-Id: Iaf6837fe4390ac1018c49df366ea434776ed7244
2014-08-06 14:52:50 +00:00
Svet Ganov
0da85b6c90 Fix regression in remote views.
Now remote views contain the application info for the app on whose
behalf they should show content. The application info contains the
user id and the package name which makes it unique in the multi
user environment. If the app which creates the remote views does
not have the same package as the one passed in the contructor of
the remote views, we lookup the app info for the target package.
There is a special hidden overload that allows creating a remote
views instance that represents an app in given package and user
(requires interact across users) permission. The latter is used
by SystemUi when creating remote views for apps that posted a
notification.

bug:16838651

Change-Id: I2daa974629f89a2446848e59300d994dadcf4439
2014-08-07 00:30:44 +00:00
Svetoslav
39999cf026 Allow adding widgets from user profiles.
The goal of this change is to enable support for appwidget from
user profiles to the user main profile. A user profile is a user
which is associated as a child of the main user profile. For example,
a user may have a personal (parent) and corporate (child) profile.
The device policy should be able to control whether adding a widget
from a child profile and given packages is allowed. This change
assumes that all packages from managed profiles are white listed.
Another change will add the device policy changes.

(cherrypicked 8cd27c3c to work around Gerrit issue)

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
2014-08-06 11:01:36 +01:00
Amith Yamasani
f17e498fea Merge "Allow phone UID to export singleton providers" into lmp-dev 2014-08-05 00:19:02 +00:00