Commit Graph

519022 Commits

Author SHA1 Message Date
Adrian Roos
895a2e626a Merge "Fix IME flicker: move hiding the surface into the control target" into rvc-dev 2020-07-09 17:02:15 +00:00
Steven Moreland
3804ae082c Merge "HwBinder.setTrebleTestingOverride" 2020-07-09 16:55:43 +00:00
TreeHugger Robot
cb7540882f Merge "Prevent system reset staged installer bypass flag unexpactly" into rvc-dev am: 809bf93563 am: c5c10519d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12106109

Change-Id: I046bf9ab7799f7eca65b087d777596d963257999
2020-07-09 16:55:26 +00:00
Automerger Merge Worker
4c5b1d891f Merge "Merge "Prevent system reset staged installer bypass flag unexpactly" into rvc-dev am: 809bf93563 am: d03b501796" into rvc-d1-dev-plus-aosp 2020-07-09 16:55:25 +00:00
Automerger Merge Worker
f9fdae0b13 Merge "Merge "ViewRootImpl: Call surface destroy callback after layout pass" into rvc-dev am: 276abcb6b3 am: f5727d3efd" into rvc-d1-dev-plus-aosp 2020-07-09 16:55:21 +00:00
TreeHugger Robot
f3e5c72405 Merge "Prevent system reset staged installer bypass flag unexpactly" into rvc-dev am: 809bf93563 am: d03b501796
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12106109

Change-Id: Icfe410a202c59876ab51f02d87034aa14306273e
2020-07-09 16:55:13 +00:00
TreeHugger Robot
ecc18e8ed9 Merge "ViewRootImpl: Call surface destroy callback after layout pass" into rvc-dev am: 276abcb6b3 am: f5727d3efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108557

Change-Id: Ib2d657143c699e11512ae5488e74aaf0ea61f633
2020-07-09 16:55:08 +00:00
TreeHugger Robot
5a08944e47 Merge "ViewRootImpl: Call surface destroy callback after layout pass" into rvc-dev am: 276abcb6b3 am: 15f0a2590a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108557

Change-Id: Ic265cb06ed44886d0e00053418fa38723779ecf3
2020-07-09 16:55:01 +00:00
TreeHugger Robot
d03b501796 Merge "Prevent system reset staged installer bypass flag unexpactly" into rvc-dev am: 809bf93563
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12106109

Change-Id: I1a84ce3d8e8d50136455162e6d01c8a594289b2d
2020-07-09 16:48:32 +00:00
TreeHugger Robot
c5c10519d3 Merge "Prevent system reset staged installer bypass flag unexpactly" into rvc-dev am: 809bf93563
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12106109

Change-Id: I092e2b160d4b152915c04f699d930d5b36be184f
2020-07-09 16:48:31 +00:00
TreeHugger Robot
809bf93563 Merge "Prevent system reset staged installer bypass flag unexpactly" into rvc-dev 2020-07-09 16:44:52 +00:00
TreeHugger Robot
f5727d3efd Merge "ViewRootImpl: Call surface destroy callback after layout pass" into rvc-dev am: 276abcb6b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108557

Change-Id: I5807484130f8f6921aad17bba5c42b9aa308c03d
2020-07-09 16:44:25 +00:00
TreeHugger Robot
15f0a2590a Merge "ViewRootImpl: Call surface destroy callback after layout pass" into rvc-dev am: 276abcb6b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108557

Change-Id: I59f7525c8f2230991d093e50ddbadd6f91ce7b6d
2020-07-09 16:44:18 +00:00
Jing Ji
219da992ad Fix javadoc error in ApplicationExitInfo#getDefiningUid()
Bug: 160875447
Test: m -j offline-sdk-docs & manual verify the javadoc
Change-Id: Iae09584b42990092166be3c9a2bb792fa2d0abef
2020-07-09 09:33:10 -07:00
TreeHugger Robot
276abcb6b3 Merge "ViewRootImpl: Call surface destroy callback after layout pass" into rvc-dev 2020-07-09 16:32:33 +00:00
Nandana Dutt
88bc57edbf DO NOT MERGE Bump up the max persisted uri grants am: 5a293b8eb2 am: de5e89eb6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105684

Change-Id: I6fcb3339ed986d9a32c52d5804d0d8c652f36171
2020-07-09 13:56:38 +00:00
Nandana Dutt
5d61d001e8 DO NOT MERGE Bump up the max persisted uri grants am: 5a293b8eb2 am: 2654c4465e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105684

Change-Id: I5b51819fdcfd548d89554fc8e0dc914183c988a5
2020-07-09 13:56:05 +00:00
Nandana Dutt
de5e89eb6b DO NOT MERGE Bump up the max persisted uri grants am: 5a293b8eb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105684

Change-Id: I04508947fb4ed1e8ce067cb743d75323c619c2fa
2020-07-09 13:43:03 +00:00
Nandana Dutt
2654c4465e DO NOT MERGE Bump up the max persisted uri grants am: 5a293b8eb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105684

Change-Id: Ia2c54c4843f2a1743e3a3c7ec034208918b0b18b
2020-07-09 13:42:41 +00:00
arthurhung
351f4ebd72 Fix "Allow/Deny" popup window no respond when enable pointer location
Currently, all buffered layers are included in input occlusion
calculations, the overlay window which can't receive input event
should also need to explicitly opt out by setting window type.

- For overlap window, reuse the invalid input window handle and fill the
  necessary fileds, it could also fill some fileds in SurfaceFlinger
  because the token is null.

Bug: 160590776
Bug: 158717144
Test: enable pointer location, launch app which would popup grant
permission dialog
Test: atest WindowInputTests
Test: test suite on Cuttlefish API 30

Change-Id: I9d618a0a7d7cef7f8f90200b22138c78ae6d6cc8
2020-07-09 13:09:39 +00:00
Adrian Roos
2260ce4daf Fix IME flicker: move hiding the surface into the control target
Fixes a flicker that occurs during transitions between windows.

This happens for two reasons:

1.) Control is immediately transferred to the new window, and the
    previous window didn't get a chance to play the animation.

    This is addressed by adding logic to keep control on the
    exiting window for the duration of the transition - similar to
    what we do with the target for z-ordering purposes.

2.) Upon the input connection being severed, the InputMethodService
    immediately hides its window, preventing any animations whenever
    the input connection changes

    This is addressed by moving hiding of the surface into the
    controlling windows - where upon receiving control, we now
    trigger removal of the IME surface if we don't show it.

Additionally:

- Now ensures that any requests from the ImeInsetsSourceConsumer
  ensure that they come from the window that is currently served
  by IMM.

- Removes the transparancy clause from isImeTargetFromDisplayContentAndImeSame
  to match the updated IME target computation in DisplayContent in [1].

[1]: Iedd5f7407926167f4891ce9b7e9a79e22751e668

Fixes: 153145997
Fixes: 150902448
Test: atest WindowInsetsAnimationControllerTests
Test: atest DisplayContentTests InsetsSourceConsumerTest
Test: Open app with IME, press HOME button, verify IME smoothly animates away
Test: Open Messages, open a thread, open IME. Click search icon, verify IME opens in the search activity
Change-Id: I4910c2a06cc67b0470477b245fc1de54b75f10f9
2020-07-09 14:46:55 +02:00
Nandana Dutt
5a293b8eb2 DO NOT MERGE Bump up the max persisted uri grants
With scoped storage, more apps will need to rely on
SAF to get access to non-media files. Allow more grants
by bumping up the limit to 512.

BUG: 149370983
Test: m

Change-Id: I26ae0ff660ecfb846a06fca00de7c1ad41ace2b2
2020-07-09 12:10:51 +00:00
Adrian Roos
e1be3292da Insets: make decorFitsSystemWindowInsets apply cutout insets
Fixes: 160698434
Test: atest WindowTest
Change-Id: I15d74c83daad3206c6f3fc4f6a3f082d20d3c769
Merged-In: I15d74c83daad3206c6f3fc4f6a3f082d20d3c769
2020-07-09 11:14:00 +00:00
Taesu Lee
c483107ac7 Delete newFromCMT() and newFromCDS() from SmsMessage
Bug: 160847655
Test: build

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: Ie451a24ef6b6c03ee8668fb055d83c7cc4175cdb
2020-07-09 19:23:27 +09:00
junyulai
edcaa70be2 Attribute data usage to 5G for 5G non-standalone mode
Test: atest NetworkStatsSubscriptionsMonitorTest#test5g
Bug: 160727498

Change-Id: I563df14500caeb3602b381479afaf5163ad8e6a1
2020-07-09 16:56:54 +08:00
Automerger Merge Worker
26874f67a6 Merge "Merge "Ignore System Server dynamic dex files during A/B preopt" into rvc-dev am: 1c2a704f10 am: 4ce69495c3" into rvc-d1-dev-plus-aosp 2020-07-09 08:56:28 +00:00
Orion Hodson
930e623248 Merge "Ignore System Server dynamic dex files during A/B preopt" into rvc-dev am: 1c2a704f10 am: 4ce69495c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12113615

Change-Id: Iffa7d878d66a4519cf4e83906a93171f3401d0a0
2020-07-09 08:56:19 +00:00
Orion Hodson
09e2a20c95 Merge "Ignore System Server dynamic dex files during A/B preopt" into rvc-dev am: 1c2a704f10 am: cfe811b274
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12113615

Change-Id: I4fcc9fd0328839f195d7c750f3f324ded0e2094a
2020-07-09 08:56:09 +00:00
Orion Hodson
4ce69495c3 Merge "Ignore System Server dynamic dex files during A/B preopt" into rvc-dev am: 1c2a704f10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12113615

Change-Id: Ib9b4f83ae5aa4c2bf8daeb9f861f5a518e0a3a83
2020-07-09 08:45:42 +00:00
Orion Hodson
cfe811b274 Merge "Ignore System Server dynamic dex files during A/B preopt" into rvc-dev am: 1c2a704f10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12113615

Change-Id: Id0772ed9e7ab179ab6cc82e55977bac15bb68280
2020-07-09 08:45:36 +00:00
Orion Hodson
1c2a704f10 Merge "Ignore System Server dynamic dex files during A/B preopt" into rvc-dev 2020-07-09 08:30:44 +00:00
Sooraj Sasindran
23eda90058 Add hidden API to support allowed networks reason
Add hidden API to support allowed networks type for
specific reason like power.

Bug: 156709797
Test: system test
Merged-In: If4424d7d94ac26ad31725a1658dad5751d0d2629
Change-Id: If4424d7d94ac26ad31725a1658dad5751d0d2629
2020-07-08 23:23:05 -07:00
Treehugger Robot
a47b3f1ace Merge "Add debug log for set/remove active device." am: cbb4cd1f8c am: 1466c82f13 am: 24c414d9e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1351257

Change-Id: I4582f65c5674a549ad7ffbc9e12c70b80258d0de
2020-07-09 03:28:21 +00:00
Treehugger Robot
24c414d9e5 Merge "Add debug log for set/remove active device." am: cbb4cd1f8c am: 1466c82f13
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1351257

Change-Id: I55b4b2f1296628228d36ed4259f08178b1a01d56
2020-07-09 03:14:48 +00:00
Treehugger Robot
1466c82f13 Merge "Add debug log for set/remove active device." am: cbb4cd1f8c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1351257

Change-Id: If37c6b4ea4cbca9b14366d7621c14622585f42b7
2020-07-09 03:03:35 +00:00
Treehugger Robot
cbb4cd1f8c Merge "Add debug log for set/remove active device." 2020-07-09 02:47:31 +00:00
Calin Juravle
1d3de14041 Ignore System Server dynamic dex files during A/B preopt
System Server dex files has a special dexopt path while the
OTA service uses a PackageDexOptimizer backdoor which breaks
the assumptions.

Ignore any file loaded by system server until we update the
OTA service to use the proper PMS dexopt paths.

Test: adb shell; /system/bin/otapreopt_script 1
Bug: 160735835
Change-Id: Ic3d0a3127862c99c7e29ce552f6d89c248df1d0c
2020-07-08 18:50:35 -07:00
android-build-team Robot
7936df0898 Snap for 6664334 from 27b403d4c8 to rvc-release
Change-Id: Ic176fe08bf54755237bbd647bbbeb052801f1446
2020-07-09 01:08:39 +00:00
Automerger Merge Worker
d092b8c511 Merge "[automerger skipped] Merge "Skip testPhysicalEthernet if the test run adb over network" into rvc-dev am: a973bf1a56 -s ours am: eebb20887b -s ours" into rvc-d1-dev-plus-aosp 2020-07-09 00:52:02 +00:00
Mark Chien
6f79ebfd17 [automerger skipped] Merge "Skip testPhysicalEthernet if the test run adb over network" into rvc-dev am: a973bf1a56 am: 8143dc878d -s ours
am skip reason: Change-Id I57d365d33316881c50c3bf7fd1c98926d10842d3 with SHA-1 959722f93a is in history

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

Change-Id: Ideee4189dd6bcb987ccb887d15d2be9f5a3dfb04
2020-07-09 00:51:55 +00:00
Mark Chien
8b869b6191 [automerger skipped] Merge "Skip testPhysicalEthernet if the test run adb over network" into rvc-dev am: a973bf1a56 -s ours am: eebb20887b -s ours
am skip reason: Change-Id I57d365d33316881c50c3bf7fd1c98926d10842d3 with SHA-1 959722f93a is in history

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

Change-Id: Ic947249387fdf90c98d47c1775ea24e8f50286b0
2020-07-09 00:51:54 +00:00
Mark Chien
eebb20887b [automerger skipped] Merge "Skip testPhysicalEthernet if the test run adb over network" into rvc-dev am: a973bf1a56 -s ours
am skip reason: Change-Id I57d365d33316881c50c3bf7fd1c98926d10842d3 with SHA-1 959722f93a is in history

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

Change-Id: Id285ac8febcc062375bda7c95ba824dc9dd4d3bf
2020-07-09 00:39:33 +00:00
Mark Chien
8143dc878d Merge "Skip testPhysicalEthernet if the test run adb over network" into rvc-dev am: a973bf1a56
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105761

Change-Id: Ib429b7ed5fddd2d1a766b8b2b7e57c191ce59559
2020-07-09 00:39:31 +00:00
Mark Chien
a973bf1a56 Merge "Skip testPhysicalEthernet if the test run adb over network" into rvc-dev 2020-07-09 00:31:53 +00:00
Selim Cinek
ad3ada88fc Merge "Made the qs scroll view not important for accessibility" into rvc-dev am: 27b403d4c8 am: 1eb98bc467
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12111594

Change-Id: I69f0eae5587a4400b010b67875897571f8d70f75
2020-07-08 23:34:04 +00:00
Selim Cinek
26701e9f67 Merge "Made the qs scroll view not important for accessibility" into rvc-dev am: 27b403d4c8 am: dab4553f27
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12111594

Change-Id: Iecc1bb436f0ff006528835294767bd162253b38d
2020-07-08 23:33:36 +00:00
Selim Cinek
dab4553f27 Merge "Made the qs scroll view not important for accessibility" into rvc-dev am: 27b403d4c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12111594

Change-Id: Iab86765bc67493c2e86b8eab31cfddacf1cca266
2020-07-08 23:21:28 +00:00
Selim Cinek
1eb98bc467 Merge "Made the qs scroll view not important for accessibility" into rvc-dev am: 27b403d4c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12111594

Change-Id: Ib584d1f22468388deecce3576232ebdc7a998df2
2020-07-08 23:21:05 +00:00
Evan Laird
bf3278ca76 Merge "Cache Display.Mode so we can ignore refresh rate changes" into rvc-d1-dev am: b2641d1d13
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12063358

Change-Id: I2f52a3faddc25ac311d5dbbdf032658ce14fcdf6
2020-07-08 23:14:49 +00:00
Evan Laird
b2641d1d13 Merge "Cache Display.Mode so we can ignore refresh rate changes" into rvc-d1-dev 2020-07-08 23:11:36 +00:00