GoogleGit

commit483f3b06ea84440a082e21b68ec2c2e54046f5a6[log][tgz]
authorAmith Yamasani <yamasani@google.com>Tue Mar 13 16:08:00 2012 -0700
committerAmith Yamasani <yamasani@google.com>Thu Mar 22 10:08:24 2012 -0700
treecc0dff8ea3d133a4dc910bc1e90c85380cea2064
parent8fca15f1f2273fa429e58f783d0970251d0942e5[diff]
Package restrictions per user

Packages can be enabled/disabled per user.
This requires maintaining stopped/launched states and
enabled / disabled components and packages per user.

Refactored pm.Settings and PackageSettingsBase to keep
track of states per user.

Migrated the stopped-packages.xml to users/<u>/package-restrictions.xml

Changed intent resolution to handle individual user restrictions.
Bunch of IPackageManager calls now have a userId argument.
Make AppWidgetService handle removals of packages.

Added some tests for pm.Settings and PackageManager.

Change-Id: Ia83b529e1df88dbcb3bd55ebfc952a6e9b20e861
25 files changed
tree: cc0dff8ea3d133a4dc910bc1e90c85380cea2064
  1. Android.mk
  2. CleanSpec.mk
  3. MODULE_LICENSE_APACHE2
  4. NOTICE
  5. api/
  6. build/
  7. cmds/
  8. core/
  9. data/
  10. docs/
  11. drm/
  12. graphics/
  13. icu4j/
  14. include/
  15. keystore/
  16. libs/
  17. location/
  18. media/
  19. native/
  20. nfc-extras/
  21. obex/
  22. opengl/
  23. packages/
  24. policy/
  25. preloaded-classes
  26. sax/
  27. services/
  28. telephony/
  29. test-runner/
  30. tests/
  31. tools/
  32. voip/
  33. wifi/