Skip to content
Snippets Groups Projects
Commit 6bede1ee authored by Howard Chen's avatar Howard Chen
Browse files

Fix the DSU notification behavior

The 'mOneShot' should default to 'true' to prevent accidental activation of the sticky mode in the system.

Bug: 339788967
Test: adb shell am start-activity \
    -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
    -a android.os.image.action.START_INSTALL \
    -d file:///storage/emulated/0/Download/system.raw.gz \
    --el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
    --el KEY_USERDATA_SIZE 4294967296

Change-Id: Iad40d9923fa0680f6e8f37690bed817af2a19f04
parent bf88ecf8
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ public class DynamicSystemInstallationService extends Service
// This is for testing only now
private boolean mEnableWhenCompleted;
private boolean mOneShot;
private boolean mOneShot = true;
private boolean mHideNotification;
private InstallationAsyncTask.Progress mInstallTaskProgress;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment