Replace withCleanCallingIdentity with [clear|restore]CallingIdentity

To prevent using @hide method - withCleanCallingIdentity() from
mainline module, use clearCallingIdentity() &
restoreCallingIdentity() instead.

Bug: 172183305
Test: FrameworksNetTests, CtsNetTestCasesLatestSdk
Change-Id: I8221bb8717ba6809c5087ea2808cd4ccef948cfd
1 file changed
tree: dfa012a859d096086905d7277a14a084ae22d462
  1. core/
  2. framework/
  3. service/
  4. services/
  5. tests/
  6. OWNERS