6 Commits

Author SHA1 Message Date
Marco Nelissen
a4256d1d7b Fix typo
Change-Id: I8c3797fb2d343ec6f25765fba49ac097e816d1cf
2012-11-01 13:55:28 -07:00
Jeff Sharkey
6d51571835 Allow acquiring ContentProviders across users.
Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER.  Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user.  Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
2012-09-21 19:49:43 -07:00
Svetoslav Ganov
8486bc11ba Update to allow passing empty string in a binding.
Change-Id: Ia16bd5dc78da1f5c8e52070d9c0e8431744224e8
2012-02-29 14:06:36 -08:00
Svetoslav Ganov
3f55172f7b Fixing the content build file to include the command on user builds.
Change-Id: Ic4a1627eff869702d04c81dcb9a877c74ed65f2a
2012-02-22 12:49:40 -08:00
Svetoslav Ganov
09ff963b08 Fixing the build.
Change-Id: I9ba599adea16b68c3c3af166a2845979624aef80
2012-02-16 14:10:36 -08:00
Svetoslav Ganov
25872aa3ef Adding shell commands for modifying content.
1. Added methods to the ActivityManagerService remote interface
   that allow accessing content providers outside of an application.
   These methods are guarded by an internal signature protected
   permission which is given to the shell user. This enables a
   shell program to access content providers.

2. Implemented a shell command that takes as input as standart
   fagls with values and manipulates content via the content provider
   mechanism.

Change-Id: I2943f8b59fbab33eb623458fa01ea61a077b9845
2012-02-15 14:55:47 -08:00