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

Commit 0700cc97 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Fix SDK version detection.

This flag is gating 2 features: one was enabled in U, another was punted
to V. Enabling it for now to fix the P0.

Bug: 279455903
Fixes: 279455903
Test: atest android.voiceinteraction.cts.VisualQueryDetectionServiceBasicTest#testVoiceInteractionService_holdBindHotwordDetectionPermission_triggerFailure
Change-Id: I8207eb4d116aa30251f58581ff0dc8b32fa053bd
parent e324ae00
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public class VoiceInteractionService extends Service {
    public static final String SERVICE_META_DATA = "android.voice_interaction";

    /**
     * For apps targeting Build.VERSION_CODES.TRAMISU and above, implementors of this
     * For apps targeting Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, implementors of this
     * service can create multiple AlwaysOnHotwordDetector instances in parallel. They will
     * also e ale to create a single SoftwareHotwordDetector in parallel with any other
     * active AlwaysOnHotwordDetector instances.
@@ -128,7 +128,7 @@ public class VoiceInteractionService extends Service {
     * @hide
     */
    @ChangeId
    @EnabledSince(targetSdkVersion = Build.VERSION_CODES.CUR_DEVELOPMENT)
    @EnabledSince(targetSdkVersion = Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
    static final long MULTIPLE_ACTIVE_HOTWORD_DETECTORS = 193232191L;

    IVoiceInteractionService mInterface = new IVoiceInteractionService.Stub() {