Skip to content

Commit

Permalink
fixing uninstall issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nmitsou committed Jul 26, 2016
1 parent c9b3653 commit b88bf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/fr/neamar/kiss/DataHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public void removeShortcuts(String packageName) {

public void removeFromExcluded(String packageName) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this.context);
String excluded = prefs.getString("excluded-apps-list", "");
String excluded = prefs.getString("excluded-apps-list", context.getPackageName() + ";");
prefs.edit().putString("excluded-apps-list", excluded.replaceAll(packageName + ";", "")).apply();
}

Expand Down

0 comments on commit b88bf19

Please sign in to comment.