summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/Prefs.java
diff options
context:
space:
mode:
authorWinson <winsonc@google.com>2016-08-25 15:00:14 -0700
committerWinson <winsonc@google.com>2016-08-30 15:01:49 -0700
commitb258f6a4bd685e5efcb36c02d5817f659e10479b (patch)
treebb4444678727b5bd340506949b04950e6feba232 /packages/SystemUI/src/com/android/systemui/Prefs.java
parent8a4db04893ae6d9e007871751f1cc9029056e766 (diff)
Fixing issue with old tasks being visible in Overview
- This CL does two things, firstly, it ensures that all first & last active times are monotonically increasing and independent of the current system time. This allows us to better keep track of which tasks are historical and should be hidden, and which are not. Secondly, this CL moves the tracking of the last visible active time into the system (per user) where it can be adjusted along with the task active times when they are loaded. - Following this CL, all active times in the future will be adjusted on boot such that old tasks are made relative to the current boot time. It’s not important exactly what time they are, only that they are adjusted along with the last visible task active time so that we always keep track of what is visible. Bug: 28908500 Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/Prefs.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/Prefs.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/Prefs.java b/packages/SystemUI/src/com/android/systemui/Prefs.java
index 19ae2954bb2a..b9ae585c339c 100644
--- a/packages/SystemUI/src/com/android/systemui/Prefs.java
+++ b/packages/SystemUI/src/com/android/systemui/Prefs.java
@@ -49,6 +49,7 @@ public final class Prefs {
Key.QS_WORK_ADDED,
})
public @interface Key {
+ @Deprecated
String OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME = "OverviewLastStackTaskActiveTime";
String DEBUG_MODE_ENABLED = "debugModeEnabled";
String HOTSPOT_TILE_LAST_USED = "HotspotTileLastUsed";