Commit Graph

584197 Commits

Author SHA1 Message Date
Chris Li
3dbefb99c4 Add option to always ignore orientation request
(2/n Orientation on DisplayAreaGroup)

When the option is set to true, the TDA will ignore all the
fixed-orientation request from apps.

This can be used on duo display device, so that the logical display will
not be rotated when launching a fixed-orientation app on one of the
display.

Bug: 155431879
Test: manual: test with dual-display-area policy
Test: atest WmTests:TaskDisplayAreaTests
Test: atest WmTests:WindowOrganizerTests
Change-Id: I3f0ea1415523926195b51fe28744974a9b64d803
2020-09-22 17:01:39 -07:00
Chris Li
f747948b6d Merge "Only allow TaskDisplayArea to specify orientation if it is focused" 2020-09-21 23:35:35 +00:00
Jing Ji
dae436f760 Merge "Don't hold the battery stats lock while waiting for completion" 2020-09-21 23:34:40 +00:00
Sally Yuen
b486020186 Merge "Add Bold Text to Configuration" 2020-09-21 23:10:21 +00:00
TreeHugger Robot
b5cb0b58b7 Merge "Fix override setBufferCount" 2020-09-21 23:03:38 +00:00
Roshan Pius
97bd7a52f4 Merge "Revert "Use new create/removeInputChannel()."" 2020-09-21 22:48:19 +00:00
Roshan Pius
e61a71b9bd Revert "Use new create/removeInputChannel()."
Revert "Let InputFlinger create the server InputChannel"

Revert submission 12594832-hide_server_input_channel

Reason for revert: <INSERT REASONING HERE>
Reverted Changes:
I7033caf10:Use new create/removeInputChannel().
I35f768c8a:Let InputFlinger create the server InputChannel

Bug: 169083114
Bug: 169088136
Change-Id: I3aa320272d4092b17e76558ddc67222fbef3b2b8
2020-09-21 22:44:44 +00:00
TreeHugger Robot
eab871a7c3 [automerger skipped] Merge "End current key button animations when the button is hidden" into rvc-qpr-dev am: 1989311276 am: 2c4063757d -s ours
am skip reason: Change-Id If3a38bcd47cc7665ee42c66f688cf306c7fab44c with SHA-1 df7e471a6f is in history

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

Change-Id: I3148af2fbc7958383ff000eead9eeaff7ad749da
2020-09-21 22:35:13 +00:00
Jing Ji
4835023e37 Don't hold the battery stats lock while waiting for completion
Bug: 169013495
Test: Manual

Change-Id: I40b53e5c22eba7e635febdf5b5fc4370c93fdf1d
2020-09-21 14:58:42 -07:00
TreeHugger Robot
1edde74f9e Merge "Fix Wakefullness lifecycle NPE" 2020-09-21 21:57:26 +00:00
TreeHugger Robot
ecb0793d02 Merge "Installer digests for Incremental installations." 2020-09-21 21:56:53 +00:00
TreeHugger Robot
2c4063757d Merge "End current key button animations when the button is hidden" into rvc-qpr-dev am: 1989311276
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12653817

Change-Id: Idbce346cc33731b1682bcdb511b1532a897c8e67
2020-09-21 21:49:13 +00:00
John Reck
fbe14bbbd3 Fix override setBufferCount
The logic in setBufferCount was still assuming it needed
to inject the extra buffers, however that injection was
already happening in the min_undequeued query. So it was
increasing buffercount by 2x the extraCount, or concretely
5 buffers when it should have been 4 on >75hz devices

Bug: 168928692
Test: Boot coral, verify 4 buffers instead of 5
Change-Id: I0908228a6791d90544fbf4cb21170931bd31a9db
2020-09-21 14:37:41 -07:00
TreeHugger Robot
1989311276 Merge "End current key button animations when the button is hidden" into rvc-qpr-dev 2020-09-21 21:12:49 +00:00
Chris Li
bbe25f59ba Only allow TaskDisplayArea to specify orientation if it is focused
(1/n Orientation on DisplayAreaGroup)

Record the last focused TDA and only allow it to specify orientation
if it is the last focused one on the logical display, so that when
there are multiple TDAs, we only respect the TDA with focus.

Bug: 155431879
Test: manual: test with fixed-orientation app
Test: atest WmTests:TaskRecordTests
Test: atest WmTests:TaskDisplayAreaTests
Change-Id: Ia574550368ce45a6e2c2f81b543adcfa4cf01ba1
2020-09-21 13:37:40 -07:00
TreeHugger Robot
a37d82dc39 [automerger skipped] Merge "[DO NOT MERGE] Revert "Enable mic & camera by default"" into rvc-qpr-dev am: ebdd7d64a9 am: 0ebdca74d1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1f0c8a5496e0c37c70adfac707d95f15f42b98b8
2020-09-21 20:34:16 +00:00
Fabian Kozynski
2ef97c608f [automerger skipped] [DO NOT MERGE] Revert "Enable mic & camera by default" am: d3ef31f0c3 am: 6ec3bd60cd -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaa7f2c56d0835e2b2961f4963f0e86f63f639cb2
2020-09-21 20:34:12 +00:00
Xin Li
a0a8cc6d18 Merge "Skip android11-tests-dev." am: bb12496933 am: d7bb64fffd am: 3666c431c8 am: 9d3a79fd38 am: efc2db020a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427572

Change-Id: Ib484890acd9498ac221b610ae999c82d95c8a91d
2020-09-21 20:33:38 +00:00
TreeHugger Robot
0ebdca74d1 Merge "[DO NOT MERGE] Revert "Enable mic & camera by default"" into rvc-qpr-dev am: ebdd7d64a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12639107

Change-Id: I3a7e822ca249f37fc50777df7bee857e04aba6eb
2020-09-21 20:25:09 +00:00
Fabian Kozynski
6ec3bd60cd [DO NOT MERGE] Revert "Enable mic & camera by default" am: d3ef31f0c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12639107

Change-Id: Ic87d7a71d3d25ccb5718f823ca9c74cc17e04f57
2020-09-21 20:25:03 +00:00
Xin Li
efc2db020a Merge "Skip android11-tests-dev." am: bb12496933 am: d7bb64fffd am: 3666c431c8 am: 9d3a79fd38
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427572

Change-Id: Id7a2098fa45e5d67bc22ea4cfbfed312433c3478
2020-09-21 20:14:01 +00:00
Oscar Shu
a35a5ac91d Merge "Store the randomized MAC last modified time" 2020-09-21 20:11:19 +00:00
Matt Pietal
48f269b539 Fix Wakefullness lifecycle NPE
It appears that observers can occasionally be null. Check for nulls,
and skip notifying.

Fixes: 169016820
Test: atest WakefulnesslifecycleTest
Change-Id: I5efa91a9b2ec70e3c58005e3fce8ed7e40cc16a8
2020-09-21 16:03:50 -04:00
TreeHugger Robot
66f0476409 Merge "Improve autofill perf test." 2020-09-21 20:01:00 +00:00
TreeHugger Robot
ebdd7d64a9 Merge "[DO NOT MERGE] Revert "Enable mic & camera by default"" into rvc-qpr-dev 2020-09-21 19:59:31 +00:00
Xin Li
9d3a79fd38 Merge "Skip android11-tests-dev." am: bb12496933 am: d7bb64fffd am: 3666c431c8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427572

Change-Id: Ifb20ed6c1bb9b71adc14bcd2a43fd72e75102988
2020-09-21 19:53:18 +00:00
TreeHugger Robot
443ce4f95d [automerger skipped] Merge "Added UserInfo.convertedFromPreCreated" into rvc-qpr-dev am: 7d2354bdc5 am: 1488119306 -s ours
am skip reason: Change-Id Iee9df636db5677b4d968d49bb5f5b3fbb9a7f02d with SHA-1 c2aa0be065 is in history

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

Change-Id: I27875197f43cf1a56933401416071e089393b428
2020-09-21 19:44:10 +00:00
TreeHugger Robot
dcb577d3d0 [automerger skipped] Merge "Fixed PackageManager.readLPw() call." into rvc-qpr-dev am: 0bf48315b6 am: 97a912df3e -s ours
am skip reason: Change-Id I46c2ec94a3ab422e3e39b66239c21fb6cbff5a8e with SHA-1 d9414beda1 is in history

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

Change-Id: I250cf81c2961ea9d6b6a4c87086cf9efcb29448c
2020-09-21 19:43:41 +00:00
Alex Buynytskyy
b39d13ed7f Installer digests for Incremental installations.
Bug: 160605420
Test: atest ChecksumsTest
Change-Id: I9d46c218cccf87781e9b33711c4d02d94bf824f5
2020-09-21 12:40:56 -07:00
Xin Li
3666c431c8 Merge "Skip android11-tests-dev." am: bb12496933 am: d7bb64fffd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427572

Change-Id: I2b719aa845044fa41f6eb9e4c7e4dfcd76928313
2020-09-21 19:31:35 +00:00
TreeHugger Robot
ccc1fb658c Merge "Migrate AlarmManager to DeviceConfig." 2020-09-21 19:30:45 +00:00
TreeHugger Robot
1488119306 Merge "Added UserInfo.convertedFromPreCreated" into rvc-qpr-dev am: 7d2354bdc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12495367

Change-Id: I164ccf69a41291610cf7f87f8cbbb453aa2aba2b
2020-09-21 19:20:55 +00:00
Ytai Ben-tsvi
189d6050da Merge changes from topic "new-perm"
* changes:
  Demote AlwaysOnHotwordDetector to SystemApi
  Sessionize VoiceInteractionManagerService
  Sessionize the SoundTriggerService layer.
  Use standard API in SoundTriggerTestApp
  Fix bug in dumpsys
  Require identity information in SoundTrigger.java
  Associate an originator identity to sessions
  Extract permission checking as a separate aspect
  Correctly handle HAL death
2020-09-21 19:07:04 +00:00
Sally
38eba02bba Add Bold Text to Configuration
Bug: 110991537
Test: atest CtsContentTestCases
Change-Id: If010da29d03d06d22bf0fc4cbc3780ed42bf5f86
2020-09-21 19:04:08 +00:00
TreeHugger Robot
97a912df3e Merge "Fixed PackageManager.readLPw() call." into rvc-qpr-dev am: 0bf48315b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12594954

Change-Id: I12a88927f75468b8a7cafc412c302aa2953d0aeb
2020-09-21 18:55:27 +00:00
Xin Li
d7bb64fffd Merge "Skip android11-tests-dev." am: bb12496933
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427572

Change-Id: Id6bf038eec8655ac7daeb6338bd1ab80504b5969
2020-09-21 18:43:17 +00:00
TreeHugger Robot
7d2354bdc5 Merge "Added UserInfo.convertedFromPreCreated" into rvc-qpr-dev 2020-09-21 18:40:48 +00:00
Xin Li
bb12496933 Merge "Skip android11-tests-dev." 2020-09-21 18:25:44 +00:00
Winson Chung
8cbe2db5dd End current key button animations when the button is hidden
- If the ripple animation doesn't finish before the view is hidden
  and not scheduled to draw, the render node animation will not
  finish, leaving the ripple visible until it is next touched.
  Instead, we should just end existing animations whenever the
  buttons are made invisible

Bug: 168422286
Test: Extend ripple duration beyond the dismiss nav bar window
      duration and verify bug happens without change and is fixed
      with the change

Change-Id: If3a38bcd47cc7665ee42c66f688cf306c7fab44c
Merged-In: If3a38bcd47cc7665ee42c66f688cf306c7fab44c
(cherry picked from commit df7e471a6f)
2020-09-21 18:23:41 +00:00
Winson Chung
89008da40e Merge "End current key button animations when the button is hidden" 2020-09-21 18:20:54 +00:00
TreeHugger Robot
dc818acc6c Merge "Improve LocationRequest appcompat" 2020-09-21 18:20:51 +00:00
TreeHugger Robot
0bf48315b6 Merge "Fixed PackageManager.readLPw() call." into rvc-qpr-dev 2020-09-21 18:16:10 +00:00
TreeHugger Robot
ef35e18c2f [automerger skipped] Merge "Media - Leave playing media in QS" into rvc-qpr-dev am: 0766cdc08c am: 4f8a8f68fd -s ours
am skip reason: Change-Id Ia7c9a8d9b100506f2c12ef2d14e4a952e151bd05 with SHA-1 11a332b7c4 is in history

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

Change-Id: Ia937b417eb2d91b547e527228aaa0f9fb0dbc546
2020-09-21 18:10:40 +00:00
TreeHugger Robot
4f8a8f68fd Merge "Media - Leave playing media in QS" into rvc-qpr-dev am: 0766cdc08c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12548203

Change-Id: I26afbb1c8c6c34603d5191a56e3dad6a4fffe4b7
2020-09-21 17:41:17 +00:00
TreeHugger Robot
a28729b629 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 0ac5999aa2 -s ours am: e15048a9f2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6fefce53cc4ccf1670ab1ccfbcf98fd1ed44e480
2020-09-21 17:25:57 +00:00
Garfield Tan
ab0b3a5cf7 Merge "Use new create/removeInputChannel()." 2020-09-21 17:16:31 +00:00
Heemin Seog
e6683368da [automerger skipped] Merge "DO NOT MERGE Ensure mapping between internal and public insets" into rvc-qpr-dev am: 3fe532822f am: c8a4022cad -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9dc9aa7b00d03a1c7415f223cf53ab14ac041295
2020-09-21 17:14:27 +00:00
Heemin Seog
28a34aee3c [automerger skipped] DO NOT MERGE Ensure mapping between internal and public insets am: ae42535e1a am: 9779c9e133 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iac78da644417fe56bd306789d5448109f701f028
2020-09-21 17:12:57 +00:00
TreeHugger Robot
0766cdc08c Merge "Media - Leave playing media in QS" into rvc-qpr-dev 2020-09-21 16:58:25 +00:00
TreeHugger Robot
9f1e1d1ad5 Merge "Partial Config Update: event metric" 2020-09-21 16:41:23 +00:00