23898 Commits

Author SHA1 Message Date
PETER LIANG
5ae93e4b58 Merge "Revise strings to up to date for accessibility button chooser." into rvc-dev 2020-03-20 09:16:42 +00:00
Peter_Liang
0d31267250 Revise strings to up to date for accessibility button chooser.
Bug: 151294664
Test: manual test
Change-Id: I78bcc08aaa390871067e625c26c3566e896b7e9b
2020-03-20 14:59:53 +08:00
Daniel Bright
9c11d2ec45 Merge "Remove simColors from public.xml and rename" into rvc-dev 2020-03-20 04:57:42 +00:00
TreeHugger Robot
d200e5deb6 Merge "Un-expose LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH for R." into rvc-dev 2020-03-19 23:35:18 +00:00
Evgenii Stepanov
21c6a0f598 Merge "Convert enableGwpAsan to @IntDef and rename to gwpAsanMode." into rvc-dev 2020-03-19 22:47:05 +00:00
Amit Mahajan
aed5beae53 Un-expose LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH for R.
Test: TH
Bug: 147322848
Change-Id: Ie8e4842264eb47e09397c9e56355d00c732c86c1
2020-03-19 14:39:00 -07:00
TreeHugger Robot
f4d1abb386 Merge "Improve strings for share sheet and intent resolvers." into rvc-dev 2020-03-19 17:39:58 +00:00
TreeHugger Robot
34c48183f0 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-19 16:44:27 +00:00
Evgenii Stepanov
d43d109af8 Convert enableGwpAsan to @IntDef and rename to gwpAsanMode.
Following API feedback, make
  ApplicationInfo.enableGwpAsan
  ProcessInfo.enableGwpAsan
a @IntDef integers instead of @Nullable booleans.

Rename both, and the manifest attribute, to gwpAsanMode.
Turn the manifest attribute into an enum.
Fix manifest documentation to match the implementation.

Bug: 151262688
Test: CtsGwpAsanTestCases
Exempt-From-Owner-Approval: cherrypick
Merged-In: Ie33954700e1526f9764a751e474a3f930a65e957
Change-Id: Ie33954700e1526f9764a751e474a3f930a65e957
(cherry picked from commit 7487f249ddcf1f475fb22b9aa094a7b860c0ee3d)
2020-03-19 16:35:41 +00:00
arangelov
afec9d0356 Improve strings for share sheet and intent resolvers.
Fixes: 151694643
Fixes: 150942431
Test: manual
Change-Id: Ie419e791aa1d2d2cbd32b3f091833b54b90c81eb
2020-03-19 15:46:09 +00:00
Bill Yi
0b5e178257 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ib7c712588867408f40e764555a2e7e4eef435caf
2020-03-18 23:48:50 -07:00
PETER LIANG
17225fde07 Merge "Add strings for accessibility button chooser." into rvc-dev 2020-03-19 05:18:07 +00:00
Rick Yiu
cb03c9e932 Merge "Revert "[Telephony Mainline] To mark @hide for mainline module r..."" into rvc-dev 2020-03-19 04:23:32 +00:00
Betty Chang
57cbb378a3 Revert "[Telephony Mainline] To mark @hide for mainline module r..."
Revert "[Telephony Mainline] To mark @hide for mainline module r..."

Revert submission 10665971-TML_revertSystemApi

Reason for revert: cause the build break
Reverted Changes:
I12a98578c:[Telephony Mainline] To mark @hide for mainline mo...
Ib12145dc0:[Telephony Mainline] To mark @hide for mainline mo...

Change-Id: I5a320c062058af9573a84fabbd06ace68682f3be
2020-03-19 03:54:39 +00:00
Betty Chang
2490ec4d13 Merge "[Telephony Mainline] To mark @hide for mainline module reverting" into rvc-dev 2020-03-19 02:08:19 +00:00
Daniel Bright
6132a6d0db Remove simColors from public.xml and rename
* Renaming simColors back to sim_colors
* Remove simColors from public.xml
* Rename in symbols.xml

Bug: 143289541
Test: make
Change-Id: Ida5aafb2db2b47ac5fb0ac098927c0801a717d9b
2020-03-18 16:52:07 -07:00
Eugene Susla
733a81b9f7 Merge "Rename auto-revoke manifest flags to not contain "Dont"" into rvc-dev 2020-03-18 21:46:40 +00:00
Amit Mahajan
0ed16d7b4b Merge changes from topic "Remove telephony protection level" into rvc-dev
* changes:
  Remove telephony protection level.
  Revert "Allowed telephony to bind network service"
  Revert "add telephony role to some permissions needed by telephony module"
2020-03-18 19:22:36 +00:00
Sarah Chin
2b004fa8e8 Merge "Move getMsisdn and getLine1Number to READ_PHONE_NUMBERS" into rvc-dev 2020-03-18 18:04:18 +00:00
Tyler Gunn
d955807e7a Merge "Add USSD codes over IMS feature" into rvc-dev 2020-03-18 15:11:07 +00:00
Peter_Liang
94d5269a3e Add strings for accessibility button chooser.
Rollback to legacy design.

Bug: 151294664
Test: manual test
Change-Id: I5f32b9c287f32086e6e4436ab29186b4b5e32972
2020-03-18 19:19:37 +08:00
Tony Mak
124f3e883c Merge "Remove unused strings." into rvc-dev 2020-03-18 09:45:27 +00:00
TreeHugger Robot
24466c4924 Merge changes from topic "code_sync_from_aosp" into rvc-dev
* changes:
  Change naming to be more specific
  Update preferred payment related APIs
2020-03-18 08:17:36 +00:00
changbetty
2a1349cf62 [Telephony Mainline] To mark @hide for mainline module reverting
SmsManager
     - deleteMessageFromIcc
     - getMessagesFromIcc
    SmsMessage
     - getRecipientAddress

Bug: 144478274
Test: make
Change-Id: I12a98578cd1c121ff86ada60966a7009a544fde8
2020-03-18 15:34:19 +08:00
Eugene Susla
1f466ece61 Rename auto-revoke manifest flags to not contain "Dont"
Fixes: 151311445
Test: presubmit
Change-Id: Idc78c35acef6828ac21f0d651a6d8efbc5094872
2020-03-17 17:42:40 -07:00
Junyu Lai
3a6a98f5bb Merge changes from topics "am-ad04c8ad832c4674be35bfc5fe4280dd-rvc-dev", "sp21-api-review-feedback", "sp25-networkstats-rename" into rvc-dev
* changes:
  [SP25] Rename functions that add Entry conditionally
  [SP24] Rename functions that add Entry unconditionally
  [SP23] Address misc API review comment about NetworkStats
  [SP21] Address comments for API council review about aosp/1172143
  [SP20] Check signature permission when accessing network stats provider
2020-03-17 23:11:34 +00:00
Automerger Merge Worker
2dcf63f6fb Add USSD codes over IMS feature
Add config to allow USSD over IMS.
If it is not supported due to modem limitations, USSD send over the CS
pipe instead.

Test: atest ImsPhoneTest
Bug: 141350403
Merged-In: If0cc0aecd9d9a321715a15c83b9e8473eb1ae91d
Change-Id: If0cc0aecd9d9a321715a15c83b9e8473eb1ae91d
(cherry picked from commit 307db944c66f4467f98db72cf471d9ac62d4ac39)
2020-03-17 20:25:52 +00:00
Robert Greenwalt
3dde71f506 Move getMsisdn and getLine1Number to READ_PHONE_NUMBERS
This is done to get dangerous stuff off the READ_PHONE_STATE permission.
Also keeping READ_PHONE_STATE for apps targeting old SDK versions.
Refactored getPhoneNumber to allow READ_PHONE_STATE pre-R

Bug: 136160623
Test: atest SubInfoControllerTest, TelephonyPermissionsTest
Change-Id: I5c0adcbe432ffcbb22ac8959792ee60da7039f15
2020-03-17 13:12:34 -07:00
Antoan Angelov
76562e161f Merge "Make tabs respect the device default style." into rvc-dev 2020-03-17 17:32:21 +00:00
Automerger Merge Worker
6a17f845fa Merge "Camera: Clarify CAMERA_OPEN_CLOSE_LISTENER description" into qt-qpr1-dev am: 6b541cb6e0
Change-Id: I6314ac4adaad2f91d99d24105e4fbc559cef5373
2020-03-17 17:02:17 +00:00
arangelov
4b8ad343ce Make tabs respect the device default style.
Also make "Turn on" work profile button and spinner
use the system accent color.

Test: none
Fixes: 149737133
Fixes: 151686022
Change-Id: I218de254ef87d5fc62d230d39fbe7a7e8b544766
2020-03-17 15:35:42 +00:00
Tony Mak
a14f1578ef Remove unused strings.
Test: m

BUG: 151430937

Change-Id: I438ae65ec48697d4ddd63fee66bafc7656969dd8
2020-03-17 15:35:33 +00:00
Automerger Merge Worker
af8d85fa0c [SP20] Check signature permission when accessing network stats provider
Currently, registerNetworkStatsProvider requires the
UPDATE_DEVICE_STATS permission. This is a privileged permission
so it can be granted to preinstalled apps. Thus, apps like
GmsCore, or preinstalled apps will be able to update network stats.

This change checks for a new permission that would only allow
signature apps to declare that. Also check
MAINLINE_NETWORK_STACK permission to allow NetworkStack process
to use it.

Test: adb shell dumpsys netstats
Test: atest FrameworksNetTests
Bug: 149652079

Change-Id: Iaecbf10a7610461bd52e315659006c7332c416e6
Merged-In: Iaecbf10a7610461bd52e315659006c7332c416e6
Merged-In: Idfebd0a1988c3dcfd812d87e30f6a2034d6fbf6b
(cherry picked from commit e9e8d8f9ff096c1723eba1d74b17bb7cade7f23b)
2020-03-17 14:53:33 +00:00
Lucas Dupin
8888ec9144 Merge "Enable wallpaper zoom" into rvc-dev 2020-03-17 06:45:44 +00:00
Sarah Chin
b5e33cf663 Merge "Revert "Expose hidden resources used in telephony/common"" into rvc-dev 2020-03-17 05:43:48 +00:00
Lucas Dupin
44cdbbd597 Enable wallpaper zoom
Test: manual
Bug: 149792636
Bug: 146387434
Change-Id: I95f175563395db7ac2ad9843cb34a3128bd74c33
2020-03-16 21:08:46 -07:00
Selim Cinek
8a6c2bf38d Merge "Fixed various paddings of the messaging layout" into rvc-dev 2020-03-16 19:46:09 +00:00
Selim Cinek
62ee4e97ad Merge "Made the old MessagingLayout work again" into rvc-dev 2020-03-16 19:44:06 +00:00
Shuzhen Wang
52b5e54980 Camera: Clarify CAMERA_OPEN_CLOSE_LISTENER description
Test: Build
Bug: 151326743
Change-Id: Ia067f3b4021b184504147569374678f81f66daf3
2020-03-16 12:20:36 -07:00
Mariia Sandrikova
6ce4cf2f90 Merge "Add a broadcast to manifest-register receivers for power save mode changes." into rvc-dev 2020-03-16 17:32:29 +00:00
Antoan Angelov
2e22c0e88c Merge "Make final adjustments to empty state text size." into rvc-dev 2020-03-16 14:15:10 +00:00
Jack Yu
6406541803 Change naming to be more specific
Change SECURE_ELEMENT_PRIVILEGED to SECURE_ELEMENT_PRIVILEGED_OPERATION.

Bug: 150877612
Test: build pass
Merged-In: I2b567c4dc978d5246b9d3d1481d395c6ad6448d0
Change-Id: I2b567c4dc978d5246b9d3d1481d395c6ad6448d0
2020-03-16 09:37:07 +00:00
Bill Yi
07808d1477 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Icdc4ac69264d3712e36961f588a783cc13122b4c
2020-03-15 15:03:31 -07:00
Eugene Susla
922cd08f62 Introduce per-app API for installer whitelisting
Test: presubmit
Bug: 146513245
Change-Id: I5a4502aeb78d2e35209ed88312d24bcafbb4ba7c
2020-03-13 22:09:22 -07:00
Selim Cinek
afc2058776 Fixed various paddings of the messaging layout
Previously the expand button could run into the header
And the content had no padding at the end.
Also, the content was incorrectly padded when collapsed.

Bug: 150905003
Test: add messagingLayout, observe UI
Change-Id: I3178b21dc8831f986a8249ee1e22aebffff75ef1
2020-03-13 20:15:38 -07:00
Selim Cinek
a91778a3e3 Made the old MessagingLayout work again
Fixed the layout of groups for the old MessagingLayout

Bug: 150905003
Change-Id: I007067d7b0524b7819f3a5e753f8664129d4cd93
2020-03-13 17:30:34 -07:00
Eugene Susla
ff17a587a8 Merge "Introduce per-app manifest flags for autoRevoke" into rvc-dev 2020-03-13 22:40:36 +00:00
Selim Cinek
5f003f4e10 Merge changes I69b33b0c,If904c85e,I28444df4,I3bfa4580,I88d9667d, ... into rvc-dev
* changes:
  Decrease avatar and sender name sizes in MessagingStyle
  Fixed various conversation layout appearences
  Implemented FacePile if no group icon is present
  Fixed the behavior of headers in conversation groups
  Ensured correct coloring of badge in dark mode
  Fixed an issue where the bubble badge was visible independent of the icon
  Improved transitions for expanding messaging notifications
  Adjusted single line representation to include a colon
  Made the expand button positioning conditional on expanded state
  Ensured that the sender of the first message is hidden
  Baseline for the new ConversationLayout
2020-03-13 21:01:24 +00:00
Eugene Susla
db77bc14de Introduce per-app manifest flags for autoRevoke
This introduces extra attributes on <application/> tag corresponding to
requesting to be shown in UI for the user to disable auto-revoke
(allowDontAutoRevokePermissions)
and being whitelisted by the installer (dontAutoRevokePermissions)

Test: presubmit
Bug: 146513245
Change-Id: I07902632812b70ea418a667d343b74d7ae170bb9
2020-03-13 11:23:26 -07:00
arangelov
6dc7b26c9b Make final adjustments to empty state text size.
Fixes: 151072825
Test: manual
Change-Id: I228a4b68786aac10a4d142f06d41c8abaf15b372
2020-03-13 18:12:42 +00:00