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:
1 parent
0ca0188374
commit
24e489e5a3
7 files changed
+41
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user