This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
When we don't kill Home, we get an Warning message:
"Warning: Activity not started, its current task has ben brought to
the front"
This causes the current parser to think the app didn't launch, because
it's looking in the wrong line. Adding +1 to each line, in the cases
where we launch Home
Test: locally
Change-Id: Ie232a57921ed7cf82a6f17b607fbb47591bcdbed
Agenda keeps failing. Need to more logging to know why
Contacts keeps getting killed. Again, need more logging
Test: local
Change-Id: I6930892d8a2eaa7ad410284fba9ed1c4980820f7
Wear needs specific changes that the platform team is unable to support.
Most of this code is an exact copy of the AppLaunch file, with a specific
check to not kill the app is Wear Home.
Change-Id: I2332416d61676b52518d6988849271e0b0777009