diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2017-04-24 11:18:03 -0600 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2017-04-24 13:20:46 -0600 |
| commit | 30e06bb668f2e4b024c4ebc2a131de91c96de5eb (patch) | |
| tree | 23912af279b2c4c54de4b213712eb8528dfd34c3 /core/java/android/app/Activity.java | |
| parent | 4d23f258d4c15df9329d9c66ee902afa78cebca7 (diff) | |
Even more auto-doc work.
Update docs based on what new lint detector found. Add new @IntDef
to parameters or methods returning constants or flags, and add
@RequiresPermission to methods mentioning permissions.
Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I7f640f7883fcb66b911a52ae93b83f77306571ec
Diffstat (limited to 'core/java/android/app/Activity.java')
| -rw-r--r-- | core/java/android/app/Activity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 1b972f79e48c..e4d2d132fced 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -5844,7 +5844,7 @@ public class Activity extends ContextThemeWrapper * @return Returns the single SharedPreferences instance that can be used * to retrieve and modify the preference values. */ - public SharedPreferences getPreferences(int mode) { + public SharedPreferences getPreferences(@Context.PreferencesMode int mode) { return getSharedPreferences(getLocalClassName(), mode); } |
