472388 Commits

Author SHA1 Message Date
Eugene Susla
c5a50213f1 Re-introduce dummy autoRevok manifest attr as padding
See attached bug

Fixes: 152433087
Test: ensure current.txt values change reverts that from ag/10814417
Change-Id: I5b9c8d0fa1e794137b354d2a238a3f1171a0f89c
2020-03-26 15:09:54 -07:00
Nikita Dubrovsky
42d682e077 Merge "Add tests for editor state and cursor drag to presubmits" into rvc-dev 2020-03-26 21:27:58 +00:00
Curtis Belmonte
8c28971edc Merge "Fix display of BiometricPrompt wipe warning dialogs" into rvc-dev 2020-03-26 20:47:38 +00:00
Fabian Kozynski
f4674d00c6 Merge "Add more information to removed controls" into rvc-dev 2020-03-26 19:57:11 +00:00
François Gaffie
051829b895 AudioService: default volume group is not restored
Volume Group with associated stream type does not have their volume
restored after restart / crash even if correctly stored in
Settings DB.
A guard prevents from restoring it. However, when using volume per attributes,
Settings DB is used, so it is safe to restore volumes for all groups.
This CL fixes this issue by removing this guard.

Bug: 136121584
Test: set Music volume & reboot & dumpsys audio
    Ensure indexes matches
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>

Change-Id: I00aa8c17bffca21a128086fbbbeafffc26521a3b
2020-03-26 19:23:39 +00:00
François Gaffie
176dc1fc03 [AudioServer][Strategies] Fix Min/Max index overwritting
When a strategy holds 2 stream types, following the same volume group
(aka same volume curves), when audioservice initializes, it may
overwritte the Min/max for the volume group.

This is due to the fact that the second stream type is not recognized
and falls back on default volume group (aka Music). So, Min/max are
overwritten with music Min/max.

This CL fixes the bug by formatting correctly the AudioAttributesGroups
of a product strategy by checking not only the volume group id but
also the stream type.

Bug: 136121584
Test: build & run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioProductStrategyTest
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioVolumeGroupTest
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioVolumeGroupChangeHandlerTest
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testPermissionsForVolumePerAttributes
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testGetAndValidateProductStrategies
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testGetAndValidateVolumeGroups
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testSetGetVolumePerAttributesWithInvalidAttributes
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testSetGetVolumePerAttributes
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testVolumeGroupCallback

Change-Id: I3aab572ef4daeecce13bbcef6278edcc42b7d594
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2020-03-26 19:20:13 +00:00
Eric Laurent
fd99a18c12 Merge "[AudioServer] Fix CTS for volume groups based on non public streams" into rvc-dev 2020-03-26 19:19:27 +00:00
Adam He
cc45f332a4 Merge "Fix single field highlighting for autofill." into rvc-dev 2020-03-26 18:46:29 +00:00
Maryam Karimzadehgan
4f9ab82c08 Proto changes and binary for adding more logs to the Back
Gesture. Design document:
go/logging-back-gesture.

Test: manual
Bug: 148104018
Change-Id: I63b745f30b7581306150d2d7ab1fe3cccfe5147f
2020-03-26 17:01:22 +00:00
Christine Tsai
0810d57f95 Merge "Update unit tests to use new socket schema" into rvc-dev 2020-03-26 16:42:44 +00:00
Fabian Kozynski
a9803044be Add more information to removed controls
Removed controls should have as much cached information as possible.
This adds structure name and subtitle.
Also, if the structure is not set it would cause issues (as empty
structure is a valid structure).

Fixes: 151089232
Test: atest ControlsControllerImplTest
Test: manual
Change-Id: I6cf5f285fe85ddc78ae59133dcf406793293a3f7
2020-03-26 12:11:42 -04:00
Tyler Gunn
f0d5687181 Merge "Fix potential issue where sub info change listener is not registered." into rvc-dev 2020-03-26 15:02:15 +00:00
TreeHugger Robot
c02e0d8cdf Merge changes I23545586,I0512c71e into rvc-dev
* changes:
  Make LogicalLight @Nullable: part two (internal)
  Make LogicalLight @Nullable: part one (external)
2020-03-26 13:59:08 +00:00
Louis Chang
9a5681d890 Merge "Skip finishing activities while performing behind fullscreen check" into rvc-dev 2020-03-26 13:35:13 +00:00
TreeHugger Robot
df6a67cc77 [automerger skipped] Merge "DO NOT MERGE use left/right insets instead of cutout" into qt-qpr1-dev am: 820aa463ac -s ours
am skip reason: subject contains skip directive

Change-Id: Ib77bb74b11711fb1f3b48c157ac0ec4450fd6934
2020-03-26 13:08:59 +00:00
Alex Johnston
7bd3e833ce Merge "Make FRP APIs callable by Settings" into rvc-dev 2020-03-26 12:58:48 +00:00
TreeHugger Robot
820aa463ac Merge "DO NOT MERGE use left/right insets instead of cutout" into qt-qpr1-dev 2020-03-26 12:56:31 +00:00
TreeHugger Robot
5e8e9e5f1a Merge "Hide empty state icon and button in landscape mode." into rvc-dev 2020-03-26 12:19:56 +00:00
Ruslan Tkhakokhov
74fabfe5da Merge "Add logs to WallpaperManagerService when setting wallpaper" into rvc-dev 2020-03-26 12:02:42 +00:00
TreeHugger Robot
e5d60ed552 Merge "Do not mount whitelisted package in storage data and obb dirs" into rvc-dev 2020-03-26 11:01:12 +00:00
Alex Kershaw
59da30ff38 Merge "Add hidden API to clear all cross-profile app-ops" into rvc-dev 2020-03-26 10:52:39 +00:00
Jason Chiu
edc7799657 Merge "Support logging intents from Profile select dialog" into rvc-dev 2020-03-26 09:47:18 +00:00
Robert Horvath
aef65ab07b Merge "PackageInstaller: Initial focus in non-touch mode on Cancel" into rvc-dev 2020-03-26 09:10:37 +00:00
Anton Hansson
9cc8c2e6f2 Merge "Convert disting of api txt from mk to bp" into rvc-dev 2020-03-26 08:41:20 +00:00
Anton Hansson
1d323e9833 Merge "Make framework-permission stubs use the new defaults" into rvc-dev 2020-03-26 08:39:54 +00:00
Anton Hansson
6efada1ada Merge "Make framework-statsd stubs use the new defaults" into rvc-dev 2020-03-26 08:39:40 +00:00
Anton Hansson
f4ca25a31b Merge "Make framework-tethering stubs use the new defaults" into rvc-dev 2020-03-26 08:39:02 +00:00
Louis Chang
99d6f0e884 Skip finishing activities while performing behind fullscreen check
Activities that behind a fullscreen finishing activity were
evaluated as invisible.

Bug: 144184591
Test: atest ActivityStackTests
Change-Id: Id09a30107d189acc986843ea8b3993a66c242a30
2020-03-26 15:55:36 +08:00
TreeHugger Robot
13ff35faab Merge "Update connected clients when a downstream disappears." into rvc-dev 2020-03-26 06:59:16 +00:00
TreeHugger Robot
6f3e64a56e Merge "Add a log message if enabling Ethernet tethering if it is already enabled." into rvc-dev 2020-03-26 06:53:35 +00:00
TreeHugger Robot
cfeb0d8323 Merge "Expand "extras" support in content tool." into rvc-dev 2020-03-26 06:29:59 +00:00
Wei Wang
06ccd26d39 Merge "ThermalManagerService: add retry for HAL connection" into rvc-dev 2020-03-26 05:50:07 +00:00
Treehugger Robot
2506781095 Update connected clients when a downstream disappears.
Otherwise, if another downstream of the same type reappears, the
code would fire a callback with the previous list of clients.

Bug: 150644681
Test: atest TetheringIntegrationTests:EthernetTetheringTest --rerun-until-failure 100
Change-Id: I6b34ea747ae1831001077f44879bb6828dcecc96
Merged-In: I6b34ea747ae1831001077f44879bb6828dcecc96
(cherry picked from commit 3984360f642ddd5820ced5a6935e37a8ae0d9d76)
2020-03-26 05:07:06 +00:00
Treehugger Robot
191a03c235 Add a log message if enabling Ethernet tethering if it is already enabled.
Test: builds
Bug: 150644681
Change-Id: I68123e6dd04ccae5da2ecd7526c11d9f835d1d57
Merged-In: I68123e6dd04ccae5da2ecd7526c11d9f835d1d57
(cherry picked from commit e6b8ded8121c137a7e434e1c2a9e04cc144f2f28)
2020-03-26 05:05:35 +00:00
Paul Hu
984f629a12 Merge "[TNU04] Add tethering restricted notification" into rvc-dev 2020-03-26 04:40:55 +00:00
Paul Hu
c49b208469 Merge "[TNU03] Add TetheringNotificationUpdaterTest" into rvc-dev 2020-03-26 04:40:36 +00:00
Jason Chiu
39e7d17aeb Support logging intents from Profile select dialog
Bug: 137559984
Test: robotest
Change-Id: Ibb8cf01eb0483b83d57542456198731f78a41b60
2020-03-26 03:32:38 +00:00
TreeHugger Robot
f6f91b34f3 Merge "Notify remote rotation with fixed rotation transform" into rvc-dev 2020-03-26 03:26:22 +00:00
TreeHugger Robot
2be42fbead Merge "Add Tuner Resource Manager Test as Presubmit test" into rvc-dev 2020-03-26 02:55:10 +00:00
Charles Chen
0cb6d3fd3d Merge "Rename createBaseActivityResources to createBaseTokenResources" into rvc-dev 2020-03-26 02:40:47 +00:00
TreeHugger Robot
f2a1de4c7d Merge "Tuner JNI: getDemuxCaps" into rvc-dev 2020-03-26 02:33:08 +00:00
Paul Hu
85b798828f Merge "[TNU02] Update tethering notification by active data subid" into rvc-dev 2020-03-26 02:28:48 +00:00
TreeHugger Robot
80a6f30ad8 Merge "Auto-expand overflow bubbles on promote" into rvc-dev 2020-03-26 02:11:56 +00:00
Paul Hu
f950dc9f24 [TNU04] Add tethering restricted notification
If tethering is restricted to the user, show restricted
notification to notify the user.

Bug: 122085773
Test: atest TetheringTests
Change-Id: Ic5baca2d6102886f4c3530ce1e321b5dab6ea9d7
Merged-In: Ic5baca2d6102886f4c3530ce1e321b5dab6ea9d7
(cherry picked from aosp/1188867)
2020-03-26 02:01:37 +00:00
Paul Hu
8d6928035e [TNU03] Add TetheringNotificationUpdaterTest
Add new test for TetheringNotificationUpdater

Bug: 122085773
Bug: 130596698
Test: atest TetheringTests
Change-Id: I0db3df3e85dd6a8c3989c8bc66a06c50f45a0c15
Merged-In: I0db3df3e85dd6a8c3989c8bc66a06c50f45a0c15
(cherry picked from aosp/1209985)
2020-03-26 01:59:15 +00:00
TreeHugger Robot
b98be8b6a9 Merge "Update READ_PHONE_NUMBER security checks" into rvc-dev 2020-03-26 01:31:21 +00:00
TreeHugger Robot
46f0be1f16 Merge "Reuse and reparent one-level root task to another display" into rvc-dev 2020-03-26 01:29:11 +00:00
TreeHugger Robot
6a35c77c5e Merge "Fix input infos are inconsistent between WMS and InputFlinger (1/2)" into rvc-dev 2020-03-26 01:15:41 +00:00
Tyler Gunn
cf2cd8dcd8 Fix potential issue where sub info change listener is not registered.
SubscriptionManager#addOnSubscriptionsChangedListener can fail to
register a listener if the TELEPHONY_REGISTRY system service is not up.
Currently this is just silently ignored.

Adding a callback method on the listener to notify the registrant that the
listener failed to be registered, and adding exponential backoff code in
TelecomAccountRegistry to retry registration.

Test: Manual; edited code in Subscriptionmanager to fail the first attempts
to add a listener for TelecomAccountRegistry.  Verified the backoff took
place and registration still occurred for the listener.
Test: Tried to write a mockito test but gave up because this code has
far too many intertwined dependencies and is not inherently testable
Fixes: 152217039

Change-Id: Icf3133cdeca526979cb621f29659b880127b680a
2020-03-25 18:11:56 -07:00
TreeHugger Robot
68fc667972 Merge "Sequentially handle enable and disable" into rvc-dev 2020-03-26 01:06:48 +00:00