commit | 32bf6cd6509a9cd5a81b1b319ee5ce8973301ae5 | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Wed Mar 25 13:42:23 2020 -0700 |
committer | Samuel Fufa <sfufa@google.com> | Thu Mar 26 00:32:13 2020 +0000 |
tree | 7ee92da20b7298e43c50d4e7e60a410949ba4dc7 | |
parent | cac6ef1ee97d51bf1587560a93e35b6a890f98b7 [diff] |
Remove Edu notification if predictions are empty Bug: 142753423 Test: Manual Change-Id: I1111fa15b9b677bb077478309a185e70e6784bce (cherry picked from commit ca1c32537c94872393ca2d2568c5a251c0246913)
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 da58817..d68c3f5 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
@@ -238,6 +238,9 @@ && mLauncher.getOrientation() == Configuration.ORIENTATION_PORTRAIT) { mNotificationManager.notify(ONBOARDING_NOTIFICATION_ID, mNotification); } + else { + removeNotification(); + } } private void createNotificationChannel() {