1. 17 Oct, 2013 1 commit
  2. 11 Oct, 2013 1 commit
  3. 04 Oct, 2013 1 commit
  4. 25 Sep, 2013 1 commit
  5. 23 Sep, 2013 1 commit
  6. 15 Sep, 2013 1 commit
  7. 10 Sep, 2013 3 commits
    • Alex Klyubin's avatar
      Robustify logging of analytics about PackageInstaller. · 3e9a765f
      Alex Klyubin authored
      This CL switches from the type-unsafe EventLog.writeEvent method to
      the strictly-typed EventLogTags.writeInstallPackageAttempt. This
      method is generated from the definition of this event in EventLogTags.logtags
      and thus offers compile-time type checking.
      
      Bug: 10605940
      
      Change-Id: I62895b60fe4c01d4314eba564476e0f1ed7ad78b
      3e9a765f
    • Alex Klyubin's avatar
    • Alex Klyubin's avatar
      Record analytics about package install attempts to Event Log. · 7b30bc34
      Alex Klyubin authored
      The purpose of this change is to provide analytics about the various
      stages of the install flow. Recorded information does not contain
      user-, device-, or package/app-identifying information.
      
      Examples of recorded information are:
      * duration of the flow (start to finish)
      * duration of the flow until the moment the user clicks Install
      * whether the attempt is an update or a new install.
      * whether app verification is enabled.
      * whether Unknown Sources is enabled.
      * whether the attempt was blocked by Unknown Sources.
      * whether permissions were displayed.
      * error code (if any) returned by PackageManager when installing the
        package.
      
      Bug: 10605940
      
      Change-Id: I9bc009223a365a558cdf02bd91cf4315b82564c2
      7b30bc34
  8. 07 Sep, 2013 1 commit
  9. 01 Aug, 2013 1 commit
  10. 29 Jul, 2013 1 commit
  11. 25 Jun, 2013 1 commit
  12. 14 Jun, 2013 1 commit
    • Christopher Tate's avatar
      Update install-permission logic to use new FLAG_PRIVILEGED · 320bbe71
      Christopher Tate authored
      We no longer grant all "signatureOrSystem" type permissions to all apps
      bundled on the system partition; there is a build-time grant of
      privileged status.  The logic for granting install permission now
      checks the caller's privileged status, not just its apk location.
      
      Bug 8765951
      
      Change-Id: Ib88f4b0911743bd6bfd3458302fe88518e08ac86
      320bbe71
  13. 27 May, 2013 1 commit
  14. 03 May, 2013 1 commit
  15. 30 Apr, 2013 1 commit
  16. 23 Apr, 2013 1 commit
  17. 22 Apr, 2013 2 commits
  18. 17 Apr, 2013 3 commits
  19. 05 Apr, 2013 3 commits
  20. 03 Apr, 2013 6 commits
  21. 02 Apr, 2013 1 commit
    • Kenny Root's avatar
      Use direct call to get ManifestDigest · 8d3437fe
      Kenny Root authored
      This speeds up startup of PackageInstaller since it doesn't have to read
      all the data.
      
      Bug: 8528639
      Change-Id: Ic7b9dc93f0f940a128b583936b3f56c707b5cb2c
      8d3437fe
  22. 31 Mar, 2013 1 commit
  23. 30 Mar, 2013 2 commits
  24. 28 Mar, 2013 1 commit
  25. 27 Mar, 2013 1 commit
    • Nick Kralevich's avatar
      PackageInstaller: add permission granting support · 292e4dab
      Nick Kralevich authored
      Add support to PackageInstaller for allowing the user to grant
      permissions to other apps. The user is involved in the decision,
      and can approve or reject permissions.
      
      Applications can make a request to PackageInstaller using something
      like the following code:
      
        private void onPromptPermissionsClicked(String... permissions) {
          Intent i = getActivity().getApplication()
                     .getPackageManager().requestPermission(permissions);
          startActivityForResult(i, 0);
        }
      
      This code reuses the sideloading upgrade flow when adding permissions,
      making the UI very familiar to someone who's sideloaded applications.
      Conceptually, we are treating a permission grant as a reinstall of the
      application with new permissions.
      
      Change-Id: Ia37f761e5574a490d1d37b9eb40cf5e77c928a40
      292e4dab
  26. 25 Mar, 2013 2 commits