Force all apps content to be alpha 0 when plugin is in place

Bug: 155114822

Change-Id: I9b2d10d5c009c3bb4fb2cf4cb4d9ff50153eba39
This commit is contained in:
Hyunyoung Song
2020-04-27 21:57:02 -07:00
parent 482435c01b
commit 898bd99116

View File

@@ -230,6 +230,8 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
hasAllAppsContent, setter, headerFade, allAppsFade);
} else {
setter.setViewAlpha(mPluginContent, hasAllAppsContent ? 1 : 0, allAppsFade);
setter.setViewAlpha(mAppsView.getContentView(), 0, allAppsFade);
setter.setViewAlpha(mAppsView.getScrollBar(), 0, allAppsFade);
}
mAppsView.getSearchUiManager().setContentVisibility(visibleElements, setter, allAppsFade);