commit | 522853818d20e4374d172283b1761d7fe78f9bee | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Fri Jan 17 18:28:59 2020 +0000 |
committer | Pavel Grafov <pgrafov@google.com> | Fri Jan 17 18:28:59 2020 +0000 |
tree | ecae299b1b64377808a1c53042001134eb7256e4 | |
parent | df747d155ee8a3830fc9cf7dd46669f3472d2370 [diff] |
Fix NPE during migration. User restrictions are null for PO parent admin, so we need to ensure they are initialized before adding. Bug: 147884539 Test: atest com.android.server.devicepolicy.DevicePolicyManagerServiceMigrationTest#testCompMigrationAffiliated Change-Id: I5024ac585e30081f944717cfe8d4b920b644213e