commit | 1aeca095d380c3cef633d7f97588bc04000f3496 | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Mon Dec 11 18:24:03 2017 +0100 |
committer | Robin Lee <rgl@google.com> | Mon Dec 11 21:01:58 2017 +0100 |
tree | 31147d51acaaa928de3436793a2e5361525648d6 | |
parent | cb1056f9b439b8e504bcfe752a1034b8fb8e9911 [diff] |
Handle getActiveAdmins() == null safely. Test: adb install -r $OUT/system/priv-app/Settings/Settings.apk && adb shell am start -n com.android.settings/.DeviceAdminAdd --es android.app.extra.DEVICE_ADMIN_PACKAGE_NAME com.example.nonexistent Change-Id: I1e3cf406e8053f6dbf99669f33b7c16648c9c8f8 Fix: 70491813