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

Commit 07b4a6f4 authored by Sandeep Siddhartha's avatar Sandeep Siddhartha
Browse files

Remove the old API for creating hotword detector

To be submitted only when the prebuilts have been updated

Change-Id: I7136b6a492610e4673f005b2d1682ce90ddb43a5
parent 1a95b1a6
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -200,17 +200,6 @@ public class VoiceInteractionService extends Service {
        }
    }

    /**
     * FIXME: Remove once the prebuilts are updated.
     *
     * @hide
     */
    @Deprecated
    public final AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(
            String keyphrase, String locale, AlwaysOnHotwordDetector.Callback callback) {
        return createAlwaysOnHotwordDetector(keyphrase, Locale.forLanguageTag(locale), callback);
    }

    /**
     * Creates an {@link AlwaysOnHotwordDetector} for the given keyphrase and locale.
     * This instance must be retained and used by the client.