Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_PackageInstaller
Commits
9b724fd6
Commit
9b724fd6
authored
9 years ago
by
Jeff Sharkey
Committed by
Android (Google) Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "Show location permission group, even when fixed." into mnc-dev
parents
ab1e5900
3c093f94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/com/android/packageinstaller/permission/utils/Utils.java
src/com/android/packageinstaller/permission/utils/Utils.java
+4
-2
No files found.
src/com/android/packageinstaller/permission/utils/Utils.java
View file @
9b724fd6
...
...
@@ -79,7 +79,8 @@ public class Utils {
public
static
boolean
shouldShowPermission
(
AppPermissionGroup
group
)
{
// We currently will not show permissions fixed by the system.
// which is what the system does for system components.
if
(
group
.
isSystemFixed
())
{
if
(
group
.
isSystemFixed
()
&&
!
Manifest
.
permission_group
.
LOCATION
.
equals
(
group
.
getName
()))
{
return
false
;
}
...
...
@@ -102,7 +103,8 @@ public class Utils {
public
static
boolean
shouldShowPermission
(
PermissionApp
app
)
{
// We currently will not show permissions fixed by the system
// which is what the system does for system components.
if
(
app
.
isSystemFixed
())
{
if
(
app
.
isSystemFixed
()
&&
!
Manifest
.
permission_group
.
LOCATION
.
equals
(
app
.
getPermissionGroup
().
getName
()))
{
return
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment