Make KEY_DSU_SLOT work

OEMs can customize the software installation process to better
suit their specific needs.

Bug: 275484855
Test: adb shell am start-activity \
  -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
  -a android.os.image.action.START_INSTALL \
  --el KEY_USERDATA_SIZE 2147483648 \
  --es KEY_DSU_SLOT test
Change-Id: I707976842eb1aefa1a3cb56532a44013f2422a95
This commit is contained in:
JW Wang
2023-05-04 13:34:03 +08:00
parent eab1735154
commit e2f4a4f561

View File

@@ -44,7 +44,7 @@ public class DynamicSystemService extends IDynamicSystemService.Stub {
private static final String TAG = "DynamicSystemService";
private static final long MINIMUM_SD_MB = (30L << 10);
private static final int GSID_ROUGH_TIMEOUT_MS = 8192;
private static final String PATH_DEFAULT = "/data/gsi/";
private static final String PATH_DEFAULT = "/data/gsi/dsu/";
private Context mContext;
private String mInstallPath, mDsuSlot;
private volatile IGsiService mGsiService;