mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Moving slice loading on a background thread
> Also fixing slice icon loading, such that the request is cancelled if views are recycled quickly > Loading widget label on dg thread and cancelling request if views are recycled quickly. Bug: 179068415 Test: verified locally Change-Id: Id5a524e2bf596862330a8170394aef9ffd708544
This commit is contained in:
@@ -268,13 +268,10 @@ public class AllAppsTransitionController implements StateHandler<LauncherState>,
|
||||
&& !FeatureFlags.DISABLE_INITIAL_IME_IN_ALLAPPS.get() && BuildCompat.isAtLeastR()) {
|
||||
mInsetController.onAnimationEnd(mProgress);
|
||||
if (Float.compare(mProgress, 0f) == 0) {
|
||||
mLauncher.getLiveSearchManager().start();
|
||||
EditText editText = mAppsView.getSearchUiManager().getEditText();
|
||||
if (editText != null && !mInsetController.showSearchEduIfNecessary()) {
|
||||
editText.requestFocus();
|
||||
}
|
||||
} else {
|
||||
mLauncher.getLiveSearchManager().stop();
|
||||
}
|
||||
// TODO: should make the controller hide synchronously
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user