Commit Graph

1012 Commits

Author SHA1 Message Date
TreeHugger Robot
f8e7ff9175 Merge "Change the impl lib name of java_sdk_library" 2019-01-16 10:47:25 +00:00
Anton Hansson
14a4f42bba Merge "Move settings intelligence grant file to /product" am: eaeedb1c0d am: d6e981eaa0
am: a78fb89cb0

Change-Id: I05dcf630fd493d17d8fe51c4090d1cbdb4efb10b
2019-01-16 02:15:46 -08:00
Sundong Ahn
b7540bf1a3 Change the impl lib name of java_sdk_library
The impl lib name of java_sdk_library is changed to {module_name}.jar
instead of {module_name}.impl.jar
android.test.mock.impl is removed from stubs_defaults.
RepetitiveTest class is added to public API in android.test.base

Bug: 110404779
Test: m -j
Change-Id: I5dd7f3a28bc22136b4e921de3eb5a3e77e5fc75f
2019-01-16 12:20:55 +09:00
Michal Karpinski
7093732100 Merge "Add a new START_ACTIVITIES_FROM_BACKGROUND signature|privileged|vendorPrivileged|oem permission" 2019-01-15 14:36:41 +00:00
Anton Hansson
13dd25747f Merge "Move a set of app privapp grants to /product" am: 65f8be9940 am: 65200e83c2
am: ea2ee8d2ba

Change-Id: Ie01d987cbc547424cee7d82d2ebc54192f492e4d
2019-01-15 06:19:02 -08:00
Anton Hansson
d231ab271c Merge "Split out more privapp permissions" am: 7e620669cf am: 530a86ef3a
am: 2dd31acf42

Change-Id: I5a18b51e5f66f9782e77dbee7b57716bb9b48b14
2019-01-15 06:08:46 -08:00
Anton Hansson
edd61059d8 Move settings intelligence grant file to /product
The app is moving to /product, so move its privapp permission
grant along with it.

Bug: 122353713
Test: make
Test: boot aosp product
Change-Id: Ib4041ac5e39fa037939326db9c858db78d31d51b
2019-01-15 10:34:44 +00:00
Anton Hansson
221f4d4614 Move a set of app privapp grants to /product
These apps are moving to /product, so move the grant
files to /product as well.

Bug: 122353713
Test: make
Test: boot aosp product
Change-Id: Ief20d30ddb834a63cec8ed070022bb5165e07497
2019-01-15 10:33:38 +00:00
Anton Hansson
27eedf5052 Split out more privapp permissions
These apps are all moving to /product, so split them
out of the grant file on /system. For now, make them
required by the /system file. As part of moving the
an app to /product, the grant file will be made required
by the app itself.

Bug: 122353713
Test: make
Exempt-From-Owner-Approval: approved already
Change-Id: If207576d1e78037159051de25a733d90c1cb29c8
2019-01-15 10:32:32 +00:00
Anton Hansson
099d53b9cb Separate privapp grant for settings.intelligence
This app is moving to /product, so split it out of the grant
file on /system. For now, make it required by the /system file.
As part of moving the an app to /product, the grant file will
be made required by the app itself.

Bug: 122353713
Test: make
Exempt-From-Owner-Approval: approved already
Change-Id: I994137279b2c25938fd9967027f606a88bb39468
Merged-In: I994137279b2c25938fd9967027f606a88bb39468
2019-01-15 10:30:19 +00:00
Michal Karpinski
7b97a0267b Add a new START_ACTIVITIES_FROM_BACKGROUND
signature|privileged|vendorPrivileged|oem
permission

And grant it to SystemUI and Shell (adb shell am start).

Bug: 110956953
Test: atest WmTests:ActivityStarterTests
Change-Id: I4885a9a62ee8d47a3aef85f0e34b746c3f51ca2b
2019-01-14 18:13:47 +00:00
Anton Hansson
1e4e66e756 Separate privapp grant for settings.intelligence
This app is moving to /product, so split it out of the grant
file on /system. For now, make it required by the /system file.
As part of moving the an app to /product, the grant file will
be made required by the app itself.

Bug: 122353713
Test: make
Change-Id: I994137279b2c25938fd9967027f606a88bb39468
2019-01-14 15:16:49 +00:00
Anton Hansson
7736426465 Convert data/etc/Android.mk to blueprint
Should produce identical artifacts.

Test: boot blueline
Change-Id: Iad06f3efc727d97bdef3d4a7cec9b2b1fbc775b9
Merged-In: Iad06f3efc727d97bdef3d4a7cec9b2b1fbc775b9
(cherry picked from commit 8fe7b41bc9)
2019-01-14 09:24:21 +00:00
Anton Hansson
77cf075561 Merge "Move Settings privapp-permissions to /product" 2019-01-14 09:06:25 +00:00
Anton Hansson
b7909f3a2b Move SystemUI and its permissions to /product
Since this app is frequently customized by OEMs, it doesn't
fit in the mainline /system image right now. Move it to
/product.

Bug: 110072687
Test: make
Test: boot blueline
Test: atest SystemUITests
Change-Id: If27bcccd62f239f716db5ee7f4f1418d936e1cf4
Merged-In: If27bcccd62f239f716db5ee7f4f1418d936e1cf4
(cherry picked from commit 9068f65e4f)
2019-01-11 16:32:33 +00:00
Anton Hansson
60027be024 Move Settings privapp-permissions to /product
The app is moving to /product, so move the permission
grants as well.

Bug: 110072687
Test: boot blueline
Change-Id: I34fcab908db5b7a96a50b45bb45941282b05a82d
Merged-In: I34fcab908db5b7a96a50b45bb45941282b05a82d
(cherry picked from commit 948abe768e)
2019-01-11 16:29:00 +00:00
Anton Hansson
2012be2471 Move Settings/SystemUI permissions to separate files
This makes it possible to move the permission around separately
from all the other permissions. This permission file is included
automatically when the respective app is included.

Bug: 110072687
Test: make
Change-Id: I91b30561d4a4000334ffbf3b98bb632d962f4b97
Merged-In: I91b30561d4a4000334ffbf3b98bb632d962f4b97
2019-01-11 16:24:28 +00:00
Santiago Etchebehere
9915bcb248 Update fonts.xml with user customization fonts.
Reapply the change reverted in ag/5943332 now that
    ag/5979911 fixed the font issue.

Bug: 118756857
Test: make
Change-Id: I1aefbad199e2717b3e5027c37c301b47fefff684
2019-01-09 15:09:35 -08:00
Remi NGUYEN VAN
6206098206 Merge "Add priv-app permissions for NetworkStack" am: f012a17962 am: b5d67e5d90
am: 12c6c157c2

Change-Id: I96c955fd22da183d90697bd1bcd34deaa307a693
2019-01-09 05:47:54 -08:00
Sanry Huang
b35a2fc2bb Merge "Cleanup usages of MANAGE_ACTIVITY_STACKS permission" 2019-01-09 12:16:27 +00:00
Remi NGUYEN VAN
f012a17962 Merge "Add priv-app permissions for NetworkStack" 2019-01-09 09:14:12 +00:00
Remi NGUYEN VAN
5dbf057436 Add priv-app permissions for NetworkStack
Bug: b/112869080
Test: m, flashed, booted
Change-Id: Ia2cf0f708d815a5e5f49924fb15bb9c728f4ad56
2019-01-09 10:41:44 +09:00
Seigo Nonaka
6cbaa4fbcd Merge "Use Myanmar ZawDecode font for elegant height text" 2019-01-07 19:06:34 +00:00
Anton Hansson
b8f6d0d5bf Move default sounds to /product
The set of audio files is frequently customized, so move the default
set to /product. The frameworks scans both of these directories.

Bug: 80410283
Bug: 118826166
Test: verify sounds available in soundpicker
Change-Id: I3bfc71b46eb64b4d4614b62c65fb8821bf1c271a
2019-01-07 14:16:56 +00:00
Anton Hansson
5113c0cf17 Move default sounds to /product
The set of audio files is frequently customized, so move the default
set to /product. The frameworks scans both of these directories.

Bug: 80410283
Bug: 118826166
Test: verify sounds available in soundpicker
Change-Id: I3bfc71b46eb64b4d4614b62c65fb8821bf1c271a
Merged-In: I3bfc71b46eb64b4d4614b62c65fb8821bf1c271a
2019-01-07 14:16:52 +00:00
Tor Norbye
2066ded373 Revert "Update fonts.xml with user customization fonts."
This reverts commit 1c3e743134.

Reason for revert: likely cause for broken build 5211430 and later

Change-Id: I2ef3a24c16d09b7c7d1c8c4f8a4e5570237a5bf1
2019-01-05 20:47:13 +00:00
Amin Shaikh
1c3e743134 Update fonts.xml with user customization fonts.
Bug: 118756857
Test: make
Change-Id: I21a8d87f2706fe6ac3f86e2f4c54e66786dbde1a
2019-01-03 18:09:19 -05:00
Seigo Nonaka
f8014d9e8d Use Myanmar ZawDecode font for elegant height text
Bug: 113596573
Test: TreeHugger
Change-Id: Ibbf8ef04c93721952841eb2ae60b1fc038f263dd
2019-01-03 14:39:20 -08:00
Seigo Nonaka
4f180e81de Drop ZawDecode font
Bug: 113596573
Test: N/A
Change-Id: Ibb61cad47deabf079bb13c3333c86c1a17050c69
2018-12-21 23:00:54 +00:00
chen xu
516b1a9709 Merge "whitelist pri permission for carrierconfig app" am: 4eba7c3cfc am: ba764da4dc
am: 4d07d9d1e7

Change-Id: Ife00aa79179bb3b28d45f652e538e07ed3d23b27
2018-12-20 20:42:34 -08:00
Treehugger Robot
4eba7c3cfc Merge "whitelist pri permission for carrierconfig app" 2018-12-21 03:56:21 +00:00
chen xu
7007c0d05e whitelist pri permission for carrierconfig app
Bug: 121350842
Test: Build
Change-Id: If804e18265a917e841d6afc1b7a450321cc1cc77
2018-12-21 01:05:40 +00:00
chen xu
970d77913b new SystemAPI for preciseCallState and DisconnectCause
1. decouple disconnectCause and preciseDisconnectCuase from
 preciseCallState.
 2. expose preciseCallState to SystemAPI and expose
onPreciseCallStateChanged to System API
3. remove/hide ImsReasonInfo from PreciseDisconnectCuase
4. expose DiconnectCuase and PreciseDisconnectCause to System API
5. new onDisconnectCauseChanged API on PhoneStateListener for CS call
 and use ImsCallSessionListener for IMS call(imsreasonInfo)
6. add read_precise_phone_state to shell apk to enable GTS test

Bug: 119890559
Test: atest GtsGmscoreHostTestCases:TelephonyHostTest#testPhoneStateListener
Change-Id: If9256feff16b6bcaef1dfe194c2b0df2a48436b0
(cherry picked from commit 6a942d488a)
Merged-in: If9256feff16b6bcaef1dfe194c2b0df2a48436b0
2018-12-20 18:41:11 +00:00
TreeHugger Robot
043a5ab3f8 Merge "Fix missing glyph in Chakma font" 2018-12-20 01:53:25 +00:00
Seigo Nonaka
30b26ccda6 Fix missing glyph in Chakma font
The new font is otf, so renaming in fonts.xml

Bug: 120921018
Test: manually done
Change-Id: Icf30bcdf930932d34eac46ea10e8ae380010f6b5
2018-12-19 23:08:15 +00:00
Anton Hansson
342b64cd41 Merge "Convert data/etc/Android.mk to blueprint" 2018-12-19 10:35:05 +00:00
sanryhuang
722f0d3dc3 Cleanup usages of MANAGE_ACTIVITY_STACKS permission
1. remove privileged from protectionLevel.
2. remove usages of MANAGE_ACTIVITY_STACKS in gms.

Bug: 63118109
Test: manual
Change-Id: I98f55b2b19f5b19f62926e843ebcef991f8360db
2018-12-19 03:19:05 +00:00
Chen Xu
99893d2ed4 Merge "new SystemAPI for preciseCallState and DisconnectCause" 2018-12-18 19:36:39 +00:00
chen xu
6a942d488a new SystemAPI for preciseCallState and DisconnectCause
1. decouple disconnectCause and preciseDisconnectCuase from
 preciseCallState.
 2. expose preciseCallState to SystemAPI and expose
onPreciseCallStateChanged to System API
3. remove/hide ImsReasonInfo from PreciseDisconnectCuase
4. expose DiconnectCuase and PreciseDisconnectCause to System API
5. new onDisconnectCauseChanged API on PhoneStateListener for CS call
 and use ImsCallSessionListener for IMS call(imsreasonInfo)
6. add read_precise_phone_state to shell apk to enable GTS test

Bug: 119890559
Test: atest GtsGmscoreHostTestCases:TelephonyHostTest#testPhoneStateListener
Change-Id: If9256feff16b6bcaef1dfe194c2b0df2a48436b0
2018-12-18 11:29:53 -08:00
Anton Hansson
8fe7b41bc9 Convert data/etc/Android.mk to blueprint
Should produce identical artifacts.

Test: boot blueline
Change-Id: Iad06f3efc727d97bdef3d4a7cec9b2b1fbc775b9
2018-12-18 17:08:26 +00:00
Anton Hansson
6d8e809138 Merge "Move SystemUI and its permissions to /product" 2018-12-18 14:54:21 +00:00
Anton Hansson
9068f65e4f Move SystemUI and its permissions to /product
Since this app is frequently customized by OEMs, it doesn't
fit in the mainline /system image right now. Move it to
/product.

Bug: 110072687
Test: make
Test: boot blueline
Test: atest SystemUITests
Change-Id: If27bcccd62f239f716db5ee7f4f1418d936e1cf4
2018-12-18 10:33:56 +00:00
Anton Hansson
948abe768e Move Settings privapp-permissions to /product
The app is moving to /product, so move the permission
grants as well.

Bug: 110072687
Test: boot blueline
Change-Id: I34fcab908db5b7a96a50b45bb45941282b05a82d
2018-12-18 09:51:08 +00:00
Anton Hansson
c32be24d36 Move Settings/SystemUI permissions to separate files
This makes it possible to move the permission around separately
from all the other permissions. This permission file is included
automatically when the respective app is included.

Bug: 110072687
Test: make
Change-Id: I91b30561d4a4000334ffbf3b98bb632d962f4b97
2018-12-17 15:04:34 +00:00
Chad Brubaker
90f391fe87 Prototype Spaceship mode qstile
Initial prototype disabling location/sensors and enabling airplane mode.
Camera/Mic will come in a followup.

Test: manual
Bug: 110842805
Change-Id: I26132fcc9ffea83e3e78a0e54882d23c99ee590c
2018-12-14 20:46:04 +00:00
Philip P. Moltmann
29b0ea879f Merge "Add me to privapp-permissions owner file" am: 657d612206 am: 99eed50991
am: db21099c1c

Change-Id: I6d5e4fc9eb450243896cf43a4215810cc34d2cde
2018-12-13 15:55:50 -08:00
Philip P. Moltmann
34d4abc4cc Add me to privapp-permissions owner file
... and syncronize it with other privapp permission owner files.

Test: I understood that we want to keep the priv-permisions apps have to
      a minimum to reduce the risk

Change-Id: Id2763e1788b9647b738a708159dc9eb5878232bf
2018-12-12 15:35:49 -08:00
Philip P. Moltmann
ae4a4b987b fragileUserData-apps might keep data on uninstall
If an app declares that is has flagile user data, all the user to choose
to keep the app-data on uninstall.

Test: Unistalled apps that set the new flag and app that did not.
      Verified that the KEEP_DATA flag was set when checkbox was
      clicked.
Change-Id: I032fb21854352bbc175934ae5eb68a1430b1d403
Fixes: 117578306
2018-12-12 13:37:44 -08:00
Philip P. Moltmann
38ea50c63e Checkbox for removing contributes files
Apps might have contributed files. During uninstall the files are
usually left on the system. To avoid filling up the storage we allow the
user to delete the files during uninstall.

Bug: 112002130
Test: Uninstalled an app that contributed files
Change-Id: I7e71ed524055bdda91ce9e66f995540363ceb229
2018-12-11 21:06:03 +00:00
Ben Lin
71c16d714d Obtain dependency information from permissions files for SharedLibs.
Bug: 120096113
Test: Build with built-in libraries that declares new depedency flag, no
more boot errors (tested with cheets_x86_64 and crosshatch_userdebug)
Change-Id: I6b3e2ab7626ed8f04c0bf1a5b3c32204a2f2c56b
2018-12-10 16:31:09 -08:00