summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2017-07-21 16:18:21 -0700
committer Selim Cinek <cinek@google.com> 2017-07-21 23:24:44 +0000
commitda371df500dad0399e84dfefdbe4f70ee4d0dd04 (patch)
tree4950ff2ff18cd6418b22604522c087ed2c43dd3a
parent504ea09356bbc20a61945afb79aadca429974ad8 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java2
1 files changed, 1 insertions, 1 deletions
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();
}