summaryrefslogtreecommitdiff
path: root/tests/SharedLibraryLoadingTest/AndroidTest.xml
diff options
context:
space:
mode:
author Roberto Cosenza <robcos@google.com> 2023-06-06 11:27:38 +0100
committer Roberto Cosenza <robcos@google.com> 2023-07-13 15:20:12 +0000
commite0b3ad2e65f205d37bb7dc1a1a22bf3db672ed1a (patch)
treeaf18a985ad2badb23bc64597a02c897dbb047baa /tests/SharedLibraryLoadingTest/AndroidTest.xml
parent0073d0927d9768df383ac773925f8731b5cb4822 (diff)
Don't initialize the People Service at boot but on demand.
The service is not used by any known apps and we don't used any of it's data. By making the service lazy, we may gain some ms at boot and still preserve its functionality. Note that the associated PeopleServiceTest.java had to be modified slightly because of a bug with the test itself. The test was not emulating the change to the boot phase and therefore it was not running the full initialization of the service. Making it lazy, forces the test to comply. Test: Run the unchanged CTS test with `atest android.app.people.cts.PeopleManagerTest` and `atest com.android.server.people.PeopleServiceTest`x Skip-CP-To-Master: We need to look at a different strategy for master https://b.corp.google.com/issues/286193387 Bug: 285828603 Bug: 286193387 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:062eda268fa33bee3364931b9b6eb293af5f718b) Merged-In: I1db9446dbcabd7f9e8b1fdc0390b021f1e0185fa Change-Id: I1db9446dbcabd7f9e8b1fdc0390b021f1e0185fa
Diffstat (limited to 'tests/SharedLibraryLoadingTest/AndroidTest.xml')
0 files changed, 0 insertions, 0 deletions