Loading services/java/com/android/server/SystemServer.java +4 −1 Original line number Diff line number Diff line Loading @@ -278,6 +278,8 @@ public final class SystemServer { private static final String UNCRYPT_PACKAGE_FILE = "/cache/recovery/uncrypt_file"; private static final String BLOCK_MAP_FILE = "/cache/recovery/block.map"; private static final String GSI_RUNNING_PROP = "ro.gsid.image_running"; // maximum number of binder threads used for system_server // will be higher than the system default private static final int sMaxBinderThreads = 31; Loading Loading @@ -1167,7 +1169,8 @@ public final class SystemServer { traceEnd(); final boolean hasPdb = !SystemProperties.get(PERSISTENT_DATA_BLOCK_PROP).equals(""); if (hasPdb) { final boolean hasGsi = SystemProperties.getInt(GSI_RUNNING_PROP, 0) > 0; if (hasPdb && !hasGsi) { traceBeginAndSlog("StartPersistentDataBlock"); mSystemServiceManager.startService(PersistentDataBlockService.class); traceEnd(); Loading Loading
services/java/com/android/server/SystemServer.java +4 −1 Original line number Diff line number Diff line Loading @@ -278,6 +278,8 @@ public final class SystemServer { private static final String UNCRYPT_PACKAGE_FILE = "/cache/recovery/uncrypt_file"; private static final String BLOCK_MAP_FILE = "/cache/recovery/block.map"; private static final String GSI_RUNNING_PROP = "ro.gsid.image_running"; // maximum number of binder threads used for system_server // will be higher than the system default private static final int sMaxBinderThreads = 31; Loading Loading @@ -1167,7 +1169,8 @@ public final class SystemServer { traceEnd(); final boolean hasPdb = !SystemProperties.get(PERSISTENT_DATA_BLOCK_PROP).equals(""); if (hasPdb) { final boolean hasGsi = SystemProperties.getInt(GSI_RUNNING_PROP, 0) > 0; if (hasPdb && !hasGsi) { traceBeginAndSlog("StartPersistentDataBlock"); mSystemServiceManager.startService(PersistentDataBlockService.class); traceEnd(); Loading