Commit Graph

105645 Commits

Author SHA1 Message Date
TreeHugger Robot
bfa417e7dd Merge "Camera: Docs: Improve info on key removal in CameraCharacteristics" into rvc-dev am: 48105b5c6e
Change-Id: Ieeb849337217098578a15df3cc4e91c62c27d320
2020-05-15 18:17:35 +00:00
TreeHugger Robot
48105b5c6e Merge "Camera: Docs: Improve info on key removal in CameraCharacteristics" into rvc-dev 2020-05-15 18:17:04 +00:00
Evan Rosky
79da850cfe Merge "Add a window dump for uiautomator" into rvc-dev am: bddd280556
Change-Id: I5b9b5d0536dd2a735b78926df6c1c2e72f67e29a
2020-05-15 18:16:56 +00:00
Evan Rosky
bddd280556 Merge "Add a window dump for uiautomator" into rvc-dev 2020-05-15 18:15:36 +00:00
TreeHugger Robot
a13cc843c6 Merge "Treat mimegroup as wildcard for app enumeration" into rvc-dev am: cd1c478655
Change-Id: I262cb03eb30c6c9c2ff4a41bb1ccbb4ba9972406
2020-05-15 17:56:07 +00:00
TreeHugger Robot
cd1c478655 Merge "Treat mimegroup as wildcard for app enumeration" into rvc-dev 2020-05-15 17:54:23 +00:00
TreeHugger Robot
9ada4891f7 Merge "Ignore port when matching with wildcards" into rvc-dev am: d1b6afcc19
Change-Id: I4f1ef1e10afc4f9353a400173bcd2c8143811486
2020-05-15 17:41:18 +00:00
TreeHugger Robot
d1b6afcc19 Merge "Ignore port when matching with wildcards" into rvc-dev 2020-05-15 17:38:40 +00:00
Wenjie Zhou
bbd12bc783 Merge "mCallback defined in BringYourOwnSection should be an object instead of a reference." into rvc-dev am: ad24e49e2f
Change-Id: Ia39b5ca803f3962ab2e864a16e7ceedb47788a9e
2020-05-15 16:04:32 +00:00
TreeHugger Robot
ad6683cb04 Merge "Add tracing for Inset animations" into rvc-dev am: 5bf3f80f20
Change-Id: I7799f6e7eadd8bf24c43de58933365d7842ad2c2
2020-05-15 15:59:35 +00:00
Winson Chung
39fbb5d7c1 Merge "Skip parceling destroyed buffer" into rvc-dev am: b159f28fce
Change-Id: I51bcc3b51a3f12b467881d77bcba997d1e134353
2020-05-15 15:55:23 +00:00
Tiger Huang
88f47b7d0d Merge "Do not dispatch system UI visibility during traversal" into rvc-dev am: 8fd8a538b8
Change-Id: If80d3f6cb3c120aa32ae95e75b07149356583d34
2020-05-15 15:54:58 +00:00
Eino-Ville Talvala
29cb5ecd71 Merge "Camera: Update documentation for rolling shutter skew" into rvc-dev am: 1a66adcc56
Change-Id: I3adc7d4d2c74db00311b86fb99b179a191ddfcd4
2020-05-15 15:53:59 +00:00
Matt Casey
cdf533b8f2 Merge "Allow WindowManager.TYPE_SCREENSHOT to be focusable" into rvc-dev am: d8aa60aa0d
Change-Id: I6ed40dcec54942b982e312e5c975ec94fbb951ce
2020-05-15 15:53:25 +00:00
TreeHugger Robot
5f6997a91f Merge "Revert "Finish input when the screen state is off"" into rvc-dev am: d99569f88a
Change-Id: Ie7d45b61a1b6b2f31bb20c1ad4e6feaa43c33ce1
2020-05-15 15:50:11 +00:00
TreeHugger Robot
a51f14f3e5 Merge "Pass window type to the InputWindowHandle of embedded window" into rvc-dev am: 0e58daf022
Change-Id: I4a6cd0dd57c318aa5de26c7e3ca33cda961f7430
2020-05-15 15:47:45 +00:00
TreeHugger Robot
1fafd9ada3 Merge "Remove divider view when exiting splitscreen" into rvc-dev am: 3a6ec37a71
Change-Id: I7cbc233fca8687eba37c3127f9d13fe3c9e60c19
2020-05-15 15:44:34 +00:00
Benedict Wong
d84c77544b Merge "Add methods for IKEv2/IPsec test mode profiles" am: f44b90fdc4 am: 8b0b9d8a26
Change-Id: I353d999ebcdd108a900abfe20be232e83147b6d2
2020-05-15 02:51:43 +00:00
Benedict Wong
8b0b9d8a26 Merge "Add methods for IKEv2/IPsec test mode profiles" am: f44b90fdc4
Change-Id: I9ff22188a641fce6b7bd44f7619d1b825988667a
2020-05-15 02:35:39 +00:00
Benedict Wong
f44b90fdc4 Merge "Add methods for IKEv2/IPsec test mode profiles" 2020-05-15 02:18:02 +00:00
Wenjie Zhou
ad24e49e2f Merge "mCallback defined in BringYourOwnSection should be an object instead of a reference." into rvc-dev 2020-05-15 02:06:30 +00:00
Patrick Baumann
84249ed31e Treat mimegroup as wildcard for app enumeration
This change treats any filter with a mimegroup as if it matches all or
no mime types when matching for the purpose of app enumeration.

Fixes: 155379839
Test: atest IntentFilterTest
Change-Id: I358872082524a4001179bb145053d006622898a7
2020-05-14 16:11:49 -07:00
Patrick Baumann
97980133d5 Ignore port when matching with wildcards
This change ensures that we don't take port into account when matching
queries tags against intent filters as port is not a supported value in
a queries intent tag. Adding support for this in a future release will
just limit the scope of the queries tag on thos releases; it will still
be ignored in this release.

Bug: 151638510
Test: atest IntentFilterTest
Change-Id: I69d77ae6bebf3984bfe8e8a0f6c2e9e91ee69298
2020-05-14 16:03:23 -07:00
Wenjie Zhou
751c7c947a mCallback defined in BringYourOwnSection should be an object instead of a reference.
The referenced object could be destroyed and result in native crash when
mCallback is used.

Bug: 156536687
Test: manual test with registering a section from an app
Change-Id: Ie36c0e6e64be1246539f12999f037c24377686dd
2020-05-14 15:24:39 -07:00
TreeHugger Robot
5bf3f80f20 Merge "Add tracing for Inset animations" into rvc-dev 2020-05-14 22:16:23 +00:00
Cody Kesting
a611e762ad Merge "Create TestApi for simulating a Data Stall on ConnectivityService." into rvc-dev 2020-05-14 18:56:36 +00:00
Cody Kesting
3fdb1831a4 Merge "Set owner and administrator UIDs for test networks." into rvc-dev 2020-05-14 18:56:16 +00:00
Winson Chung
b159f28fce Merge "Skip parceling destroyed buffer" into rvc-dev 2020-05-14 17:32:08 +00:00
Tiger Huang
8fd8a538b8 Merge "Do not dispatch system UI visibility during traversal" into rvc-dev 2020-05-14 17:25:56 +00:00
Eino-Ville Talvala
1a66adcc56 Merge "Camera: Update documentation for rolling shutter skew" into rvc-dev 2020-05-14 16:49:42 +00:00
Matt Casey
d8aa60aa0d Merge "Allow WindowManager.TYPE_SCREENSHOT to be focusable" into rvc-dev 2020-05-14 16:37:58 +00:00
Winson Chung
5bd2a157c6 Skip parceling destroyed buffer
- Haven't been able to repro, but we shouldn't crash system server

Bug: 154382448
Test: Just adding a destroyed check
Change-Id: I412ab1703602723511a6bd3c598d34b6ade68db7
Merged-In: I412ab1703602723511a6bd3c598d34b6ade68db7
2020-05-14 16:05:07 +00:00
Jorim Jaggi
cb28ae6d17 Add tracing for Inset animations
So we can understand better what's going on.

Bug: 156367695
Test: Systrace
Change-Id: Ic9dc2c963f70a3bb787121d33476b84bd3dc5798
2020-05-14 17:46:32 +02:00
TreeHugger Robot
d99569f88a Merge "Revert "Finish input when the screen state is off"" into rvc-dev 2020-05-14 14:21:39 +00:00
TreeHugger Robot
0e58daf022 Merge "Pass window type to the InputWindowHandle of embedded window" into rvc-dev 2020-05-14 08:32:00 +00:00
arthurhung
d3f17d7df7 Pass window type to the InputWindowHandle of embedded window
A windowless SurfaceControl could grant input via
IWindowSession.grantInputChannel, but other window may receive the
obscured events because of the type value of input window is always 0.

The obscured or partially obscured flag indicates that the window
received this motion event is wholly or partially obscured by another
visible window above it.

We have to filter out the trusted overlap so the motion event could
properly dispatch to the view if it is a security sensitive application.

Bug: 156063505
Test: enter split window mode and check the motion event
Change-Id: I10f63ea131a70ee8cc7d5c4b3e5ca4e5f06fdbad
2020-05-14 11:59:23 +08:00
TreeHugger Robot
3a6ec37a71 Merge "Remove divider view when exiting splitscreen" into rvc-dev 2020-05-14 02:25:24 +00:00
Ming-Shin Lu
2c6e80be12 Revert "Finish input when the screen state is off"
This reverts commit 0df8812486.

The original CL is trying to reduce the dependency of PownerManager to
finish input when screen off by using display state.

However, it doesn't fully fix the original Bug 26851566 since we only
finish input connection but didn't callback onFinishInput callback for
IME client.

Also, for some scenarios, the window / view focus may not change
during screen turns off / on:
  - Focusing timing when disable keyguard, then quickly screen off / on.
  - Using P-sensor to turning screen off / on.

When the above scenario happens, makes input connection cannot re-start
and soft-keyboard can't be shown.
(The recovery is manually focus on next window or activity.)

As the above reason, we need to re-consider the lifecycle of
input connection, window / view focus when not only screen state but also
device inactive state when always-on-display.

Fix: 156045961
Fix: 154605805
Bug: 26851566
Bug: 156215187
Test: atest CtsInputMethodTestCases
Change-Id: If06daf71160aa44a4254ac125561974ecbdef4f2
2020-05-14 08:29:18 +08:00
TreeHugger Robot
fedb88559b Merge "Change the timeout for integrity verification from 10 seconds to 30 seconds." into rvc-dev am: bc9515e4b9
Change-Id: Ia9efc035ed58eb08d8244ae1bfcb08ae1ab92718
2020-05-13 22:43:36 +00:00
TreeHugger Robot
7c19660f43 Merge "Revert tab key behavior on multiline EditTexts." into rvc-dev am: 4d857ccce5
Change-Id: I81f0a872137da5f7063cb767c60fce9e3c9a705d
2020-05-13 22:42:56 +00:00
TreeHugger Robot
bc9515e4b9 Merge "Change the timeout for integrity verification from 10 seconds to 30 seconds." into rvc-dev 2020-05-13 22:41:10 +00:00
TreeHugger Robot
4d857ccce5 Merge "Revert tab key behavior on multiline EditTexts." into rvc-dev 2020-05-13 22:30:21 +00:00
TreeHugger Robot
307822164f Merge "SurfaceView: positionLost locking fix" into rvc-dev am: bff3812e82
Change-Id: Ib8d633718cbbef9b8bf49e8afd4c77e57e8ebf9c
2020-05-13 22:15:34 +00:00
TreeHugger Robot
bff3812e82 Merge "SurfaceView: positionLost locking fix" into rvc-dev 2020-05-13 22:04:58 +00:00
TreeHugger Robot
33e9151041 Merge "Fix inline suggestion ref counting to not over-count" into rvc-dev am: 730fb0d97d
Change-Id: Ie26fb4be5a80161540f0a0010067c8ee52d682dd
2020-05-13 21:04:09 +00:00
TreeHugger Robot
730fb0d97d Merge "Fix inline suggestion ref counting to not over-count" into rvc-dev 2020-05-13 20:58:15 +00:00
TreeHugger Robot
3c109b83a7 Merge "Controls API - Flag controls support" into rvc-dev am: 897187dcfa
Change-Id: Ic1b671de26b28c7e4624be91ec130142a0c59cb7
2020-05-13 20:57:37 +00:00
TreeHugger Robot
897187dcfa Merge "Controls API - Flag controls support" into rvc-dev 2020-05-13 20:42:42 +00:00
Song Pan
74b5e72f17 Change the timeout for integrity verification from 10 seconds to 30 seconds.
Context: https://buganizer.corp.google.com/issues/154486093#comment24

Bug: 154486093
Test: N/A
Change-Id: I4fae3401ad7323acfa9cc520aac0cbb6bdbf6ada
2020-05-13 20:27:40 +01:00
Feng Cao
723ba2e82b Fix inline suggestion ref counting to not over-count
* Imagine this event sequence:
  1) the IME tries to re-attach an inline suggestion view to the
  window (e.g. because IME layout changes), it calls into the system
  server which causes recreating the backing view because it was
  destroyed earlier due to 0 ref-count (this happens under the hood
  without IME knowing it happens, so the view is still attached to
  the window).
  2) the IME receives a new inline suggestion pointing to the same
  backing view (perhaps due to filtering kicks in).
  3) the recreation from step 1 finishes, but now it will callback
  to the new inline suggestion, therefore the old view doesn't receive
  the new SurfacePackage. See RemoteInlineSuggestionUi for why.
  4) the view in step 1 is detached from window, since it never
  receives a SurfacePackage from the remote view, its detach shouldn't
  cause a reference count down on the remote view.

Test: atest android.autofillservice.cts.inline (sanity test)
Bug: 154683107

Change-Id: I2e6814ef3889de603f6e170efcb795b69ec9febe
2020-05-13 11:55:58 -07:00