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

Commit 9be59a73 authored by Joanne Chung's avatar Joanne Chung Committed by Android (Google) Code Review
Browse files

Merge "Get value from setting provider using user id."

parents f0715e0b dccdd68c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7689,8 +7689,8 @@ public class AppOpsManager {
        if (code != OP_RECORD_AUDIO) {
            return false;
        }
        final String voiceRecognitionComponent = Settings.Secure.getString(
                context.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE);
        final String voiceRecognitionComponent = Settings.Secure.getStringForUser(
                context.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE, userId);

        final String voiceRecognitionServicePackageName =
                getComponentPackageNameFromString(voiceRecognitionComponent);