Skip to content
Commit 0e1b9dd5 authored by Tyler Dewey's avatar Tyler Dewey
Browse files

Pass userId from SafetyCenterManager to SafetyCenterService for all

APIs.

This puts us in line with go/android-api-guidelines#use-context-user
API-wise but leaves implementation for a later date. Some APIs may
support a multi-user scenario, others may throw an error when the user
ID in the API doesn't match the caller's identity or belongs to a
non-full user.

I also included a little bit of reformatting to make method calls and
definitions more readable.

Bug: 216794581
Test: m com.google.android.permission && adb install $OUT/system/apex/com.google.android.permission.apex && adb reboot && atest CtsSafetyCenterTestCases
Change-Id: Id9cc9ff4a62d4c49db14a3c8c1ca92144d532171
parent b26da854
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment