* 'android16-security-release' of https://android.googlesource.com/platform/packages/apps/Settings: Hide sensistive content from locked profiles Ignore face settings extras when called by an external package. startActivityForResult with earlier new Intent Use correct API to get calling package name in CredentialStorage Prevent SettingsSliceProvider from accessing unused packages Hide notification content in history Do not enable the Content Protection toggle for non-admin users. Add ComponentName explicitly to make sure arbitary intents aren't launched from Settings. AppRestrictions - use vetted component Drop PendingIntent extras from external packages during enrollment. Change-Id: I2e6b262a366c24202897f3e040825f9e41d31a02
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest