Loading api/current.txt +2 −6 Original line number Diff line number Diff line Loading @@ -8228,8 +8228,6 @@ package android.content { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); Loading Loading @@ -9997,7 +9995,7 @@ package android.content.pm { field public java.lang.String permission; } public class ShortcutInfo implements android.os.Parcelable { public final class ShortcutInfo implements android.os.Parcelable { method public int describeContents(); method public android.content.ComponentName getActivityComponent(); method public android.os.PersistableBundle getExtras(); Loading Loading @@ -29493,7 +29491,7 @@ package android.os.health { method public android.os.health.HealthStats[] takeUidSnapshots(int[]); } public class TimerStat implements android.os.Parcelable { public final class TimerStat implements android.os.Parcelable { ctor public TimerStat(); ctor public TimerStat(int, long); ctor public TimerStat(android.os.Parcel); Loading Loading @@ -37967,8 +37965,6 @@ package android.test.mock { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); api/system-current.txt +2 −6 Original line number Diff line number Diff line Loading @@ -8539,8 +8539,6 @@ package android.content { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); Loading Loading @@ -10396,7 +10394,7 @@ package android.content.pm { field public java.lang.String permission; } public class ShortcutInfo implements android.os.Parcelable { public final class ShortcutInfo implements android.os.Parcelable { method public int describeContents(); method public android.content.ComponentName getActivityComponent(); method public android.os.PersistableBundle getExtras(); Loading Loading @@ -31809,7 +31807,7 @@ package android.os.health { method public android.os.health.HealthStats[] takeUidSnapshots(int[]); } public class TimerStat implements android.os.Parcelable { public final class TimerStat implements android.os.Parcelable { ctor public TimerStat(); ctor public TimerStat(int, long); ctor public TimerStat(android.os.Parcel); Loading Loading @@ -40710,8 +40708,6 @@ package android.test.mock { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); api/test-current.txt +2 −6 Original line number Diff line number Diff line Loading @@ -8234,8 +8234,6 @@ package android.content { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); Loading Loading @@ -10007,7 +10005,7 @@ package android.content.pm { field public java.lang.String permission; } public class ShortcutInfo implements android.os.Parcelable { public final class ShortcutInfo implements android.os.Parcelable { method public int describeContents(); method public android.content.ComponentName getActivityComponent(); method public android.os.PersistableBundle getExtras(); Loading Loading @@ -29559,7 +29557,7 @@ package android.os.health { method public android.os.health.HealthStats[] takeUidSnapshots(int[]); } public class TimerStat implements android.os.Parcelable { public final class TimerStat implements android.os.Parcelable { ctor public TimerStat(); ctor public TimerStat(int, long); ctor public TimerStat(android.os.Parcel); Loading Loading @@ -38039,8 +38037,6 @@ package android.test.mock { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); core/java/android/content/ContextWrapper.java +2 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ public class ContextWrapper extends Context { return mBase.getSharedPreferences(name, mode); } /** @removed */ @Override public SharedPreferences getSharedPreferences(File file, int mode) { return mBase.getSharedPreferences(file, mode); Loading Loading @@ -201,6 +202,7 @@ public class ContextWrapper extends Context { return mBase.getFileStreamPath(name); } /** @removed */ @Override public File getSharedPreferencesPath(String name) { return mBase.getSharedPreferencesPath(name); Loading core/java/android/content/pm/ShortcutInfo.java +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ import java.lang.annotation.RetentionPolicy; * * @see {@link ShortcutManager}. */ public class ShortcutInfo implements Parcelable { public final class ShortcutInfo implements Parcelable { /* @hide */ public static final int FLAG_DYNAMIC = 1 << 0; Loading Loading
api/current.txt +2 −6 Original line number Diff line number Diff line Loading @@ -8228,8 +8228,6 @@ package android.content { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); Loading Loading @@ -9997,7 +9995,7 @@ package android.content.pm { field public java.lang.String permission; } public class ShortcutInfo implements android.os.Parcelable { public final class ShortcutInfo implements android.os.Parcelable { method public int describeContents(); method public android.content.ComponentName getActivityComponent(); method public android.os.PersistableBundle getExtras(); Loading Loading @@ -29493,7 +29491,7 @@ package android.os.health { method public android.os.health.HealthStats[] takeUidSnapshots(int[]); } public class TimerStat implements android.os.Parcelable { public final class TimerStat implements android.os.Parcelable { ctor public TimerStat(); ctor public TimerStat(int, long); ctor public TimerStat(android.os.Parcel); Loading Loading @@ -37967,8 +37965,6 @@ package android.test.mock { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme();
api/system-current.txt +2 −6 Original line number Diff line number Diff line Loading @@ -8539,8 +8539,6 @@ package android.content { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); Loading Loading @@ -10396,7 +10394,7 @@ package android.content.pm { field public java.lang.String permission; } public class ShortcutInfo implements android.os.Parcelable { public final class ShortcutInfo implements android.os.Parcelable { method public int describeContents(); method public android.content.ComponentName getActivityComponent(); method public android.os.PersistableBundle getExtras(); Loading Loading @@ -31809,7 +31807,7 @@ package android.os.health { method public android.os.health.HealthStats[] takeUidSnapshots(int[]); } public class TimerStat implements android.os.Parcelable { public final class TimerStat implements android.os.Parcelable { ctor public TimerStat(); ctor public TimerStat(int, long); ctor public TimerStat(android.os.Parcel); Loading Loading @@ -40710,8 +40708,6 @@ package android.test.mock { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme();
api/test-current.txt +2 −6 Original line number Diff line number Diff line Loading @@ -8234,8 +8234,6 @@ package android.content { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme(); Loading Loading @@ -10007,7 +10005,7 @@ package android.content.pm { field public java.lang.String permission; } public class ShortcutInfo implements android.os.Parcelable { public final class ShortcutInfo implements android.os.Parcelable { method public int describeContents(); method public android.content.ComponentName getActivityComponent(); method public android.os.PersistableBundle getExtras(); Loading Loading @@ -29559,7 +29557,7 @@ package android.os.health { method public android.os.health.HealthStats[] takeUidSnapshots(int[]); } public class TimerStat implements android.os.Parcelable { public final class TimerStat implements android.os.Parcelable { ctor public TimerStat(); ctor public TimerStat(int, long); ctor public TimerStat(android.os.Parcel); Loading Loading @@ -38039,8 +38037,6 @@ package android.test.mock { method public java.lang.String getPackageResourcePath(); method public android.content.res.Resources getResources(); method public android.content.SharedPreferences getSharedPreferences(java.lang.String, int); method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); method public java.io.File getSharedPreferencesPath(java.lang.String); method public java.lang.Object getSystemService(java.lang.String); method public java.lang.String getSystemServiceName(java.lang.Class<?>); method public android.content.res.Resources.Theme getTheme();
core/java/android/content/ContextWrapper.java +2 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ public class ContextWrapper extends Context { return mBase.getSharedPreferences(name, mode); } /** @removed */ @Override public SharedPreferences getSharedPreferences(File file, int mode) { return mBase.getSharedPreferences(file, mode); Loading Loading @@ -201,6 +202,7 @@ public class ContextWrapper extends Context { return mBase.getFileStreamPath(name); } /** @removed */ @Override public File getSharedPreferencesPath(String name) { return mBase.getSharedPreferencesPath(name); Loading
core/java/android/content/pm/ShortcutInfo.java +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ import java.lang.annotation.RetentionPolicy; * * @see {@link ShortcutManager}. */ public class ShortcutInfo implements Parcelable { public final class ShortcutInfo implements Parcelable { /* @hide */ public static final int FLAG_DYNAMIC = 1 << 0; Loading