History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
df804e6a76051adb1e626a5713d32a6bf8b3ab9a 29-Apr-2016 Svet Ganov <svetoslavganov@google.com> Only platform defined permissions need a review.

The only permissions a user can control for a legacy app in
runtime style without crashing the app are the ones defined
by the platform because we have app ops only for these and
also we contorl the access to data guarded by them.

bug:27102458

Change-Id: I63d02e169dc82e9f3638b8e8f99ed8d95ae7d325
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
f9bf4f795615bac03d1b35a0138318473b1ef6bf 27-Feb-2016 Svet Ganov <svetoslavganov@google.com> Cleanup of the PackageInstaller API - PackageInstaller

The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: I37aea1e5cc3195b8b636af6790af45fe5a9765cd
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
dcc39fe43bc27412b7237195392b11299fd56ebf 23-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Respect past user choices in permisson review UI

In a permission review mode we show UI for the user to review
new permissions for apps that do not support the new runtime
permission model. The review is shown on an app launch. It is
possible for the user to modify permissions in the settings
UI before launching an app.

This change ensures that the default value in the review UI
reflects the user choice in settings. Specifically, the review
UI shows the permission toggle in a granted state if the user
expressed no opinion or granted the pemrission in settings
(initially permissions are shown as revoked in settings as a
review is pending - granting a permission from settings doesn't
void the pending review). However, if the user grants and then
revokes a permission in settings, (expresses an opinion the
pemrission should be revoked) the default state of the
permission
toggle is off.

bug:26741436

Change-Id: I021175df00e334e73aa01363d2c5645e2fe16b90
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
8842534eee8a4c247c422e52691d6629bdb83c19 23-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Revert "Respect past user choices in permisson review UI"" into nyc-dev
5ae831d84f03d360f2e087762e4ceb8bdc5a0142 23-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Revert "Respect past user choices in permisson review UI"

This reverts commit 437a6bfedb33daf66592bbed8595025f3e707850.

Change-Id: I5a46f94aadb0ab6dcbe85761f3b1390749b8b1cf
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
f8be279162b843cb007a4fdd4458da27895a0b77 23-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Respect past user choices in permisson review UI" into nyc-dev
437a6bfedb33daf66592bbed8595025f3e707850 23-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Respect past user choices in permisson review UI

In a permission review mode we show UI for the user to review
new permissions for apps that do not support the new runtime
permission model. The review is shown on an app launch. It is
possible for the user to modify permissions in the settings
UI before launching an app.

This change ensures that the default value in the review UI
reflects the user choice in settings. Specifically, the review
UI shows the permission toggle in a granted state if the user
expressed no opinion or granted the pemrission in settings
(initially permissions are shown as revoked in settings as a
review is pending - granting a permission from settings doesn't
void the pending review). However, if the user grants and then
revokes a permission in settings, (expresses an opinion the
pemrission should be revoked) the default state of the permission
toggle is off.

bug:26741436

Change-Id: Iae6ae497dfba46ba1399fbf66fb60e70c37f0420
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
15fa03702aae07fb325d6be98d8c0cdeb344d20d 22-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Don't show app defined permissions in the review UI

Only platform defined runtime permissions have corresponding
app ops, hence there is no way to disable functionality guarded
by app defined permissions. Therefore, app defined permissions
should not show in the review UI.

bug:27102458

Change-Id: Iedc7c4de9216007176b87cfecaeed69dbadc2068
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
bd6ad3a2b1c30f7a007c4c2ef7e5c273a2f9df10 05-Mar-2016 Svet Ganov <svetoslavganov@google.com> Support app install from a content URI

bug:24079113

Change-Id: Ide1aa1667370f6b8d00ff269ef28992589656e9a
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
bf7316751f0c73b435b693fd20b0c9b2fa973e85 27-Sep-2015 Svet Ganov <svetoslavganov@google.com> Add optional permission review for legacy apps - installer

Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java