4 Commits

Author SHA1 Message Date
Anton Hansson
a3e79fbb8c frameworks/base: Set LOCAL_SDK_VERSION where possible.
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
Change-Id: Ibcffec873a693d1c792ca210fb597d2bf37e9068
Merged-In: I4233b9091d9066c4fa69f3d24aaf367ea500f760
2018-02-28 17:15:21 +00:00
Craig Mautner
61e1e09a2b Change attribute values per API council.
lockTaskModeDefault => default
lockTaskModeNever => never
lockTaskModeIfWhitelisted => if_whitelisted
lockTaskModeAlways => always

Fixes bug 20642190.

Change-Id: I29cc546e12c330df9ec9af3cc91faf0d0f3df3b4
2015-05-12 10:26:13 -07:00
Craig Mautner
c21ae9ed22 Add API for putting up locktask pinning toast.
Fixes bug 18993662.

Change-Id: Ic1753285044857f8ea897784485fd1a9580acf25
2015-04-21 10:11:12 -07:00
Craig Mautner
2ad0bb46a4 Add tests for android:lockTaskMode.
Android app to exercise the new attribute.

For bug 19995702.

Change-Id: I0794301a6b677ec6367dd3ad99a40b5d3f9f1d7c
2015-04-15 14:27:56 -07:00