Loading core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -10405,7 +10405,7 @@ package android.content { method public abstract java.io.File getDatabasePath(String); method public int getDeviceId(); method public abstract java.io.File getDir(String, int); method @Nullable public android.view.Display getDisplay(); method @NonNull public android.view.Display getDisplay(); method @Nullable public final android.graphics.drawable.Drawable getDrawable(@DrawableRes int); method @Nullable public abstract java.io.File getExternalCacheDir(); method public abstract java.io.File[] getExternalCacheDirs(); core/java/android/content/Context.java +1 −1 Original line number Diff line number Diff line Loading @@ -7560,7 +7560,7 @@ public abstract class Context { * @throws UnsupportedOperationException if the method is called on an instance that is not * associated with any display. */ @Nullable @NonNull public Display getDisplay() { throw new RuntimeException("Not implemented. Must override in a subclass."); } Loading Loading
core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -10405,7 +10405,7 @@ package android.content { method public abstract java.io.File getDatabasePath(String); method public int getDeviceId(); method public abstract java.io.File getDir(String, int); method @Nullable public android.view.Display getDisplay(); method @NonNull public android.view.Display getDisplay(); method @Nullable public final android.graphics.drawable.Drawable getDrawable(@DrawableRes int); method @Nullable public abstract java.io.File getExternalCacheDir(); method public abstract java.io.File[] getExternalCacheDirs();
core/java/android/content/Context.java +1 −1 Original line number Diff line number Diff line Loading @@ -7560,7 +7560,7 @@ public abstract class Context { * @throws UnsupportedOperationException if the method is called on an instance that is not * associated with any display. */ @Nullable @NonNull public Display getDisplay() { throw new RuntimeException("Not implemented. Must override in a subclass."); } Loading