summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SystemServer.java
diff options
context:
space:
mode:
authorHoward Chen <howardsoc@google.com>2021-03-17 03:08:59 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-17 03:08:59 +0000
commit2d73582c9b0ff75abf91a93b9ec0cf6fec9649e3 (patch)
tree59641dcb783b326679648b68c3b361122ceee29f /services/java/com/android/server/SystemServer.java
parent25cae5650009ad6a15792dda85278afc0a6df4d7 (diff)
parent0680e9475789155552613636ac55cc972a495c2e (diff)
Support PersistentDataBlockService in DSU am: 649c198cf3 am: 0680e94757
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1549485 Change-Id: I90d5775be4b8d62208ddcc5ba2031af3d379387b
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r--services/java/com/android/server/SystemServer.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index f710f7cde471..46ec65d7567c 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -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();