Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2ef6e5c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Pass the location permission not group to MANAGE_APP_PERMISSION."

parents c48cdcd5 73f08933
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class RecentLocationAccessPreferenceController extends AbstractPreference
                        .setOnClickListener((v) -> {
                            final Intent intent = new Intent(Intent.ACTION_MANAGE_APP_PERMISSION);
                            intent.putExtra(Intent.EXTRA_PERMISSION_NAME,
                                    Manifest.permission_group.LOCATION);
                                    Manifest.permission.ACCESS_FINE_LOCATION);
                            intent.putExtra(Intent.EXTRA_PACKAGE_NAME, access.packageName);
                            intent.putExtra(Intent.EXTRA_USER, access.userHandle);
                            mContext.startActivity(intent);