| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before we relied on 'manual' referesh calls in onResume, etc... . Now
all the updating is done triggered by a loader based on
PermissionsChangeListener in PermissionGroups.PermissionsLoader.
Fixes: 33354617
Test: - Revoked permission in manage permission UI. Global manage
permission UI got updated.
- Granted permission inside of app while settings was open. Saw
settings to get updated.
Change-Id: I3f35564885b6020d1729d61fc9056d732a0366c1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ephemeral permissions may be mixed in permission groups, avoid trying to
grant non-ephemeral group members and avoid showing a group for an
ephemeral app if all permissions of that group are not ephemeral
Test: Verified that runtime permissions work for ephemeral and that
groups which contain no ephemeral permissions are auto-rejected/not
displayed in settings.
Test: cts-tradefed run cts -m CtsPermission2TestCases
Test: Verified that permissions that cannot be granted are not shown in
the all permissions fragment.
Change-Id: I511689bc540a025e0e3ebdaf9c62e01764028a9f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a more info button to the permission
grant UI and the permission review UI which sends the
user to the all permissions screen.
It also adds UI to manage all permissions in the SMS
group individually. Now tapping on the switch in the app
permissions screen toggles the permission group and
tapping on the permission name sends the user to the
detailed permission-level management UI.
Lastly, this change adds management controls to each SMS
permission in the all permissions screen where tapping on
the switch toggles the permission and tapping on the
name as before shows a detailed description.
Change-Id: I1d6cbc478c789e7680f41b92b9f3fa2504576ecd
|
|
|
|
|
|
|
|
| |
Please note that the labels stay unbadged. I.e. The label will always be
"Contacts" instead of "Work Contacts".
Fixes: 28403737
Change-Id: Ib994db946b07098a8c0f95eab5787fb30532fe62
|
|
|
|
|
|
|
|
|
|
|
| |
We were returing a null PermissionGroup object to a place
where this was not expected by design. The reason for that
was an incorrect fix for b/28241097. This CL reverts the
introduced regression and adds a null check just in case.
bug:27102458
Change-Id: I78f8107d0adf6bb2da5d8e11c5f3cf3c00fe36a2
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bug:24079113
Change-Id: Ide1aa1667370f6b8d00ff269ef28992589656e9a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are some permissions that were removed from the platform
and guard nothing but legacy apps may be checking them before
calling APIs. Hence, these apps should get the permissions as
expected despite them being a no-op. To address this the platform
declares removed permissions as normal permissions that are hidden
such that legacy apps can always get them. These permissions are
not shown in the UI. Play needs a way to filter out these
permissions like the platform as they have permissions UI too.
bug:23361760
Change-Id: Ieecf69f70551d987f5fac1f128b7f7a0c242c378
|
|
|
|
| |
Change-Id: I0fbe8ac8670b9fa4eb1fa35693856b47fdc974a4
|
|
|
|
| |
Change-Id: Ie6ef17c3252b6baa8fcfea1db1a8739f00851529
|
|
|
|
| |
Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
|
|
|
|
| |
Change-Id: I3fe38a9ac62466b38efec834dceb712d2782c518
|
|
|
|
|
|
|
|
|
|
|
|
| |
The UI code was wrongly using UID as the key - it is not
unique - resulting in keeping only one app per UID in the
UI and not showing permission controls for the other apps
in this UID. This change uses the unique package plus UID
as the preference key.
bug:23937944
Change-Id: I859afcf3ec8efdcb62d0e9dacd19f771436da084
|
|
|
|
|
|
|
|
| |
This reverts commit e899d8d48558a6d4a8f0498c38a623115aad2205.
Bug: 23314383
Bug: 23397858
Change-Id: Ia928a4b24c60eae6b4fb16ebdbfa6b6787f6c3ae
|
|
|
|
|
|
|
|
|
|
|
|
| |
The policy for an app requesting permissions is that only the requested permissions
are granted not the whole groups to which these permissions belong. There was a
regression where we granted the whole group not only the requested permissions. If
an app has a permission in a group already granted, now per policy a subsequent
request from the same group is followed by an auto grant.
bug:23370436
Change-Id: Icce6377d60187f6f153d10d646cd8c9878dd6fab
|
|
|
|
|
|
| |
bug:23043018
Change-Id: I32efe93f8c52924263b16d80e09fae1a0a6babf5
|
|
|
|
|
|
| |
bug:22303510
Change-Id: Ieab8da041627e6a5807d00a72a1ec73f1cca821b
|
|
|
|
|
|
| |
b/22045256
Change-Id: I5f3f9a87875f02f9ca11b8001515ad82c260919b
|
|\
| |
| |
| | |
screen" into mnc-dev
|
| |
| |
| |
| |
| |
| | |
bug:22173337
Change-Id: If484f7d5d8820cbdbf84dcf67d71e74e00c1bbcd
|
|/
|
|
|
|
| |
bug:22174223
Change-Id: Ic5c9a0ed9c17353145fff6e45483e92181fd9b86
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to allow for TV-friendly layouts, this migrates the permissions
fragments to the preference support lib, and modifies the necessary layouts
and themes to make them work on TV.
b/22043727
b/22045650
b/22044940
Change-Id: Ic862effe2c126da78c304983fd06e017c3ee4472
|
|
|
|
|
|
| |
Bug 21853051
Change-Id: I0ce4776f75c54d47bb0aa6f12419acc7bfd964ae
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 21805447
Change-Id: I27aed860b73d99976479793076852aecbf0be5a2
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Match settings logic for this: System apps are on the system image,
don't show up in launcher, and haven't been updated.
Bug: 21849124
Change-Id: Ida77f98d080068731dcfd7aaf26aeb086fd681ed
|
|/
|
|
|
|
|
| |
Previously, userHandle of the user associated with the context was always used.
Bug: 21804306
Change-Id: If297a4c7b22abf43533b8ed67df0fd9b11c9b82e
|
|
|
|
|
| |
Bug: 20826868
Change-Id: Ie48a3624116822135eb1920806ed12ade1612874
|
|
|
|
|
|
|
|
|
|
|
| |
- Add summaries to manage permissions screen
- Add some shortcuts to skip loading unneeded labels/icons
for summary info
- Add way for Settings to broadcast request for info about
granted permissions.
Bug: 21078474
Change-Id: I28582129971385203f4e4316addf73e07ee53940
|
|
|
|
|
|
|
|
| |
installer.
bug:21195624
Change-Id: If6de516d76969c3627316d091893da58f81af832
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have some permissions that we will be getting rid of and for
that reason do not have app ops. Such permission were showing in
the UI for legacy apps but changing them has no effect because
there is no app ops support. We are not not showing them in the
UI to avoid user frustration.
bug:21168530
Change-Id: I2b6988f003e27b266fb2b48ddbb692ae5cf131fb
|
|
|
|
|
|
| |
bug:21078221
Change-Id: Ie5bfb4c6013faf528b95eda0d5caf1c591f1e439
|
|
|
|
|
| |
Bug: 21119477
Change-Id: I9961276c8fe5fbc3658174dd8e00cff85e34b685
|
|
|
|
|
|
| |
bug:20953205
Change-Id: Ie497e3124f127843d10645a625b47f2ee77dd269
|
|
|
|
| |
Change-Id: Id2d5733db0978e909d7159b0eade2b85ec838924
|
|
Change-Id: I23a7b4e42968df44d2dc3415bff2d15627653089
|