Support PersistentDataBlockService in DSU am: 649c198cf3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1549485 Change-Id: I29806aed4a2a9497237811b5b9b5b9ecb9b6cec8
This commit is contained in:
@@ -332,8 +332,6 @@ 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;
|
||||
@@ -1443,8 +1441,7 @@ public final class SystemServer {
|
||||
t.traceEnd();
|
||||
|
||||
final boolean hasPdb = !SystemProperties.get(PERSISTENT_DATA_BLOCK_PROP).equals("");
|
||||
final boolean hasGsi = SystemProperties.getInt(GSI_RUNNING_PROP, 0) > 0;
|
||||
if (hasPdb && !hasGsi) {
|
||||
if (hasPdb) {
|
||||
t.traceBegin("StartPersistentDataBlock");
|
||||
mSystemServiceManager.startService(PersistentDataBlockService.class);
|
||||
t.traceEnd();
|
||||
|
||||
Reference in New Issue
Block a user