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

Commit e53faad4 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Make location access check IMPORTANCE_HIGH

Test: atest CtsPermissionTestCases:android.permission.cts.LocationAccessCheckTest
Change-Id: Ib6643dc5ea19c019e679ed19057b7aa5c64045f6
Fixes: 122483665
parent 7c592e25
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ package com.android.packageinstaller.permission.service;

import static android.Manifest.permission.ACCESS_FINE_LOCATION;
import static android.app.AppOpsManager.OPSTR_FINE_LOCATION;
import static android.app.NotificationManager.IMPORTANCE_LOW;
import static android.app.NotificationManager.IMPORTANCE_HIGH;
import static android.app.PendingIntent.FLAG_ONE_SHOT;
import static android.app.PendingIntent.FLAG_UPDATE_CURRENT;
import static android.app.PendingIntent.getBroadcast;
@@ -290,7 +290,7 @@ public class LocationAccessCheck {

        NotificationChannel permissionReminderChannel = new NotificationChannel(
                PERMISSION_REMINDER_CHANNEL_ID, mContext.getString(R.string.permission_reminders),
                IMPORTANCE_LOW);
                IMPORTANCE_HIGH);
        notificationManager.createNotificationChannel(permissionReminderChannel);
    }