Commit Graph

519022 Commits

Author SHA1 Message Date
Daulet Zhanguzin
96bdc2d785 Merge "Remove DERInteger usages" am: 1835a24839 am: 07e62d7649
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1305793

Change-Id: I7ec9709e9f152fac13b3f56dc1f9238869502c39
2020-07-03 12:02:35 +00:00
TreeHugger Robot
f15c74a082 Merge "Fix Keyboard stays on while startSeamlessRotation" into rvc-dev am: 641c8844ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12066148

Change-Id: Icf47a861ea1ad6213f31a6e63a88d82f1f98d20d
2020-07-03 12:02:34 +00:00
Daulet Zhanguzin
07e62d7649 Merge "Remove DERInteger usages" am: 1835a24839
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1305793

Change-Id: Iffdbd3a224b0dd83671023c79601dd9e64c95331
2020-07-03 11:51:31 +00:00
TreeHugger Robot
641c8844ba Merge "Fix Keyboard stays on while startSeamlessRotation" into rvc-dev 2020-07-03 11:51:16 +00:00
Pavel Grafov
87bcf321a9 Merge "Connectivity: start PAC global proxy after reboot." am: 5ab4cc2a52 am: 77c5848977 am: 6852f5bdb1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/431599

Change-Id: I2b42c88920c59bc26e2a6531e1812fa6afe9650a
2020-07-03 11:50:34 +00:00
Daulet Zhanguzin
1835a24839 Merge "Remove DERInteger usages" 2020-07-03 11:42:50 +00:00
Pavel Grafov
6852f5bdb1 Merge "Connectivity: start PAC global proxy after reboot." am: 5ab4cc2a52 am: 77c5848977
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/431599

Change-Id: I5bb6267ca876df8aef0b2df630c058726b195352
2020-07-03 11:38:59 +00:00
Pavel Grafov
77c5848977 Merge "Connectivity: start PAC global proxy after reboot." am: 5ab4cc2a52
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/431599

Change-Id: I31aa41a6268d88178c4a3f276c7ea7750695b417
2020-07-03 11:13:01 +00:00
Pavel Grafov
5ab4cc2a52 Merge "Connectivity: start PAC global proxy after reboot." 2020-07-03 10:54:10 +00:00
Treehugger Robot
774faa4955 Merge "ITetheredInterfaceCallback is a oneway interface" am: d29edf9d83 am: 91a7404270 am: 51c383fe49
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354662

Change-Id: If18f53d5b6e74ecbe4b4bab4b88c4ddaa99075db
2020-07-03 09:58:29 +00:00
Galia Peycheva
bdacdde5b9 Allow doze dream package to start a DreamActivity
After we made the DreamService use an activity, we introduced checks
that only the current active dream component can start a dream activity.
This meant that if the doze dream is in a different package, it would
get suspended.

This CL fixes that by whitelisting also the doze dream package.

Bug: 160109097
Test: m && flash && put two different dream as doze and active dream &&
      check that the doze starts
Test: atest DreamManagerServiceTests
Change-Id: I553dd1d44f3303d18278482b4a4e88a5564a94d3
2020-07-03 11:47:36 +02:00
Treehugger Robot
51c383fe49 Merge "ITetheredInterfaceCallback is a oneway interface" am: d29edf9d83 am: 91a7404270
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354662

Change-Id: Id0aae634967288a68cc80d0de79a42ab09c06a59
2020-07-03 09:43:09 +00:00
Treehugger Robot
91a7404270 Merge "ITetheredInterfaceCallback is a oneway interface" am: d29edf9d83
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354662

Change-Id: I8934a8afb4936293c86242bb633a39a3feb9f8a1
2020-07-03 09:32:22 +00:00
Treehugger Robot
d29edf9d83 Merge "ITetheredInterfaceCallback is a oneway interface" 2020-07-03 09:17:58 +00:00
Louis Chang
fc0cdd8526 Do not count AOD showing changes as keyguard's
AOD status changed after keyguard was set as going away, which
reset mKeyguardGoingAway back to false and put activities to sleep.

Bug: 158640144
Test: Unlock keyguard during AOD2
Change-Id: I9335045668f90d477d19dada0185447bfa3cb2a7
2020-07-03 15:38:45 +08:00
TreeHugger Robot
21cc8afc92 Merge "Unable to show correct device icon in Output Switcher" into rvc-dev am: fb87c72c66 am: 422e5a6032
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12055443

Change-Id: Ia9d18f16a57a94aa69a53fceb2bfd3f47b276342
2020-07-03 04:49:01 +00:00
TreeHugger Robot
473f6987de Merge "Unable to show correct device icon in Output Switcher" into rvc-dev am: fb87c72c66 am: 54091ba0f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12055443

Change-Id: If867a04a93365b37231b453f2f2a68dab9715d55
2020-07-03 04:48:42 +00:00
TreeHugger Robot
422e5a6032 Merge "Unable to show correct device icon in Output Switcher" into rvc-dev am: fb87c72c66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12055443

Change-Id: Ia3c9fc980298536e11bd676671c8d4ba25b126ec
2020-07-03 04:23:12 +00:00
TreeHugger Robot
54091ba0f1 Merge "Unable to show correct device icon in Output Switcher" into rvc-dev am: fb87c72c66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12055443

Change-Id: I5b05ea2b37ad09c6fbb01af366cfe2cd2f90c89d
2020-07-03 04:23:08 +00:00
TreeHugger Robot
fb87c72c66 Merge "Unable to show correct device icon in Output Switcher" into rvc-dev 2020-07-03 04:08:28 +00:00
Automerger Merge Worker
fd99d382b2 Merge "Merge "Fix Bundle#getParcelableArray call" into rvc-dev am: d70c7dda50 am: e7322068cc" into rvc-d1-dev-plus-aosp 2020-07-03 03:03:39 +00:00
TreeHugger Robot
cf35ac98ac Merge "Fix Bundle#getParcelableArray call" into rvc-dev am: d70c7dda50 am: e7322068cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034230

Change-Id: I5a3c67fb9d484469ffcfa2c0b3cf09e700835e53
2020-07-03 03:03:33 +00:00
TreeHugger Robot
63178d96bd Merge "Fix Bundle#getParcelableArray call" into rvc-dev am: d70c7dda50 am: 72217807c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034230

Change-Id: I771521370a581188f14bff35c7b04ba4b4c6c636
2020-07-03 03:03:22 +00:00
TreeHugger Robot
72217807c6 Merge "Fix Bundle#getParcelableArray call" into rvc-dev am: d70c7dda50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034230

Change-Id: I91d3376afab7d6da3f6492de63b98c20d0c23380
2020-07-03 02:40:24 +00:00
TreeHugger Robot
e7322068cc Merge "Fix Bundle#getParcelableArray call" into rvc-dev am: d70c7dda50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034230

Change-Id: I18687d77b5383d35b5cd079345be1cbac64dd532
2020-07-03 02:40:20 +00:00
TreeHugger Robot
d70c7dda50 Merge "Fix Bundle#getParcelableArray call" into rvc-dev 2020-07-03 02:22:57 +00:00
Treehugger Robot
29cd04ede0 [automerger skipped] Merge "Revert "Move Inet[4]AddressUtils to libs/net"" am: 55d6e27887 am: 09a8b68f3e -s ours am: 073a58d001 -s ours
am skip reason: Change-Id Icd141a992c46290c74929785e261a1cd57bc001b with SHA-1 deae676127 is in history

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

Change-Id: I8f5a2c331176a3e1a2c11aebe65a6a8799f309a2
2020-07-03 01:53:51 +00:00
Treehugger Robot
073a58d001 [automerger skipped] Merge "Revert "Move Inet[4]AddressUtils to libs/net"" am: 55d6e27887 am: 09a8b68f3e -s ours
am skip reason: Change-Id Icd141a992c46290c74929785e261a1cd57bc001b with SHA-1 deae676127 is in history

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

Change-Id: Ie3cef51a714de2c9111554c84a5e7aba49a4818f
2020-07-03 01:36:29 +00:00
android-build-team Robot
d61a4da65e Snap for 6650198 from f1f700094c to rvc-release
Change-Id: Ida95aeac0a9ad731bbb93131ce75d823f0a9b59d
2020-07-03 01:12:28 +00:00
Treehugger Robot
09a8b68f3e Merge "Revert "Move Inet[4]AddressUtils to libs/net"" am: 55d6e27887
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354443

Change-Id: I472fd717d82304e4362c3075805b460b02a197e0
2020-07-03 00:54:07 +00:00
Treehugger Robot
55d6e27887 Merge "Revert "Move Inet[4]AddressUtils to libs/net"" 2020-07-03 00:39:27 +00:00
Chalard Jean
a35580e0dd Revert "Move Inet[4]AddressUtils to libs/net"
This reverts commit 57d68e3c55.

Reason for revert: Breaks the build b/160390899

Merged-In: Icd141a992c46290c74929785e261a1cd57bc001b
Change-Id: Ie10e66f61393602f17fbb61bf17230b176bf1f44
2020-07-02 23:47:35 +00:00
Ming-Shin Lu
35ff45dab4 Fix Keyboard stays on while startSeamlessRotation
InsetsSourceProvider#startSemlessRotation will be called and cancel
on-going insets animation to revoke the insets control.

The idea is preventing the frame of insets animation will be drawn while the
rotation is not yet stable, and re-apply the revoked control again once
the rotation finished.

However, since the IME insets control / control target / leash has been cleared
after animation cancelled, there is no way to update the revoked IME
control target again, and also cannot have a direct signal to request visible
for client side after finished rotation, that will casue IME surface
stays on and client can't control the IME inets visiblity.

As the issue case which seamless rotation happens during launch fixed portrait
rotation app from launcher in landscape mode, since seamless rotation
animation doesn't well support the target window which controlled IME insets
is animating, we should skip seamless rotation for this case.

Fix: 158924696
Test: manual as below steps:
 1. Enable "Allow Home screen rotation" from Launcher -> Home Settings
    and "Auto-rotate" from quick settings.
 2. Open Snapchat in portrait > open a conversation > open keyboard.
 3. Tap Home button > rotate device from portrait to landscape.
 4. Tap Snapchat icon in landscape > the keyboard is automatically displayed
 5. Tap the back key in the lower left corner of the device.
 6. Expect keyboard should hide after the back key pressed.

Change-Id: I7d4685a0b85ec3db9b7e1c266030817da3dde812
2020-07-03 02:22:37 +08:00
Anton Hansson
eda5bb1145 Merge "Make module stubs publicly visible" into rvc-dev am: f1f700094c am: 9dc45d4f11
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070362

Change-Id: I5d9177b53ce0f73e5c26375f86d5e7694480a03c
2020-07-02 18:00:50 +00:00
Anton Hansson
aa6f641af9 Merge "Make module stubs publicly visible" into rvc-dev am: f1f700094c am: 960e855286
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070362

Change-Id: Ia2227912b1f406d620b6a8b89e3c8a131b21a00a
2020-07-02 17:55:48 +00:00
Anton Hansson
9dc45d4f11 Merge "Make module stubs publicly visible" into rvc-dev am: f1f700094c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070362

Change-Id: I0d809cd6cf4f280c060c8445bd9f54f7e5c37cb1
2020-07-02 17:36:28 +00:00
Anton Hansson
960e855286 Merge "Make module stubs publicly visible" into rvc-dev am: f1f700094c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070362

Change-Id: Ibf64f995c04c96d792129559c78a4b8ceee052e1
2020-07-02 17:35:55 +00:00
Anton Hansson
f1f700094c Merge "Make module stubs publicly visible" into rvc-dev 2020-07-02 17:24:01 +00:00
Nicolas Geoffray
af6d3a6cb5 Remove old code that isn't relevant anymore.
In order to reduce the CorePlatformAPI surface.

Test: m
Bug: 154796679
Change-Id: I428fe21d764bf6897942d7e67d85297d826d3716
2020-07-02 17:24:21 +01:00
Robin Lee
d3bde87895 ITetheredInterfaceCallback is a oneway interface
This is sent from the system server, and the system server doesn't like
being blocked by apps.

Change-Id: I603be3038831974baf1dc392ff0d062e9db91b63
Test: atest CtsTetheringTest
Bug: 160389275
2020-07-02 17:59:28 +02:00
Automerger Merge Worker
205e11f793 Merge changes from topic "am-39b53b3019ba4dd38e8861a245803c35" into rvc-d1-dev-plus-aosp
* changes:
  Merge "[DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6."" into rvc-dev am: 3d61c82b41 am: a88ba4ea3c
  [DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6." am: a2127eb446 am: bf5989c341
2020-07-02 15:56:26 +00:00
TreeHugger Robot
693bcf5a2e Merge "[DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6."" into rvc-dev am: 3d61c82b41 am: a88ba4ea3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: I561c3cfd3fa76adb21c1125aa33db05f1c64bd0f
2020-07-02 15:56:13 +00:00
TreeHugger Robot
0979fa6cf1 Merge "[DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6."" into rvc-dev am: 3d61c82b41 am: 77de09efd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: I056479d73f9e8977c404f64005618d11878fee0e
2020-07-02 15:56:06 +00:00
Sahana Rao
10aa6a9931 [DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6." am: a2127eb446 am: bf5989c341
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: I65f1c41e5447b580fc4ded11a92588194fdc6e12
2020-07-02 15:56:04 +00:00
Sahana Rao
261c1dc4e7 [DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6." am: a2127eb446 am: da9943ba2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: I2313b89eccde3f087dc6bbed07cd602c272b41fe
2020-07-02 15:55:56 +00:00
Anton Hansson
d346b43c1f Make module stubs publicly visible
Previously they were limited to frameworks/base so that they could be
combined into the "main" android stubs. However, limiting their
visibility is inflexible and unnecessary, and due to limitations in the
build system also makes it impossible to create rules for prebuilts of
these module stubs that set `prefer: false`.

This CL makes it possible to disable the prebuilts, which multiple
downstream branches would like to do.

Bug: 159902351
Test: m nothing (with prefer: false on prebuilts)
Change-Id: Id0eee4bf4e78f5dfddf6ad569e49719fefde658e
2020-07-02 16:41:45 +01:00
TreeHugger Robot
77de09efd5 Merge "[DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6."" into rvc-dev am: 3d61c82b41
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: I2333ef565f9f2a199e944361fc207f355ca34c43
2020-07-02 15:41:32 +00:00
TreeHugger Robot
a88ba4ea3c Merge "[DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6."" into rvc-dev am: 3d61c82b41
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: Iab49a5f76886f6fad427c6a3125da1c725b2fdbd
2020-07-02 15:41:28 +00:00
Sahana Rao
da9943ba2d [DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6." am: a2127eb446
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: Ieaa7fdce06d0e12be780790a95fef6c782dcdf8b
2020-07-02 15:41:19 +00:00
Sahana Rao
bf5989c341 [DO NOT MERGE]Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #6." am: a2127eb446
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065945

Change-Id: I9d6ac454f1a676f47f80fe21ec33264f76ec1a72
2020-07-02 15:41:18 +00:00