From: Selim Cinek Date: Fri, 21 Jul 2017 23:18:21 +0000 (-0700) Subject: Not reseting the last fullscreenintent time when reinflating X-Git-Tag: android-x86-8.1-r1~126^2~6^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=da371df500dad0399e84dfefdbe4f70ee4d0dd04;p=android-x86%2Fframeworks-base.git Not reseting the last fullscreenintent time when reinflating It didn't make sense to reset the last fullscreen intent launch time when reinflating a notification, that should be totally independant. Test: manual, see test app in bug Change-Id: I3ae733ce95960042a98eb753a592845d4f49eb8c Fixes: 63391373 --- diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java index e5b1afe31370..68802b9432f4 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java @@ -107,7 +107,6 @@ public class NotificationData { * Resets the notification entry to be re-used. */ public void reset() { - lastFullScreenIntentLaunchTime = NOT_LAUNCHED_YET; if (row != null) { row.reset(); } @@ -122,6 +121,7 @@ public class NotificationData { } public void notifyFullScreenIntentLaunched() { + setInterruption(); lastFullScreenIntentLaunchTime = SystemClock.elapsedRealtime(); }