mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
a2c088cded
commit
3308382277
|
@ -1229,7 +1229,7 @@ public class Helper {
|
||||||
|
|
||||||
static void excludeFromRecents(Context context) {
|
static void excludeFromRecents(Context context) {
|
||||||
try {
|
try {
|
||||||
ActivityManager am = Helper.getSystemService(context, ActivityManager.class);;
|
ActivityManager am = Helper.getSystemService(context, ActivityManager.class);
|
||||||
if (am == null)
|
if (am == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -2667,7 +2667,7 @@ public class Helper {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void clearAll(Context context) {
|
static void clearAll(Context context) {
|
||||||
ActivityManager am = Helper.getSystemService(context, ActivityManager.class);;
|
ActivityManager am = Helper.getSystemService(context, ActivityManager.class);
|
||||||
am.clearApplicationUserData();
|
am.clearApplicationUserData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue