Merge "vold: fix the range of stopped state of idleMaint" am: 289bcb5305
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2100921 Change-Id: I3fc7979d0d5bd5da8fe49ffd1da3589a7df2db5d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d7237292e3
1 changed files with 5 additions and 5 deletions
|
@ -450,17 +450,17 @@ int RunIdleMaint(bool needGC, const android::sp<android::os::IVoldTaskListener>&
|
|||
stopGc(paths);
|
||||
}
|
||||
|
||||
if (!gc_aborted) {
|
||||
Trim(nullptr);
|
||||
runDevGc();
|
||||
}
|
||||
|
||||
lk.lock();
|
||||
idle_maint_stat = IdleMaintStats::kStopped;
|
||||
lk.unlock();
|
||||
|
||||
cv_stop.notify_one();
|
||||
|
||||
if (!gc_aborted) {
|
||||
Trim(nullptr);
|
||||
runDevGc();
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
android::os::PersistableBundle extras;
|
||||
listener->onFinished(0, extras);
|
||||
|
|
Loading…
Reference in a new issue