mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 22:55:10 +00:00
What XML file?
This commit is contained in:
@@ -284,7 +284,6 @@ public class Device implements BaseLink.PackageReceiver {
|
|||||||
SharedPreferences preferences = context.getSharedPreferences("trusted_devices", Context.MODE_PRIVATE);
|
SharedPreferences preferences = context.getSharedPreferences("trusted_devices", Context.MODE_PRIVATE);
|
||||||
preferences.edit().remove(deviceId).apply();
|
preferences.edit().remove(deviceId).apply();
|
||||||
|
|
||||||
// FIXME : We delete all device info here, but the xml file still persists
|
|
||||||
SharedPreferences devicePreferences = context.getSharedPreferences(deviceId, Context.MODE_PRIVATE);
|
SharedPreferences devicePreferences = context.getSharedPreferences(deviceId, Context.MODE_PRIVATE);
|
||||||
devicePreferences.edit().clear().apply();
|
devicePreferences.edit().clear().apply();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user