Commit Graph

494912 Commits

Author SHA1 Message Date
TreeHugger Robot
725587adbc Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-25 14:32:12 +00:00
TreeHugger Robot
beb1dbfbad Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-25 14:26:49 +00:00
Bill Yi
80166c8f73 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia83dc9f5a9b68c584c9a18528e7f6b2f8b92ef21
2020-07-25 03:15:13 -07:00
Bill Yi
02d2a3ff08 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6a51714afcd59431df5f33e2d03370944371a885
2020-07-25 01:51:37 -07:00
Nate Jiang
55dd6be49e Merge "Make broadcast protected" into rvc-d1-dev am: 1263a94728
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12228948

Change-Id: Icc558d51491b43afe08c70cb98c3441a584d6379
2020-07-25 01:03:26 +00:00
Nate Jiang
1263a94728 Merge "Make broadcast protected" into rvc-d1-dev 2020-07-25 00:52:08 +00:00
TreeHugger Robot
67156685eb Merge "Propagate AudioAttributes flags to VibrationAttributes" into rvc-dev am: 863c82fa76 am: 61e32caa0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12218307

Change-Id: I6db018c37b5c4fdd57b189329cf8fe73c333c341
2020-07-25 00:27:58 +00:00
TreeHugger Robot
61e32caa0b Merge "Propagate AudioAttributes flags to VibrationAttributes" into rvc-dev am: 863c82fa76
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12218307

Change-Id: I3b5157ab8e234e349465ed94f15f6d9ef53cac5f
2020-07-25 00:10:39 +00:00
TreeHugger Robot
863c82fa76 Merge "Propagate AudioAttributes flags to VibrationAttributes" into rvc-dev 2020-07-24 23:55:38 +00:00
Chen Xu
d3210ebdbe Merge "Disable emergency alert for Germany and Poland per requirement" into rvc-qpr-dev 2020-07-24 23:33:21 +00:00
Nate Jiang
290ee34d3b Make broadcast protected
Bug: 161932419
Test: atest android.net.wifi
Change-Id: I0cd36cb60129ad67b90f72bd1927f53d65046c4f
2020-07-24 22:49:28 +00:00
TreeHugger Robot
b8b8f1323b Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed am: 4f7fa277ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: Iccbb47fbb7d1ecba2aaddf18de4fbf2c2c7ec7e0
2020-07-24 22:25:42 +00:00
TreeHugger Robot
4f5ebc5223 Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3 am: 474a48a9cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: I3ddf8767eae84eb29be66d2d73194b0777cc1444
2020-07-24 22:25:35 +00:00
TreeHugger Robot
4f7fa277ab Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: I6f82a1ee38717d801c828d4922b89dea5267215f
2020-07-24 22:08:26 +00:00
TreeHugger Robot
474a48a9cf Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: Id48be644b20513c19d2978b25d81f61521f2da15
2020-07-24 22:08:01 +00:00
TreeHugger Robot
855eb749ed Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev 2020-07-24 21:42:45 +00:00
TreeHugger Robot
af2f54f4e3 Merge "Ignore GONE views in shade when processing sections" into rvc-dev 2020-07-24 21:41:57 +00:00
Patrick Baumann
5df07126d5 Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc am: a08113255b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: Ie6e90cdc7ec8cd2788bf3501b869cbe7d3e026c8
2020-07-24 21:07:43 +00:00
Christopher Tate
73ba86fc9a Skip bg PSS collection for apps using a camera am: fc76b97d1b am: 1144fb6987
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: I14ce957904b724cde362b507b591a296ce2b5f4a
2020-07-24 21:07:20 +00:00
Patrick Baumann
a08113255b Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: I0b8fd63d853c196166e30b5886c2e6133bc94c55
2020-07-24 20:54:11 +00:00
Patrick Baumann
69b18e57fc Merge "Fix unintended preferred activity reset" into rvc-dev 2020-07-24 20:50:27 +00:00
Christopher Tate
1144fb6987 Skip bg PSS collection for apps using a camera am: fc76b97d1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: I79816007acce041fc657017b1d0827a9d09d1ad2
2020-07-24 20:47:19 +00:00
Jack Yu
56cfdd1e87 Allow network stack UID caller to retrieve cell identity
For backwards compatibility, we allow phone, system UID to
access cell identity through getServiceState. Cell broadcast
service, which is used to be part of telephony, now is running
under network stack UID. We should consider network stack UID as
trustable components like system/telephony.

Fix: 157618105
Test: Manual
Change-Id: I9b2dfc778752e130f5c7e44c4b2e45b63ac6f918
2020-07-24 19:54:25 +00:00
TreeHugger Robot
764e7ac56c Merge "Animate out screenshot UI on back and CLOSE_SYSTEM_DIALOGS" into rvc-qpr-dev 2020-07-24 19:15:08 +00:00
Chen Xu
78f3118b6b Disable emergency alert for Germany and Poland per requirement
By default, show emergency alert settings and disable the settings for
Germany and Poland per requirement.

Bug: 161915955
Test: Manual verification make sure no alert will be displayed to users
Change-Id: I5d66a98de22c6a8aa58a5b734070c0ea18dd0fcd
2020-07-24 18:57:33 +00:00
Steve Elliott
dfd9f17703 Ignore GONE views in shade when processing sections
Fixes: 161606040
Test: atest
Change-Id: I8ab108aea23ea6a139f758abdaf222f5f3641104
2020-07-24 18:56:31 +00:00
Patrick Baumann
312755820a Fix unintended preferred activity reset
When the preferred handler of an action is saved with "always", the set
of components displayed as options to the user are saved with it. On
subsequent queries, if that set of components change, the preference is
cleared to allow the user to consider the new set. With the introduction
of app visibility filtering in R (and to a lesser extent, Instant Apps
in O), the set of apps that an app can see may be less than the set that
the system can. As a result, if the caller calls resolveIntent and
cannot see all of the apps the system can, it may reset the user
preference unexpectedly.

This change ensures that before we clear the user preference that we're
comparing against the full set of apps. As such, if we encounter a call
to the method from an app that cannot see all apps, we avoid any
mutations and instead just return the set of apps that the user can see
or the preferred app if it's part of the set they can see. If the system
calls or if the call is part of an activity start, we'll allow reset of
the preference.

Test: Manual - Install 3 cameras, verify preference only reset on start
Fixes: 157548344
Change-Id: Icb50a66500edba26c4c6c3e80a6a9c544d4d63d6
2020-07-24 11:42:37 -07:00
Matt Casey
d7bd255465 Animate out screenshot UI on back and CLOSE_SYSTEM_DIALOGS
Bug: 162036868
Bug: 160189912
Test: Screenshot, press back, observe animation.
Change-Id: I0ab4d029315765cff76ee22a4556e0647b938e07
2020-07-24 13:50:00 -04:00
Christopher Tate
fc76b97d1b Skip bg PSS collection for apps using a camera
Bug: 144138979
Test: grant camera appOp and observe logging
Test: use camera app and observe logging
Change-Id: I6422b432f0d6fcf411073c0528a4ee485d46f005
(cherry picked from commit 5a7e662751)
2020-07-24 17:11:01 +00:00
TreeHugger Robot
212cf8a813 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-24 16:41:05 +00:00
TreeHugger Robot
83b69dcfbb Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-24 16:30:58 +00:00
TreeHugger Robot
6d2e40efbb Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-24 16:27:17 +00:00
TreeHugger Robot
41c2dbf2fd Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-24 16:26:58 +00:00
TreeHugger Robot
fa9e450c45 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-07-24 16:26:53 +00:00
Heemin Seog
663ae9ecf7 Merge "Improve SystemUIOverlayWindow control" into rvc-qpr-dev 2020-07-24 16:02:37 +00:00
Bill Yi
7f6c907182 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3e7cebcff7d6ba671004a08eb742310042bea023
2020-07-24 05:18:54 -07:00
Bill Yi
68f003f6f5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6d84460b5775397ebdd8a44bae3bac83642ee0c9
2020-07-24 03:38:36 -07:00
Bill Yi
275a60894f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie1101f983716f94dcd37866de7e7b991ee19b9ef
2020-07-24 02:32:23 -07:00
Bill Yi
96f9d0cd93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4429fef9317f48da4d7928abab0cfc116af3c560
2020-07-24 01:59:28 -07:00
Xin Li
03287bce0e Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d am: cd85e10058
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Iedd074b1320c4b0856822f5b8a5d3711625d0d34
2020-07-24 08:46:10 +00:00
Xin Li
cd85e10058 Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Ic9b609b6504a8a6921d39f0955a6eaa93cfd8429
2020-07-24 08:26:18 +00:00
Bill Yi
a4b938cf55 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0e7271abdb4f882cfe5dc8bc23156e7315685a7d
2020-07-24 01:26:14 -07:00
Xin Li
e303dd658d Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev 2020-07-24 08:11:42 +00:00
Wei Sheng Shih
4d7f81e979 Merge "Remove possible residual callbacks when detach wallpaper." into rvc-qpr-dev 2020-07-24 02:15:39 +00:00
Shu Chen
660a872c7a Merge "Ensures the slop value is fixed cross lines." into rvc-qpr-dev 2020-07-24 01:11:46 +00:00
Michael Groover
909d7c6c2c Merge "Keep USB disconnected receiver active when ADB activity in bg" into rvc-d1-dev am: 9e5913cf74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12215433

Change-Id: Id88592f5cdf75ff2f66cb52905e386dd7d029830
2020-07-24 00:34:39 +00:00
Michael Groover
9e5913cf74 Merge "Keep USB disconnected receiver active when ADB activity in bg" into rvc-d1-dev 2020-07-24 00:18:15 +00:00
Abhijoy Saha
f0988b92e2 Improve SystemUIOverlayWindow control
1. Make sysui overlay window views more stable
2. hide/show system bars using insets in SystemUIOverlayWindow

Bug: 161926721
Bug: 151617493
Test: Manual & Unit Tests
Change-Id: I78fd2b5e8488d2f5006edd9773308e2bb9856d2b
2020-07-23 16:01:43 -07:00
TreeHugger Robot
d9a85118ec Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev am: aca9854a66 am: 7c53dba761
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12182245

Change-Id: I76b45b48cbc04e4b239bb1e3e1ed01303a6278bb
2020-07-23 22:20:23 +00:00
Jing Ji
7249ed0952 Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev am: fcaa94e2dc am: 62b56170ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202766

Change-Id: I2793a40476d8ed6411637dd16b027e1f7bac9806
2020-07-23 22:20:01 +00:00