| | |
| | | Class[] argTypes = new Class[]{HashMap.class}; |
| | | Method setCustomDatabaseFiles = debugDB.getMethod("setCustomDatabaseFiles", argTypes); |
| | | HashMap<String, Pair<File, String>> customDatabaseFiles = new HashMap<>(); |
| | | customDatabaseFiles.put("base_database", new Pair<>(new File(Constants.baseDatabasePath), "")); |
| | | customDatabaseFiles.put("sync_database", new Pair<>(new File(Constants.syncDatabasePath), "")); |
| | | customDatabaseFiles.put("cache_database", new Pair<>(new File(Constants.cacheDatabasePath), "")); |
| | | customDatabaseFiles.put("xxbase_database", new Pair<>(new File(Constants.baseDatabasePath), "")); |
| | | // customDatabaseFiles.put("sync_database", new Pair<>(new File(Constants.syncDatabasePath), "")); |
| | | // customDatabaseFiles.put("cache_database", new Pair<>(new File(Constants.cacheDatabasePath), "")); |
| | | setCustomDatabaseFiles.invoke(null, customDatabaseFiles); |
| | | } catch (Exception ignore) { |
| | | ignore.printStackTrace(); |