diff options
| author | 2016-02-16 17:22:07 +0000 | |
|---|---|---|
| committer | 2016-02-16 17:22:08 +0000 | |
| commit | 8da2bf49467f026da70a94d7cdf01b84d80bd07a (patch) | |
| tree | 0fa7d8767c05f5d8675557c289f25b8ed126721e | |
| parent | c3e78d5e6297ddb41bf73a0c0985005315d7949b (diff) | |
| parent | edbe2652f99195687f461a7a651cf147ea17cf5a (diff) | |
Merge "TIF: Unhide TvInputInfo.isHidden/loadCustomLabel" into nyc-dev
| -rw-r--r-- | api/current.txt | 2 | ||||
| -rw-r--r-- | api/test-current.txt | 2 | ||||
| -rw-r--r-- | media/java/android/media/tv/TvInputInfo.java | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/api/current.txt b/api/current.txt index 0337e11a3c79..7fdd5db96f76 100644 --- a/api/current.txt +++ b/api/current.txt @@ -22914,7 +22914,9 @@ package android.media.tv { method public android.content.pm.ServiceInfo getServiceInfo(); method public int getTunerCount(); method public int getType(); + method public boolean isHidden(android.content.Context); method public boolean isPassthroughInput(); + method public java.lang.CharSequence loadCustomLabel(android.content.Context); method public android.graphics.drawable.Drawable loadIcon(android.content.Context); method public java.lang.CharSequence loadLabel(android.content.Context); method public void writeToParcel(android.os.Parcel, int); diff --git a/api/test-current.txt b/api/test-current.txt index 15b1e7884cf5..e940378f12ca 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -22923,7 +22923,9 @@ package android.media.tv { method public android.content.pm.ServiceInfo getServiceInfo(); method public int getTunerCount(); method public int getType(); + method public boolean isHidden(android.content.Context); method public boolean isPassthroughInput(); + method public java.lang.CharSequence loadCustomLabel(android.content.Context); method public android.graphics.drawable.Drawable loadIcon(android.content.Context); method public java.lang.CharSequence loadLabel(android.content.Context); method public void writeToParcel(android.os.Parcel, int); diff --git a/media/java/android/media/tv/TvInputInfo.java b/media/java/android/media/tv/TvInputInfo.java index c6dece454de3..f0a94268d533 100644 --- a/media/java/android/media/tv/TvInputInfo.java +++ b/media/java/android/media/tv/TvInputInfo.java @@ -421,9 +421,7 @@ public final class TvInputInfo implements Parcelable { * @param context Supplies a {@link Context} used to check if this TV input is hidden. * @return {@code true} if the user marked this TV input hidden in settings. {@code false} * otherwise. - * @hide */ - @SystemApi public boolean isHidden(Context context) { return TvInputSettings.isHidden(context, mId, UserHandle.myUserId()); } @@ -451,9 +449,7 @@ public final class TvInputInfo implements Parcelable { * @param context Supplies a {@link Context} used to load the custom label. * @return a CharSequence containing the TV input's custom label. {@code null} if there is no * custom label. - * @hide */ - @SystemApi public CharSequence loadCustomLabel(Context context) { return TvInputSettings.getCustomLabel(context, mId, UserHandle.myUserId()); } |