Skip user restriction tests when synchronizing PDB

Some legacy user restrictions are tests when update the OEM lock bit in
the persistent data block. Those tests should be skipped when
synchronising the bit to the HAl's authoritative state. Before this
change, opening developer options on a freshly flashed and wipe device
would raise a SecurityException.

Test: Open developer options on a device using the vendor lock
Change-Id: I1481c9e9af3c4d2127ef606a797d3cf94b7b1ee5
3 files changed