commit | 92f2d257180a2acf3f9ad76922a60bed72a6df67 | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Thu Jul 29 21:16:13 2021 -0700 |
committer | Kevin Han <kevhan@google.com> | Thu Jul 29 21:35:26 2021 -0700 |
tree | 9fa3a5ce9ce1a30dac7d5561cc5fc7d745659166 | |
parent | f9bc5c75ce2cf2f2e0d7b506ee0a0e456540d695 [diff] |
Fix job running after first flash not doing anything We weren't actually writing the first boot time when the device first booted. Instead, we wrote it when the job was first run and no apps were unused because PermissionController thought we just were just flashed. This fixes it by preloading the boot time in the boot receiver. Bug: 188934515 Test: adb shell cmd jobscheduler run -u 0 -f com.google.android.permissioncontroller 2 Change-Id: I4b2c69179cd01e1a505fd330c9bb8062d84d2780