Merge changes I1024f2a5,If3f024a1 into security-aosp-nyc-mr1-release

* changes:
  Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable.
  Prevent writing to FRP partition during factory reset.