17 Commits

Author SHA1 Message Date
Jeff Sharkey
4967a11f8c am 74b0f5ac: Merge "Let Shell modify secondary external storage." into klp-dev
* commit '74b0f5acdfaa64afc27ba440883a8d1ead07f999':
  Let Shell modify secondary external storage.
2013-11-05 12:46:11 -08:00
Jeff Sharkey
74b0f5acdf Merge "Let Shell modify secondary external storage." into klp-dev 2013-11-05 20:44:09 +00:00
Jeff Sharkey
39da553694 Let Shell modify secondary external storage.
Bug: 11520256
Change-Id: I010a9cf07ff185aefcc2fdb71076d2e97e1f03a3
2013-11-05 12:18:24 -08:00
Baligh Uddin
03003f184c Import translations. DO NOT MERGE
Change-Id: If7c5a1bedbfed72e25fd5c7a888c0bae7a286758
Auto-generated-cl: translation import
2013-11-04 09:17:02 -08:00
Baligh Uddin
fd2c7d10a5 Import translations. DO NOT MERGE
Change-Id: I161f98685fc14784a937b2df20da1b2480dc9434
Auto-generated-cl: translation import
2013-10-04 11:06:12 -07:00
Baligh Uddin
fb60905c65 Import translations. DO NOT MERGE
Change-Id: I0774c814f839f7a06aaa3cb023782e8eb0adf305
Auto-generated-cl: translation import
2013-10-04 11:05:28 -07:00
Baligh Uddin
916dc3dcae Import translations. DO NOT MERGE
Change-Id: I16a7cfc8d9c5926a40a4ddca551f4281accb415f
Auto-generated-cl: translation import
2013-09-25 08:43:59 -07:00
Baligh Uddin
f222e28849 Import translations. DO NOT MERGE
Change-Id: I1e4035acc161f784dc2f35eaf1f346ecbddf2fcf
Auto-generated-cl: translation import
2013-09-14 20:04:06 -07:00
Christopher Tate
ccbf84f44c Some system apps are more system than others
"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
2013-06-17 12:47:35 -07:00
Baligh Uddin
8d6d317567 Import translations. DO NOT MERGE
Change-Id: Ibcb1efe45bc48d070fcdeddd168c8032f8f4ea1b
Auto-generated-cl: translation import
2013-05-13 07:23:44 -07:00
Baligh Uddin
1218e847f5 Import translations. DO NOT MERGE
Change-Id: Iecabdf3bc156108d88dd0bc76a48c50b608678dc
Auto-generated-cl: translation import
2013-05-08 08:18:13 -07:00
Baligh Uddin
2c5f67e042 Import translations. DO NOT MERGE
Change-Id: Ie69dada1f0b5efd2ba1abc62b17757b3d142dd3f
Auto-generated-cl: translation import
2013-05-03 10:56:06 -07:00
Baligh Uddin
4431de13bb Import translations. DO NOT MERGE
Change-Id: I5f6ba8997fc6d041d18e6c2103cc3c0fc7d83ee8
Auto-generated-cl: translation import
2013-05-01 08:17:11 -07:00
Jeff Sharkey
e37e9ba3ca Show notification ticker for finished bugreports.
Change-Id: I7d326b0da83c3ae334739cdb8cb4ca18f948c50f
2013-03-20 12:10:51 -07:00
Jeff Sharkey
d9526907d1 Move deleteOlderFiles() to framework, tests.
Supports both age and count based constraints.  Added light docs and
tests to verify behavior.

Bug: 8387555
Change-Id: If4d0dac8bc54ce705c2a339bc09a60ea748728b8
2013-03-14 15:04:12 -07:00
Jeff Sharkey
02ffba940c Handle finished bugreports, share from private.
Show notification when a bugreport is finished, letting the user
launch a SEND_MULTIPLE intent to share them.  Add dialog that warns
user about contents before sharing.  Since bugreports are now stored
in private app data of the Shell app, use FileProvider to build Uris
that we can grant others access to.

Define BUGREPORT_FINISHED as being a protected broadcast.  Delete
older bugreports automatically to reclaim disk space.  Migrate any
Intent extras to ClipData when building PendingIntents.

Add --receiver-permission support to am shell command.

Bug: 7005318
Change-Id: If6c607dbcf137362d5887eac482ff7391563890f
2013-03-13 16:42:38 -07:00
Dianne Hackborn
514074fae8 App ops: cleanup, handle root and shell, perms.
Rework how the shell user is defined so that it is
associated with an actual apk, instead of being a free
roaming uid with special permissions assigned to it.
This allows us to correctly account for its operations
in app ops.

Implement a special case for the root user in app ops --
it is always allowed, always with the package name "root".

Add various code to take care of cleaning up package state
from app ops -- when packages are uninstalled, and during
boot if any packages currently being stored no longer exist.

Also fix a bug in the activity manager to correctly grant
permissions in all cases when onNewIntent() is being called.

Change-Id: Iae9f6d793ee48b93518c984ad957e46ae4582581
2013-02-11 15:33:48 -08:00