472435 Commits

Author SHA1 Message Date
Louis Chang
95ef069413 Merge "Looking for occluding activity above" into rvc-dev 2020-03-27 02:58:57 +00:00
Winson Chung
fa6a50484b Merge "Skip excluded MW mode tasks from recents and running tasks" into rvc-dev 2020-03-27 02:37:10 +00:00
TreeHugger Robot
eac49dc833 Merge "Re-introduce dummy autoRevok manifest attr as padding" into rvc-dev 2020-03-27 02:00:25 +00:00
JW Wang
de4cf91872 Don't reference RollbackManagerService directly (2/n)
This is an effort to modularize RollbackManager.

As we move RollbackManagerService to apex/, SystemServer can't reference
RollbackManagerService directly. Let's use the class name to start the
service.

(Cherry-picked from 41a5d353ccf96c3e115355c6333bca7657dff29b)

Bug: 150347230
Test: m
Merged-In: Ied68ad031f84ea4a416ad779e9ddf4cc912bd7b9
Change-Id: Ied68ad031f84ea4a416ad779e9ddf4cc912bd7b9
2020-03-27 01:36:58 +00:00
TreeHugger Robot
22a0b13e5d Merge "Fix the duplicate components in edit shortcut menu list." into rvc-dev 2020-03-27 01:33:38 +00:00
Wei Sheng Shih
e71b44a8e5 Merge "Promote keyguardGoingAwayWallpaper check condition." into rvc-dev 2020-03-27 01:23:13 +00:00
Andrii Kulian
363edf449a Merge "Report bounds instead of size in WindowMetrics" into rvc-dev 2020-03-27 01:08:37 +00:00
Amy Zhang
9dd6ba8bdf Merge "Remove bp and manifest for trm tests" into rvc-dev 2020-03-27 00:43:50 +00:00
Sarah Chin
5b2f94a0aa Merge "Update Bands API" into rvc-dev 2020-03-27 00:33:05 +00:00
Sudheer Shanka
40c41402e4 Merge "Ensure waitForIdle() waits until pending messages are handled." into rvc-dev 2020-03-27 00:15:01 +00:00
Philip P. Moltmann
8df5b601a2 Merge changes from topic "MarkAPKInUpdateApexAsUpdatedSystemApp" into rvc-dev
* changes:
  Do not verify APKs out of updated APEXs
  Caches parsed package info for APEX
2020-03-26 23:08:47 +00:00
Matt Pietal
e1e4e04ffe Merge "Controls UI - Support remaining confirmation dialogs" into rvc-dev 2020-03-26 23:06:36 +00:00
Matt Pietal
04dfb4263f Merge "Controls UI - Prevent parent scroll while using dragging control" into rvc-dev 2020-03-26 23:06:13 +00:00
Matt Pietal
f77d4b3d3e Merge "Controls UI - Fix routine icons" into rvc-dev 2020-03-26 23:05:35 +00:00
Dmitri Plotnikov
f7b0b5a373 Merge "Propagate exception thrown by ContentProvider.canonicalize" into rvc-dev 2020-03-26 23:03:31 +00:00
Eric Laurent
09116b99c4 Merge "AudioProductStrategy: fix attributesMatches()" into rvc-dev 2020-03-26 22:53:19 +00:00
TreeHugger Robot
dd8e9d8044 Merge "Tweak command-line verb names" into rvc-dev 2020-03-26 22:43:21 +00:00
Yan Yan
6d7751e766 Merge "Include HexDump in framework-ike-shared-srcs" into rvc-dev 2020-03-26 22:42:16 +00:00
Ricardo Correa
cc25d392fe Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev 2020-03-26 22:23:54 +00:00
Etan Cohen
79754e7519 Merge "[WIFI][SYSUI] Display Wi-Fi icon in status bar if it is the default network" into rvc-dev 2020-03-26 22:13:07 +00:00
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
Sarah Chin
854fc2ca64 Update Bands API
Test: build
Bug: 151842542
Change-Id: Ib033758d469b9b485eb7cce6c026b5a649e6a6fa
2020-03-26 15:02:29 -07:00
Song Hu
7abd9be7a2 Merge "Factor freqeuncy and mimetype of past sharings, foreground app into sharesheet model. Promote most frequent sharable apps to tackle cold start issue when device doesn't hold enough sharing history." into rvc-dev 2020-03-26 21:56:32 +00:00
Sarah Chin
85e3140365 Merge "Un-deprecate SmsManager APIs" into rvc-dev 2020-03-26 21:53:51 +00:00
Todd Kennedy
fb590035e1 Merge "Define permission for installer API v2" into rvc-dev 2020-03-26 21:50:17 +00:00
Igor Murashkin
459baa256d Merge "tests: AppLaunch - Add iorap compilation filters whitelist" into rvc-dev 2020-03-26 21:48:35 +00: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
Eric Laurent
e9e26309fd AudioProductStrategy: fix attributesMatches()
Use AudioAttributes.getSystemUsage() instead of getUsage()
when comparing attributes as getUsage() defaults to UNKNOWN for
system usages and causes a false match.

Bug: 136121584
Test: build & run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioProductStrategyTest
Change-Id: I377e840b18443c33fb0b562b27fbc706aaeb8055
2020-03-26 19:24:16 +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
Amy Zhang
e70cabfba5 Remove bp and manifest for trm tests
TRM tests are compiled with FrameworksServicesTests

Test: make
Bug: 151186028
Change-Id: Ic8184b431188b9690d4958b0130d2e23b5506d0a
2020-03-26 11:57:35 -07:00
Ricardo Correa
acdc827501 Revert "Include an AppOp to allow dialer role app to record and play audio into calls"
This reverts commit e96b5668b35b14b98e18a4d64d7aadb7fa071f7f.

Reason for revert: Feature has been postponed
Bug: 151761909

Change-Id: I7db5fb79d52b3da33b84bb07d1f612be760299c2
2020-03-26 11:57:01 -07:00
Matt Pietal
ea87e741f1 Controls UI - Support remaining confirmation dialogs
Add support passphrase and ack dialogs. Passphrase should use the
exact same text and dialog as the PIN dialog, only defaulting to text
input.

Bug: 152517004
Test: Controls Mock App supports launching all dialog types
Change-Id: I3ebd51d656818f8edad9b70ccc8f0b89d6d8acc6
2020-03-26 14:55:20 -04: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
Matt Pietal
1cbf78de6a Controls UI - Prevent parent scroll while using dragging control
Any vertical diff while dragging would stop the drag, and scroll the
parent. Request the parent to let the child maintain focus.

Bug: 152493182
Test: manual, dim a light with enough controls to scroll
Change-Id: I4b00db3501c16521dc3156dc4631aa533fdf17ae
2020-03-26 11:16: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
Louis Chang
34b6831b82 Looking for occluding activity above
Get activity from top to bottom order starting from boundary
would get activity that is below the one we are comparing.

Looking for occluding activity above this one instead.

Bug: 151304143
Test: start the app and sign in
Change-Id: I05a4b6d65b0de6a362f8ed9c75a12b37146a1653
2020-03-26 22:34:23 +08: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
Matt Pietal
f8cc0fa2ad Controls UI - Fix routine icons
App icons may not respond well to tinting, as currently defined, and
the spec calls for them to remain untouched. Make sure to limit the
icon size.

Bug: 152397193
Test: visual

Change-Id: I36afecfc440fb82814c5bd00ca20e4d71ce40789
2020-03-26 09:28:32 -04:00
Song Hu
1d73eaf431 Factor freqeuncy and mimetype of past sharings, foreground app into
sharesheet model. Promote most frequent sharable apps to tackle cold
start issue when device doesn't hold enough sharing history.

Bug: 149822311
Test: manual test Sharesheet ranking on device
Test: atest com.android.server.people.prediction.ShareTargetPredictorTest
Test: atest com.android.server.people.prediction.SharesheetModelHelperTest
Test: atest com.android.server.people.data.UsageStatsQueryHelperTest
Change-Id: I6eb764448c0619cbc3b320b5f6432f559d1a15e1
2020-03-26 06:18:52 -07: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