Commit Graph

495297 Commits

Author SHA1 Message Date
Heemin Seog
d6f2f7fc11 Fix some notifications animation issues
Fix notif animation to not repeat when the panel is fully open
Fix notif animation when swiping the panel to close and it gets stuck

Bug: 158306816
Test: manual
Change-Id: Ia5ed0d9dca4e8366bd3f1526a3295464e3d06be4
2020-08-26 15:51:40 -07:00
Les Lee
bae844a14d Merge "wifi: Support SAE_TRANSITION when converting to WifiConfiguration" into rvc-qpr-dev 2020-08-14 05:27:24 +00:00
Louis Chang
25bfb82616 Merge "Unset activity type for process level configuration" into rvc-qpr-dev 2020-08-14 03:19:00 +00:00
Jeffrey Carlyle
b1012032d3 Merge "allow KeyguardIndicationController to be more easily overriden" into rvc-qpr-dev 2020-08-14 02:32:06 +00:00
Florian Mayer
4d56d309b0 Merge "Do not leak dump objects." into rvc-dev am: 406dd94dd5 am: ba354cf97c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316627

Change-Id: I6e90354a0b2b74639e1fe80f391c69e9b7756b15
2020-08-13 22:03:38 +00:00
TreeHugger Robot
1944361150 Merge "Dismiss bubbles if shouldBubbleUp returns false (e.g. DND is enabled and configured to hide that bubble)." into rvc-qpr-dev 2020-08-13 21:50:06 +00:00
Florian Mayer
ba354cf97c Merge "Do not leak dump objects." into rvc-dev am: 406dd94dd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316627

Change-Id: I58105c1a21eb5c6468e0c08a1237fbf0c84633f9
2020-08-13 21:43:37 +00:00
Florian Mayer
406dd94dd5 Merge "Do not leak dump objects." into rvc-dev 2020-08-13 21:02:33 +00:00
Hai Shalom
c6cf6ba1ab Merge "[Passpoint] Changes to Unique ID" into rvc-qpr-dev 2020-08-13 19:00:06 +00:00
Josh Tsuji
d240baf682 Dismiss bubbles if shouldBubbleUp returns false (e.g. DND is enabled and configured to hide that bubble).
Bug: 159413312
Test: post a bubble, enable dnd, bubble goes away, disable DND, bubble is back!
Test: change DND settings from 'no sound' to 'no visual', bubble remains if 'no sound' is selected
Test: dismiss bubble, enable DND, disable DND, observe bubble does not re-appear since it was manually disabled
Change-Id: I8cb4b62d2cf272e9ac46f4088112a6dad381d40c
(cherry picked from commit 160d1eb4ac)
2020-08-13 18:02:29 +00:00
TreeHugger Robot
4862909516 Merge "SystemUI: Reset PUK StateMachine after PUK is unlocked" into rvc-qpr-dev 2020-08-13 16:59:21 +00:00
Brad Ebinger
e000df714d Merge "Remove IMS call logs that may leak PII" into rvc-qpr-dev 2020-08-13 16:51:17 +00:00
lesl
43a326cdb3 wifi: Support SAE_TRANSITION when converting to WifiConfiguration
In android R, framework use SoftApConfiguratio to replace
WifiConfiguration. The mapping function between WifiConfiguration and
SoftApConfiguration was desinged to return Null when the type doesn't
support in WifiConfiguration. Likes security type WPA3_SAE_TRANSITION.
But it causes the app crash because unexpected Null config.
Solution:
Add the mapping, SAE_TRANSITION to WPA2, when converting to avoid break
the legacy apps since WPA2 config also works normally when LOHS enabled on
WPA3_SAE_TRANSITION mode.

Bug: 163687359
Test: atest FrameworksWifiTests
Test: atest frameworks/base/wifi/tests/
Test: atest -c android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotSingleRequestByApps
Change-Id: I6afba22e4081ba58884ffd1b560b81b1e9960132
2020-08-13 23:28:45 +08:00
TreeHugger Robot
9f77031d9c Merge "Do not log package name on privacy-indicator logs" into rvc-qpr-dev 2020-08-13 06:23:45 +00:00
Louis Chang
486ba92b4e Merge "Avoid deadlock during boot up" into rvc-qpr-dev 2020-08-13 04:53:40 +00:00
Louis Chang
79388bdd6f Unset activity type for process level configuration
The process level configuration was updated and was scheduled
to the client when home activity started, in which as home
activity type. This may cause inconsistency when a standard
type activity is started in the same home process.

Bug: 162030251
Test: atest WindowProcessControllerTests

Change-Id: I1b3b9a1a9cd164f784142fcacb365240d3522221
(cherry picked from commit e074df1419)
2020-08-13 02:07:29 +00:00
bepheis gao
a312f8165c Avoid deadlock during boot up
Cp from aosp/1382500 to fix merge conflict

Avoid a deadlock that may occurs during boosting time.
if we are starting system ui while another thread is executing
the enableScreenAfterBoot function at the same time,
the deadlock occurs

BUG: 162566198

Change-Id: Ief47cad91cbbc498179cd38e653bd1fa565cee2e
Merged-In: Ief47cad91cbbc498179cd38e653bd1fa565cee2e
2020-08-13 09:47:18 +08:00
Brad Ebinger
75d127dc92 Remove IMS call logs that may leak PII
Bug: 160389340
Test: Check logs for PII
Change-Id: I203b37d8e643c59d69aa26097d223fc4b3f8e332
2020-08-13 00:41:39 +00:00
jorgegil@google.com
89f122abe2 Use last user-resized size when re-entering PIP
Bug: 160799929
Test: enter PIP, resize it, restore to fullscreen then re-enter.
The re-entry size should be the same as when exiting.

Change-Id: Idb36b5ec51c2d76b9df5f311518652109fa57b37
Merged-In: Idb36b5ec51c2d76b9df5f311518652109fa57b37
(cherry picked from commit 134e7fc413)
2020-08-12 22:35:00 +00:00
Hai Shalom
c527eed123 [Passpoint] Changes to Unique ID
Modify Unique ID calculation to use only FQDN for HomeSP hash
and modify the hash of the Credential to produce an identical
hash for user credential changes, except for username which will
result in a different hash, and generate a different hash for
SIM credential, Cert credential and realm changes.
The result would allow multiple profiles with SIM credential
or Cert credential for the same network and overwrite profiles
with updates to the user credentials with changes other than
the username.

Bug: 161008339
Test: atest com.android.server.wifi
Test: atest PasspointConfigurationTest CredentialTest
Test: Install an OSU profile, then install R1 profile for the
same network (HomeSP has a different friendly name), verify
the OSU profile has been overwritten

Change-Id: Ice11158078b5b86c721747b0d67ecfb09731a3c5
Merged-In: Ice11158078b5b86c721747b0d67ecfb09731a3c5
2020-08-12 21:28:08 +00:00
TreeHugger Robot
ca28a90bec Merge "Add changeId to gate R-QPR tests behind" into rvc-qpr-dev 2020-08-12 17:41:39 +00:00
TreeHugger Robot
a88d221014 Merge "Run user sensitive 60 seconds after boot" into rvc-qpr-dev 2020-08-12 17:23:25 +00:00
Jeffrey Carlyle
41cc05cd4d allow KeyguardIndicationController to be more easily overriden
Bug: 150239363
Test: overrode computePowerIndication with custom version
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Iccbeaa527014abc00107ea1165f93330d80c3791
Merged-In: Iccbeaa527014abc00107ea1165f93330d80c3791
2020-08-12 10:01:38 -07:00
Bradley Allen
803254aaeb Merge "docs: Removed Q preview language and added a link to the Android 10 page on developer.android.com." into rvc-dev am: 6dfedd05a7 am: d015d7299a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12347462

Change-Id: I8d8d9595a7992196255d09aecac3ace195e15374
2020-08-12 16:57:03 +00:00
Bradley Allen
d015d7299a Merge "docs: Removed Q preview language and added a link to the Android 10 page on developer.android.com." into rvc-dev am: 6dfedd05a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12347462

Change-Id: I7bd9a90e3b66e4a842bdcaa33f62328fd9928af7
2020-08-12 16:46:29 +00:00
Bradley Allen
6dfedd05a7 Merge "docs: Removed Q preview language and added a link to the Android 10 page on developer.android.com." into rvc-dev 2020-08-12 16:38:01 +00:00
Nate Myren
ef1f570a23 Run user sensitive 60 seconds after boot
Always update user sensitive permissions on boot, 60 seconds after the
PermissionPolicyService starts

Bug: 162547999
Test: view logs
Change-Id: I29987fc891e3dcd657fb692bc0c065c4699ad9b3
2020-08-12 15:09:27 +00:00
Weijie Wang
240dd7347b SystemUI: Reset PUK StateMachine after PUK is unlocked
The PUK state is DONE in StateMachine after PUK is unlocked.
If two sim cards are both locked by PUK, the PUK state should
be ENTER_PUK after SIM1 PUK is unlocked.

Bug: 155135725
Test: manual
Change-Id: I0261d8be913a878e65c5240d4d39b248c2e3a5d5
Merged-In: I0261d8be913a878e65c5240d4d39b248c2e3a5d5
(cherry picked from commit 8e9417e873)
2020-08-12 13:16:10 +00:00
Beverly
3fbdd17f45 No vibrate on initial ringer setting
Don't vibrate the device when the initial ringer
state is set (ie: mState.ringerModeInternal = -1)

Fixes: 160919337
Test: manual
  1. Set ringer to vibrate
  2. Restart device
  3. Observe: when device boots up, no vibration from ringer
Change-Id: Id9bcc00731ac166c104d9fd8aa9fa02c70cad70f
2020-08-12 12:39:47 +00:00
junyulai
d56bfed60c Add 5G NSA to collapsed RAT types list am: d75a22bc20
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12355984

Change-Id: I4cead400825ea55098bc15f6ebceb333bfc1afc9
2020-08-12 08:57:52 +00:00
TreeHugger Robot
906ec8897e Merge "Fix "null" toast when FillCallback.onFailure(null) called." into rvc-qpr-dev 2020-08-12 08:25:50 +00:00
junyulai
d75a22bc20 Add 5G NSA to collapsed RAT types list
Currently, getAllCollapsedRatTypes is used to retrieve
all RAT types which will be recorded into NetworkStatsService.
However, there is a missing part that 5G NSA virtual RAT type
is not added into this list. This makes callers such as statsd
do not aware of 5G NSA RAT type and missed to collect data
usage of it.

Test: atest NetworkStatsSubscriptionsMonitorTest#test5g
Test: adb shell cmd stats pull-source 10082
Test: ./out/host/linux-x86/bin/statsd_testdrive 10082
Test: atest UidAtomTests#testMobileBytesTransfer \
      UidAtomTests#testMobileBytesTransferByFgBg \
      UidAtomTests#testDataUsageBytesTransfer
Bug: 163021464
Change-Id: I0faeda20f0506a48ac1131b234c5fc40d95dfbe0
Merged-In: I0faeda20f0506a48ac1131b234c5fc40d95dfbe0
2020-08-12 05:21:23 +00:00
Nate Myren
070b491882 Add changeId to gate R-QPR tests behind
Bug: 162551686
Test: none
Change-Id: I6df669785db4d4684b8207fa7234d4793d652cb3
2020-08-12 00:21:40 +00:00
Anthony Hugh
b8f93d34ae Merge "Update PermissionManagerService to handle pre-created users" into rvc-qpr-dev 2020-08-11 23:54:32 +00:00
Philip P. Moltmann
9334f7aba7 Do not log package name on privacy-indicator logs
as requested by privacy review.

Bug: 162547999
Test: Built
Change-Id: I9333facfdc39cc7a344c5671f487928977f5d82e
2020-08-11 23:50:14 +00:00
TreeHugger Robot
ac81a5725d Merge "[DO NOT MERGE] Keep track of audio recordings that are silenced" into rvc-qpr-dev 2020-08-11 19:32:24 +00:00
Anthony Hugh
b56228e0c0 Update PermissionManagerService to handle pre-created users
Pre-created users are not being returned by the call to
UserManagerService.getUserIds(). This is causing PermissionManager to
ignore recording pre-grants when a new pre-created user is created.

This CL fixes the issue by using a user ID set that contians pre-created
users.  Presumably the call to getUserIds() was previously done for
performance reasons.  I have added some system tracing to see if
performance is a bottle neck here with the new API call.

I ran the test 5 times on an automotive emulator:
[1] Start system trace
[2] adb shell pm -create-user --pre-create-only
[3] Stop system trace

Average time to getUsers() before changes: .389ms
Average time to getUsers() after changes: 1.82ms

Given that this is an infrequent operation and less than 5ms change,
performance hit looks negligible.

Bug: b/160901158
Test: Manually. Run `adb shell pm -create-user --pre-create-only`.
Create a new user and check to see that Assistant has pre-granted
permissions via `adb shell dumpsys package
com.google.android.carassistant`

Change-Id: I52caeb3a71e560d09fcbc167b46becebf779fc3a
Merged-In: I52caeb3a71e560d09fcbc167b46becebf779fc3a
(cherry picked from commit 432a0377250246632927252c9d2b92411717be52)
2020-08-11 19:06:49 +00:00
TreeHugger Robot
65be8ef9e0 Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425

Change-Id: Iebe9e92fab54022f74aeef9a6e7e452df5f897ea
2020-08-11 19:05:35 +00:00
Bradley Allen
462481663c docs: Removed Q preview language and added a link to the Android 10 page on developer.android.com.
Test: http://go/forrest-run/L62500000661914456
Bug: 149267624
Change-Id: I73b92cf0af8f78117448db9a89d7685f45bc512d
2020-08-11 18:56:15 +00:00
TreeHugger Robot
0340d8ed50 Merge "Shorten month on AOD date" into rvc-d1-dev 2020-08-11 18:50:36 +00:00
TreeHugger Robot
178e18a7fc Merge "Migrate PiP logs to UiEvent" into rvc-qpr-dev 2020-08-11 18:49:47 +00:00
Bradley Allen
6da6baaa6b docs: Adjusted language to avoid gender-specific terminology. am: ad19ed2577 am: 2739d9f03a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12347127

Change-Id: I9f4942fd119be157634fdb5ba882e8cb8c012014
2020-08-11 18:28:10 +00:00
Bradley Allen
2739d9f03a docs: Adjusted language to avoid gender-specific terminology. am: ad19ed2577
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12347127

Change-Id: I6be5bf195531f819576fa7d19930c80df5e94c02
2020-08-11 18:14:08 +00:00
Miranda Kephart
8a912c716b Merge "Make screenshot process unbind correctly" into rvc-qpr-dev 2020-08-11 18:00:13 +00:00
Lucas Dupin
fc704c0320 Shorten month on AOD date
Test: visual
Fixes: 161186825
Fixes: 163309955
Change-Id: I8e62eef0f32812380bc1d19d87d7611bd395eabb
(cherry picked from commit e5f5be9fd2)
2020-08-11 16:16:40 +00:00
Bradley Allen
ad19ed2577 docs: Adjusted language to avoid gender-specific terminology.
Test: none (docs-only change)
Bug: 151156981
Change-Id: I8f06796b2828695f62bf32c033e5406bc3d858ad
2020-08-11 15:29:44 +00:00
TreeHugger Robot
05afc4f43b Merge "Add EBS interface to BatteryController" into rvc-qpr-dev 2020-08-11 15:16:14 +00:00
Riddle Hsu
1341ae4b16 [automerger skipped] Resume next activity if pausing app died am: 9c62ef63fd -s ours
am skip reason: Change-Id I635fceb9cf7b782f6ffbb9ebef7cb69053f64a0b with SHA-1 f2e7da7a64 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12343635

Change-Id: I40be441957ef7770308acc64ccb9a77c7d598471
2020-08-11 14:05:19 +00:00
Fabian Kozynski
6bace95e52 Merge "Change description of privacy icons in Statusbar" into rvc-qpr-dev 2020-08-11 14:04:14 +00:00
Miranda Kephart
6bb575bab1 Make screenshot process unbind correctly
There's a bug in ScreenshotHelper that causes the process not to
unbind properly. Now that the screenshot connection is kept track
of by the class, we don't need to compare its value at the
beginning and end of the started service before closing the
connection.

This also fixes an issue where screenshots didn't work right,
immediately after switching users (since the process is now
closed correctly, a new one can begin for the secondary user).

Bug: 158303623
Bug: 160355802
Fix: 158303623
Fix: 160355802
Test: manual; tested single screenshots and multiple in succession;
made sure that after switching users screenshots could be taken
immediately.

Change-Id: Idf25c6a60bdde8ab970c4af68884de798159ef3f
2020-08-11 09:32:29 -04:00