diff options
| author | Mathew Inwood <mathewi@google.com> | 2018-08-17 13:51:26 +0100 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2018-08-17 13:51:26 +0100 |
| commit | eac8d0a3621dfc65b9bee36e11fd4698236e0930 (patch) | |
| tree | 4180302c338f610fcdc25ab15414aba2d1abb39c /core/java/android/preference/VolumePreference.java | |
| parent | 2495ca3c29aebe72a66670909b2dc02fde3000f4 (diff) | |
Add @UnsupportedAppUsage annotations
For packages:
android.preference
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I6a39e2a1e1eb65cde9d200fb794c6592982f1272
Merged-In: I31a80552a66554d876edd01950df368c31239c2b
Diffstat (limited to 'core/java/android/preference/VolumePreference.java')
| -rw-r--r-- | core/java/android/preference/VolumePreference.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/preference/VolumePreference.java b/core/java/android/preference/VolumePreference.java index 8a66c243b17c..ea1d1eb11ee3 100644 --- a/core/java/android/preference/VolumePreference.java +++ b/core/java/android/preference/VolumePreference.java @@ -16,6 +16,7 @@ package android.preference; +import android.annotation.UnsupportedAppUsage; import android.app.Dialog; import android.content.Context; import android.content.res.TypedArray; @@ -33,6 +34,7 @@ import com.android.internal.R; */ public class VolumePreference extends SeekBarDialogPreference implements PreferenceManager.OnActivityStopListener, View.OnKeyListener, SeekBarVolumizer.Callback { + @UnsupportedAppUsage private int mStreamType; /** May be null if the dialog isn't visible. */ @@ -52,6 +54,7 @@ public class VolumePreference extends SeekBarDialogPreference implements this(context, attrs, defStyleAttr, 0); } + @UnsupportedAppUsage public VolumePreference(Context context, AttributeSet attrs) { this(context, attrs, R.attr.seekBarDialogPreferenceStyle); } @@ -196,7 +199,9 @@ public class VolumePreference extends SeekBarDialogPreference implements } public static class VolumeStore { + @UnsupportedAppUsage public int volume = -1; + @UnsupportedAppUsage public int originalVolume = -1; } |
