commit | ca1c32537c94872393ca2d2568c5a251c0246913 | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Wed Mar 25 13:42:23 2020 -0700 |
committer | Samuel Fufa <sfufa@google.com> | Wed Mar 25 13:42:23 2020 -0700 |
tree | 7e2ac6606c0b25468fb50f24d5cdd6ce7f6fdc07 | |
parent | dc3eb8642b33ca9a556bdf5899303396f5f75a87 [diff] |
Remove Edu notification if predictions are empty Bug: 142753423 Test: Manual Change-Id: I1111fa15b9b677bb077478309a185e70e6784bce
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() {