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

Commit 257fffff authored by Nicholas Ambur's avatar Nicholas Ambur Committed by Automerger Merge Worker
Browse files

Merge "rm permission from getActiveServiceComponentName" into sc-dev am: 6fb83178

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14105626

Change-Id: I85f0214ec9ceff0b6ed04826595c58f9e5877947
parents c19acf5a 6fb83178
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -116,7 +116,6 @@ interface IVoiceInteractionManagerService {
    KeyphraseMetadata getEnrolledKeyphraseMetadata(String keyphrase, String bcp47Locale);
    /**
     * @return the component name for the currently active voice interaction service
     * @RequiresPermission Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE
     */
    ComponentName getActiveServiceComponentName();

+0 −1
Original line number Diff line number Diff line
@@ -1439,7 +1439,6 @@ public class VoiceInteractionManagerService extends SystemService {

        @Override
        public ComponentName getActiveServiceComponentName() {
            enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
            synchronized (this) {
                return mImpl != null ? mImpl.mComponent : null;
            }