Adds the ability for Launcher3 to respond to QSB alpha change requests.

Test: Tested locally
BUG:124063782
Change-Id: I8c4bfaa62d9608fcfffff5e30b2913f3a6fb2f75
(cherry picked from commit 827f0807d3)
This commit is contained in:
Govinda Wasserman authored and Sunny Goyal committed 2019-04-03 17:33:55 +00:00
1 parent 0ca0188374
commit 24e489e5a3
7 files changed
+41

No files matched your search

+7
View File
@@ -408,6 +408,13 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
onIdpChanged(idp);
}
public void setQuickSearchBarAlpha(float alpha) {
View qsbAllApps = findViewById(R.id.search_container_all_apps);
if (qsbAllApps != null) {
qsbAllApps.setAlpha(alpha);
}
}
private void onIdpChanged(InvariantDeviceProfile idp) {
mUserEventDispatcher = null;