Merge "vold: fix the range of stopped state of idleMaint" into tm-dev
This commit is contained in:
commit
baee102002
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