commit | 6a72017a84f6752cc80e948445fadb5c75e6d592 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Mar 25 22:43:28 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Mar 25 22:43:28 2020 +0000 |
tree | 94dab5804e2d4e8bab90d1dfef3fef3f7a7b4883 | |
parent | 239e05eccbc152ee8bc50006fe50afc5552886bb [diff] | |
parent | ca1c32537c94872393ca2d2568c5a251c0246913 [diff] |
Merge "Remove Edu notification if predictions are empty" into ub-launcher3-master
diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java index a7fb6e1..dd3802b 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java
@@ -258,6 +258,9 @@ && mLauncher.getOrientation() == Configuration.ORIENTATION_PORTRAIT) { mNotificationManager.notify(ONBOARDING_NOTIFICATION_ID, mNotification); } + else { + removeNotification(); + } } private void createNotificationChannel() {