Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -2890,6 +2890,7 @@ package android.app { } public class ActivityManager { method public boolean clearApplicationUserData(); method public void dumpPackageState(java.io.FileDescriptor, java.lang.String); method public android.content.pm.ConfigurationInfo getDeviceConfigurationInfo(); method public int getLargeMemoryClass(); core/java/android/app/ActivityManager.java +12 −1 Original line number Diff line number Diff line Loading @@ -1401,6 +1401,17 @@ public class ActivityManager { } } /** * Permits an application to erase its own data from disk. This is equivalent to * the user choosing to clear the app's data from within the device settings UI. * * @return {@code true} if the application successfully requested that the application's * data be erased; {@code false} otherwise. */ public boolean clearApplicationUserData() { return clearApplicationUserData(mContext.getPackageName(), null); } /** * Information you can retrieve about any processes that are in an error condition. */ Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -2890,6 +2890,7 @@ package android.app { } public class ActivityManager { method public boolean clearApplicationUserData(); method public void dumpPackageState(java.io.FileDescriptor, java.lang.String); method public android.content.pm.ConfigurationInfo getDeviceConfigurationInfo(); method public int getLargeMemoryClass();
core/java/android/app/ActivityManager.java +12 −1 Original line number Diff line number Diff line Loading @@ -1401,6 +1401,17 @@ public class ActivityManager { } } /** * Permits an application to erase its own data from disk. This is equivalent to * the user choosing to clear the app's data from within the device settings UI. * * @return {@code true} if the application successfully requested that the application's * data be erased; {@code false} otherwise. */ public boolean clearApplicationUserData() { return clearApplicationUserData(mContext.getPackageName(), null); } /** * Information you can retrieve about any processes that are in an error condition. */ Loading