Change factoryReset to succeed for Settings

Wrap a part of factoryReset with Binder.withCleanCallingIdentity() so
that it doesn't crash thinking that a different uid connected to the
network stack.

Bug: 135029349
Test: build, manual
Change-Id: Iea246a4c1939a4e7e35434137051835ece81d92f
1 file changed
tree: 4dd00703d71620851d506f3f8533a1718f8acef0
  1. core/
  2. services/
  3. tests/