summaryrefslogtreecommitdiff
path: root/native/android/configuration.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2023-07-07 22:43:51 +0000
committer Eric Biggers <ebiggers@google.com> 2023-08-28 18:33:27 +0000
commit1a36783c785525dc73c811b084f1c3e6b7fb8b29 (patch)
tree619fe3fcd224c56f4ae99a6aebf18ed5cccd34f2 /native/android/configuration.cpp
parent6c8fb01159bf760c751e9fc3937512e4027d9699 (diff)
PolicyVersionUpgrader: fix ERROR + stacktrace on first boot
On first boot it is expected that the device_policies_version file doesn't exist yet, so properly handle this case. Bug: 280155081 Test: Booted Cuttlefish and verified that logcat no longer contains "DevicePolicyManager: Error reading version" and the stacktrace, but does contain "DevicePolicyManager: Upgrading from version 0" Change-Id: Ib0322997848fd86734a9e1e660a60274cfc8f15e Merged-In: Ib0322997848fd86734a9e1e660a60274cfc8f15e (cherry picked from commit a4e08889c049e7470d004932cf5e7b4650a82154)
Diffstat (limited to 'native/android/configuration.cpp')
0 files changed, 0 insertions, 0 deletions