Annotating getModelState method so it can be used by NowPlaying

Test: none
Bug: 119386757
Change-Id: If4dcd9fae9b693cd040e74d6e7b10be895b46af3
This commit is contained in:
mike dooley
2019-01-10 17:41:11 +01:00
parent a0bf4d7ac2
commit e01860a6e9

View File

@@ -372,6 +372,7 @@ public final class SoundTriggerManager {
* @hide
*/
@RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
@UnsupportedAppUsage
public int getModelState(UUID soundModelId) {
if (soundModelId == null) {
return STATUS_ERROR;