mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-06-02 13:33:10 +01:00
Fix account inconsistency reset causing restore flow to show bug.
This commit is contained in:
@@ -23,11 +23,4 @@ public final class AppUtil {
|
||||
context.startActivity(defaultIntent);
|
||||
Runtime.getRuntime().exit(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all app data, will cause the app to stop running.
|
||||
*/
|
||||
public static void clearData(@NonNull Context context) {
|
||||
ContextCompat.getSystemService(context, ActivityManager.class).clearApplicationUserData();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user