Merge "vold: fix the range of stopped state of idleMaint" am: 289bcb5305
am: d7237292e3
am: 684554549d
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2100921 Change-Id: If02e0b9392a5124653911e42e71eee2e5537818c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
b56efd29a7
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