Update WallpaperMenuFragment.java
This commit is contained in:
@@ -133,11 +133,11 @@ public class WallpaperMenuFragment extends MaterialPreferenceToolbarFragment{
|
||||
}
|
||||
}
|
||||
|
||||
private static void removeStickCache(){
|
||||
private void removeStickCache(){
|
||||
SharedPreferences prefs = getContext().getSharedPreferences("stickers", Context.MODE_PRIVATE);
|
||||
SharedPreferences prefs2 = getContext().getSharedPreferences("stickers_storage", Context.MODE_PRIVATE);
|
||||
prefs.edit().clear().commit();
|
||||
prefs2.edit().clear().commit();
|
||||
prefs.edit().clear().apply();
|
||||
prefs2.edit().clear().apply();
|
||||
deleteCache();
|
||||
ImEngineProvider.b().a();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user