am c9c598fe: am 61ae93d3: am 8da4d313: Remove the old API for creating hotword detector
* commit 'c9c598fed9065be5127d1b66b6d4774ead6d114e': Remove the old API for creating hotword detector
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user