File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
app/src/main/java/io/github/xausky/unitymodmanager/utils Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11package io .github .xausky .unitymodmanager .utils ;
22
3- import android .app .backup .SharedPreferencesBackupHelper ;
43import android .content .Context ;
54import android .content .SharedPreferences ;
65import android .database .Cursor ;
76import android .database .sqlite .SQLiteDatabase ;
87
9- import com .google .android .gms .common .util .SharedPreferencesUtils ;
108import com .topjohnwu .superuser .Shell ;
119
12- import org .apache .commons .io .FileUtils ;
1310import org .json .JSONObject ;
1411
15- import java .io .File ;
16-
1712import static android .content .Context .MODE_PRIVATE ;
1813
1914public class BackupUtil {
@@ -64,7 +59,7 @@ public static void restoreKuroGame(Context context, byte[] data) {
6459 }
6560 }
6661 SharedPreferences sharedPreferences = context .getSharedPreferences ("devicesyn" , MODE_PRIVATE );
67- sharedPreferences .edit ().putString ("fake_device_id " , root .getString ("device_id" )).commit ();
62+ sharedPreferences .edit ().putString ("device_id " , root .getString ("device_id" )).commit ();
6863 } catch (Exception e ) {
6964 throw new RuntimeException (e );
7065 } finally {
You can’t perform that action at this time.
0 commit comments