Commit 5ae6743
committed
patch expiry warning: handle System UI force stops
The JobScheduler service will cancel jobs from apps that have been force stopped. In SystemUI's
case, the app seems to still run when the main user force stops the app, but the intent that is
broadcast on app force stopped is still fired off. JobSchedulerService log output beforehand:
Got android.intent.action.PACKAGE_RESTARTED for 10125/com.android.systemui
Pulled stopped state of com.android.systemui (10125): false
Removing jobs for pkg com.android.systemui at uid 10125
CANCEL: b9480f5 #u0a125/450000 com.android.systemui/.patchlevelwarning.PeriodicPatchLevelExpiryCheck
Got android.intent.action.PACKAGE_UNSTOPPED for 10125/com.android.systemui1 parent 3060dd4 commit 5ae6743
File tree
2 files changed
+36
-2
lines changed- packages/SystemUI/src/com/android/systemui
- keyguard
- patchlevelwarning
2 files changed
+36
-2
lines changedLines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1451 | 1457 | | |
1452 | 1458 | | |
1453 | 1459 | | |
| |||
1694 | 1700 | | |
1695 | 1701 | | |
1696 | 1702 | | |
1697 | | - | |
| 1703 | + | |
| 1704 | + | |
1698 | 1705 | | |
1699 | 1706 | | |
1700 | 1707 | | |
| |||
2855 | 2862 | | |
2856 | 2863 | | |
2857 | 2864 | | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
2858 | 2881 | | |
2859 | 2882 | | |
2860 | 2883 | | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
2861 | 2887 | | |
2862 | 2888 | | |
2863 | 2889 | | |
| |||
2876 | 2902 | | |
2877 | 2903 | | |
2878 | 2904 | | |
| 2905 | + | |
2879 | 2906 | | |
2880 | | - | |
| 2907 | + | |
2881 | 2908 | | |
2882 | 2909 | | |
2883 | 2910 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
149 | 156 | | |
150 | 157 | | |
151 | 158 | | |
| |||
0 commit comments