commit | 425c6a2c05b5a2ea612dc11bf3cf35ffd8d73404 | [log] [tgz] |
---|---|---|
author | Bojian Du <bojiandu@google.com> | Wed Aug 09 16:23:48 2023 +0000 |
committer | Bojian Du <bojiandu@google.com> | Thu Aug 10 12:54:57 2023 +0000 |
tree | d3c5cd9b9f4700670857d5722118ac3ca6e98f02 | |
parent | 84cad44d14168019375f47a6144821e84d7bd454 [diff] |
[DLC vNext] Guard usage of SystemProperty with Build.isDebuggable I found only 2 places where reading a SystemProperty is not guarded by Android build type check. There is another class com.android.devicelockcontroller.debug.DeviceCheckInClientDebug, but it is NOT used anywhere and it's clearly for debug purposes only. So I did not change it. Bug: b/290932848 Test: m RunDeviceLockControllerRoboTests Change-Id: Ib2ff7ece0cf8d33b57bba6e7c0648b8a1d26b170