Commit Graph

46684 Commits

Author SHA1 Message Date
Philip P. Moltmann da2c3badf9 Split PackageInstaller app into installation and permissions management
The two components were mostly independant for a long time. Since
I1e80a3f5e63d02b3859ecf74af21ca4c61f96874 the installation flow does
not grant any permissions anymore and the last connection between these
parts was broken.

The new app "com.android.packageinstaller" in
frameworks/base/packages/PackageInstaller will only handle (side load)
package installtion and uninstallation.

The exisiting app will be renamed to "com.android.permissioncontroller"
and only handle permission granting and permission management.

This change set also updates the make files to install the two apps on
the appropriate devices.

Test: Installed + uninstalled packages
Change-Id: I37dda69218ea2a703a6379bb5bcbd3449b3360ad
2018-07-31 14:50:26 -07:00
Hung-ying Tyan 9b8bd57174 Merge "Add more ro.vendor.build.*" am: 2e0fb33af8 am: 3868a7fd9a am: 05810d7802
am: da8f304a33

Change-Id: I05d09ce82445f19bea5537439cd34f458378d43d
2018-07-31 01:24:17 -07:00
Hung-ying Tyan da8f304a33 Merge "Add more ro.vendor.build.*" am: 2e0fb33af8 am: 3868a7fd9a
am: 05810d7802

Change-Id: I4b00fe479f9b99e5195d1d60e85f47c6b042d94f
2018-07-31 01:20:39 -07:00
Hung-ying Tyan 05810d7802 Merge "Add more ro.vendor.build.*" am: 2e0fb33af8
am: 3868a7fd9a

Change-Id: Ia9d73d6107435a406e0f9272414a00ba8c69b0e8
2018-07-31 01:16:59 -07:00
Hung-ying Tyan 3868a7fd9a Merge "Add more ro.vendor.build.*"
am: 2e0fb33af8

Change-Id: I9357d2e338198eb59ad7a9472bd82ca75177412a
2018-07-31 01:13:20 -07:00
Treehugger Robot 2e0fb33af8 Merge "Add more ro.vendor.build.*" 2018-07-31 08:07:57 +00:00
Max Bires 5520231e66 [automerger skipped] Merge "Adding VENDOR_SECURITY_PATCH to vendor partition build.prop" am: 7654023bcd -s ours am: 30d2628e03 -s ours am: 0acf7b6c60 -s ours
am: 27d22d42b6  -s ours

Change-Id: Ia9c291d52878c7d6e044767d896c51a0cd1aead2
2018-07-30 20:58:15 -07:00
Max Bires 27d22d42b6 [automerger skipped] Merge "Adding VENDOR_SECURITY_PATCH to vendor partition build.prop" am: 7654023bcd -s ours am: 30d2628e03 -s ours
am: 0acf7b6c60  -s ours

Change-Id: Ifbe0822c0961f50e98bda701a12d1cc8f5278916
2018-07-30 20:54:07 -07:00
Max Bires 0acf7b6c60 [automerger skipped] Merge "Adding VENDOR_SECURITY_PATCH to vendor partition build.prop" am: 7654023bcd -s ours
am: 30d2628e03  -s ours

Change-Id: Ib34927c397c75b17c2cc6f2389fbceb1f351cdf7
2018-07-30 20:48:57 -07:00
Max Bires 30d2628e03 [automerger skipped] Merge "Adding VENDOR_SECURITY_PATCH to vendor partition build.prop"
am: 7654023bcd  -s ours

Change-Id: I013772842886db3d2607976ce8e3e217b54d85b7
2018-07-30 20:43:47 -07:00
Treehugger Robot 7654023bcd Merge "Adding VENDOR_SECURITY_PATCH to vendor partition build.prop" 2018-07-31 03:33:36 +00:00
Xin Li 13689ed8a5 Don't build STS when it does not exist. am: ea0366589a am: 195c9c9d42
am: 7cfae24e9a

Change-Id: Icc679bf5aa5422958679f080f7867f3c53c8c4c9
2018-07-30 18:38:39 -07:00
Xin Li 7cfae24e9a Don't build STS when it does not exist. am: ea0366589a
am: 195c9c9d42

Change-Id: I5c4c612ece13ba9431b8c5bab9418e73e545b7e3
2018-07-30 18:26:22 -07:00
Xin Li 195c9c9d42 Don't build STS when it does not exist.
am: ea0366589a

Change-Id: Ie0db06f7f010a96887591b599304861e3cd6273e
2018-07-30 18:14:10 -07:00
Xin Li ea0366589a Don't build STS when it does not exist.
Change-Id: I7d5f6e11c7369fa473108605183581ad00e83887
2018-07-30 16:42:46 -07:00
TreeHugger Robot 77055445d4 Merge "Move ro.config.low_ram back to being a vendor property" 2018-07-30 21:44:50 +00:00
Mathieu Chartier 2781e8ba56 Move ro.config.low_ram back to being a vendor property
(cherry-picked from commit 2fb62c8ea0)

Bug: 110517986
Test: make
Merged-In: I1394ac1220c290533fbe9641d10c5997362577fd
Change-Id: I1394ac1220c290533fbe9641d10c5997362577fd
2018-07-30 20:12:52 +00:00
Yifan Hong cda5fa0bab Merge changes I1459d62f,I4c2b975e am: bb937a6b69 am: 8883a739b3 am: 22501a9e10
am: 141d55b7f5

Change-Id: I1b890831e87f91f1a77bbbcad17bfe1c3eea1cbe
2018-07-30 11:56:31 -07:00
Yifan Hong 141d55b7f5 Merge changes I1459d62f,I4c2b975e am: bb937a6b69 am: 8883a739b3
am: 22501a9e10

Change-Id: I4409e3583f998d050c88c9bac91bf75f23f75e7f
2018-07-30 11:51:10 -07:00
Yifan Hong 22501a9e10 Merge changes I1459d62f,I4c2b975e am: bb937a6b69
am: 8883a739b3

Change-Id: Ia108f3f84a35079c10b30659b9fa3f19cdfff489
2018-07-30 11:43:12 -07:00
Yifan Hong 8883a739b3 Merge changes I1459d62f,I4c2b975e
am: bb937a6b69

Change-Id: Ifdedee1b0251bc9c2a8baf30d28b5d315b5c9e20
2018-07-30 11:35:33 -07:00
Yifan Hong bb937a6b69 Merge changes I1459d62f,I4c2b975e
* changes:
  Build image for super partition
  productservices => product_services
2018-07-30 18:23:38 +00:00
Yifan Hong e3153a0102 Merge changes from topic "lrap_sysprop" am: 9c1264417f am: 48b23f3a0c am: 199a9911b6
am: 1dff2acd22

Change-Id: Ie20c3f131f1cf3fc0ff27c611dee6f36976fa06f
2018-07-30 10:59:25 -07:00
Yifan Hong 2d665030e8 Merge "Add PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS." am: 4f85bace12 am: 09e4e23a2f am: 1167815363
am: 50ab6e0f89

Change-Id: I83481ead65fd8f20549aa1eaa16fa9273f5ae690
2018-07-30 10:55:08 -07:00
Yifan Hong 1dff2acd22 Merge changes from topic "lrap_sysprop" am: 9c1264417f am: 48b23f3a0c
am: 199a9911b6

Change-Id: Id3c694329d8823b751fe316615d2ac8b9cb8dfdc
2018-07-30 10:51:03 -07:00
Yifan Hong 50ab6e0f89 Merge "Add PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS." am: 4f85bace12 am: 09e4e23a2f
am: 1167815363

Change-Id: Id27761d92853525d98d4899b81ae48fe6f14443e
2018-07-30 10:47:56 -07:00
Yifan Hong 199a9911b6 Merge changes from topic "lrap_sysprop" am: 9c1264417f
am: 48b23f3a0c

Change-Id: I1c5e038ed87f92c0137a339e41198038ddc18ffa
2018-07-30 10:45:32 -07:00
Yifan Hong 1167815363 Merge "Add PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS." am: 4f85bace12
am: 09e4e23a2f

Change-Id: I7b69b9780b273982a6b17bb23e04f1dd968ad56e
2018-07-30 10:42:45 -07:00
Yifan Hong 48b23f3a0c Merge changes from topic "lrap_sysprop"
am: 9c1264417f

Change-Id: I82335d291a5ae0a7fe82bb6742652b018943c699
2018-07-30 10:41:10 -07:00
Yifan Hong 09e4e23a2f Merge "Add PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS."
am: 4f85bace12

Change-Id: I01718232aa2de09b46785d029bdd70ff59b8d9d6
2018-07-30 10:38:33 -07:00
Yifan Hong 9c1264417f Merge changes from topic "lrap_sysprop"
* changes:
  ro.boot.logical_partitions moved to product image
  Fix collapse-pairs for last empty property
2018-07-30 17:30:50 +00:00
Yifan Hong 4f85bace12 Merge "Add PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS." 2018-07-30 17:29:51 +00:00
Jae Shin b3df4a51d5 Merge "Remove workaround for libclang_rt.ubsan* vndk libs" am: 6e5b55bf7f am: 3bd5e7204d am: 6fe8c185a2
am: 4890293b77

Change-Id: Icf1ea2642d8f70b7e2c6013262d6ab91bf483681
2018-07-29 21:42:46 -07:00
Jae Shin 4890293b77 Merge "Remove workaround for libclang_rt.ubsan* vndk libs" am: 6e5b55bf7f am: 3bd5e7204d
am: 6fe8c185a2

Change-Id: I1804ddc51015371747ae783d017aca8133b72f97
2018-07-29 21:39:06 -07:00
Jae Shin 6fe8c185a2 Merge "Remove workaround for libclang_rt.ubsan* vndk libs" am: 6e5b55bf7f
am: 3bd5e7204d

Change-Id: Ic98e8fa22dd4721b27f3586175b4a637510ee230
2018-07-29 21:34:28 -07:00
Jae Shin 3bd5e7204d Merge "Remove workaround for libclang_rt.ubsan* vndk libs"
am: 6e5b55bf7f

Change-Id: I00c11e37267ca6d23a513849b4b5a7fb91c66b13
2018-07-29 21:30:18 -07:00
Treehugger Robot 6e5b55bf7f Merge "Remove workaround for libclang_rt.ubsan* vndk libs" 2018-07-30 04:24:29 +00:00
Yifan Hong af9e7f04c3 ro.boot.logical_partitions moved to product image
Test: m productimage -j && cat $OUT/product/build.prop
Bug: 111909365
Change-Id: I62abd5602f6b2fe7eead9d636ffb7708df23fd02
2018-07-27 16:24:38 -07:00
Yifan Hong 285083e475 Fix collapse-pairs for last empty property
If the last token in the argument for collapse-pairs is
key=, then the following lines were written:
    key
    =
This patch fixes it so that key= is written instead.

Test: specify ro.boot.logical_partitions= at the end of
ADDITIONAL_PRODUCT_PROPERTIES and `cat $OUT/product/build.prop`
shows:
ro.boot.logical_partitions=

Change-Id: I33a0efb59871f0e36a93c8fae0d75f2735994301
2018-07-27 16:24:38 -07:00
Yifan Hong 37c0c7c82d Build image for super partition
... for bootstrapping / initializing the device.
Image is built to $(PRODUCT_OUT)/super.img when running
`m dist`. For A/B devices, the image contains other
partitions in the _a slot.

Change-Id: I1459d62f02b95f142dfb3b7608f88ec6801dbf37
Fixes: 111758129
Test: m superimage -j
2018-07-27 13:45:43 -07:00
Yifan Hong 0c3eb63eb3 Add PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS.
When it is true, all kernel requirements are enforced during OTA.
Otherwise:
- Kernel minor revision is not enforced.
- Kernel configs are not enforced.

Bug: 111840577
Test: `m dist` and inspect system_matrix.xml in OTA zip

Change-Id: I965ee5ef59ff48b600ebfab858ecf0909397fe6b
2018-07-27 12:42:11 -07:00
Mac Wang 565305947e Add product_launched_with_k.mk am: 8c3565d98d
am: fa69ea80f4

Change-Id: I65ea60a1dba0a6754a00fd90c283026c281afe39
2018-07-26 21:56:13 -07:00
Mac Wang fa69ea80f4 Add product_launched_with_k.mk
am: 8c3565d98d

Change-Id: Ia0f2f64a7cbccf28b40945ad83f3c94a1ed1e1e0
2018-07-26 21:53:03 -07:00
yangbill 394dcde3ac Merge "ATest: Sync auto_test_config for multilib modules" am: f2bea1b296 am: 7e7f79c138 am: aa595dc2bb
am: c9091eb3a0

Change-Id: I202ca6ca365cf753b8c75e28a196037572b921d9
2018-07-26 19:07:50 -07:00
yangbill c9091eb3a0 Merge "ATest: Sync auto_test_config for multilib modules" am: f2bea1b296 am: 7e7f79c138
am: aa595dc2bb

Change-Id: I3caf8f0ba218827c7d15b9904e5070804f9f2d62
2018-07-26 19:03:30 -07:00
yangbill aa595dc2bb Merge "ATest: Sync auto_test_config for multilib modules" am: f2bea1b296
am: 7e7f79c138

Change-Id: If750166d1ece0524f1a69306335e37341de0ff33
2018-07-26 19:00:21 -07:00
yangbill 7e7f79c138 Merge "ATest: Sync auto_test_config for multilib modules"
am: f2bea1b296

Change-Id: Ib7c467d7c6ad52beb5dcb911722594e20390260b
2018-07-26 18:55:12 -07:00
Treehugger Robot f2bea1b296 Merge "ATest: Sync auto_test_config for multilib modules" 2018-07-27 01:49:45 +00:00
Yifan Hong ebc041af56 productservices => product_services
Make names consistent.
Some things that does not change:
- productservicesimage target and intermediates

Test: build product services image
Bug: 111609632
Change-Id: I4c2b975e194577aad3d51b908b103880625deb5e
2018-07-26 17:19:02 -07:00
Colin Cross 0a57030ec4 Merge changes from topic "manifest_fixer_targetSdkVersion" am: 7b21221d2a am: 1ef3c64906 am: d4ed885137
am: 6ca83625e9

Change-Id: I0b27c13f0e7d9b79de56e250aa76c0a372d82f34
2018-07-26 15:57:41 -07:00