8 Commits

Author SHA1 Message Date
Todd Kennedy
356fe48224 Update prebuilts from build server
CtsShim.apk
versionCode='24' versionName='7.0-2996264'

CtsShimPriv.apk
versionCode='24' versionName='7.0-2996264'

Built here:
https://android-build.googleplex.com/builds/submitted/2996264/CtsShim/latest

This build is suitable for public release.

Bug: 29122339
Change-Id: I6533e3a3ed72de6d3887039e3e8cf527947c4166
2016-06-22 09:39:49 -07:00
Todd Kennedy
0d0b59c1e1 Update CTS shims
* define a update hash such that com.android.cts.priv.ctsshim can't
  be updated
* create a new APK to verify that <restrict-update> works as expected

Bug: 29311441
Change-Id: I61f3ae3dbd9c79b2dcdfbc30757af0f9a669fce6
2016-06-14 12:46:34 -07:00
Dan Willemsen
06b93912d5 CtsShim: Support building with tapas
This way the build server can build these apks, instead of the manual
process that was described in the README.

Bug: 29122339
Change-Id: I2d3d9924da908d501d3b1b07b4a317f8ad6f413f
2016-06-08 15:08:04 -07:00
Todd Kennedy
317d352de3 New non-priv prebuilt
Need to target API 24 and not 'N'

Bug: 29116156
Change-Id: Iec215f41147ca13e955b02dc57eaabee89589cf0
2016-06-06 09:38:49 -07:00
Todd Kennedy
51e458ebd0 New prebuilt
Need to target API 24 and not 'N'. Also made a small change to the docs

Bug: 29116156
Change-Id: I21c37aa04a4471ca6b3f7727e470129a78f92cf0
2016-06-03 10:16:12 -07:00
Todd Kennedy
ffe4fcbfcb Don't pre-opt shims
There's no code, so, no need to pre-opt the shims
Bug: 28398205

Change-Id: Ie7d33a59fafe963a6d60fa645d580fe1d770aba6
2016-05-03 11:11:39 -07:00
Todd Kennedy
20047d74d5 use prebuilt for the shim
The testing shim should be included as a prebuilt. This allows
us to destroy the signing key. This means that the shim can never
be upgraded in the field; aside from its intended purpose in
a CTS test.

Bug: 28398205
Change-Id: I033835d227416ff8aa6602abfc8b977c74cb666d
2016-05-02 14:24:00 -07:00
Todd Kennedy
5585dd971e Fix intent filter priorities
There are now three rules that guard intent filter priorities:
1) Only privileged applications will be granted a >0 priority
   filter [previously, _all_ system applications could do this]
2) There are certain actions that are considered protected [eg
   ACTION_VIEW, ACTION_SEND, ...] and even privileged applications
   will NOT be granted a >0 priority filter. There is one, and
   only one, exception for the SetupWizard.
3) Updates will NOT be granted a priority greater than the priority
   defined on the system image.

Bug: 27450489
Change-Id: Ifcec4d7a59e684331399abc41eea1bd6876155a4
2016-04-01 12:48:51 -07:00