TreeHugger Robot
fac6655cf5
Merge "New Autofill API: SaveInfo.setTriggerId()"
2017-10-12 22:39:49 +00:00
Rob Carr
53966760d7
Merge "Use new SurfaceFlinger transaction API."
2017-10-12 22:08:03 +00:00
Felipe Leme
a937238eae
Let service set the SaveRequest.getClientState() on dataset auth responses.
...
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testFillResponseAuthClientStateSetOnIntentOnly
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testFillResponseAuthClientStateSetOnFillResponseOnly
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testFillResponseAuthClientStateSetOnIntentAndFillResponse
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testDatasetAuthClientStateSetOnIntentOnly
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testDatasetAuthClientStateSetOnFillResponseOnly
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testDatasetAuthClientStateSetOnIntentAndFillResponse
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes: 67588471
Change-Id: I05a56bfc02400ce87077c93301abc0e0e1aa59a6
2017-10-12 12:03:42 -07:00
Felipe Leme
2fe3ade813
New Autofill API: SaveInfo.setTriggerId()
...
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testExplicitySaveButton
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testExplicitySaveButtonWhenAppClearFields
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug: 65118073
Fixes: 67006548
Change-Id: Id12179086567d014f35fe4177b041745fb19bafd
2017-10-12 09:55:45 -07:00
Phil Weaver
b19789f80a
Merge "Don't recycle replaced nodes in a11y cache" into oc-mr1-dev am: 15c8747ad9
...
am: 73e2acb9ae
Change-Id: I906748223efd88d5d48889b2866725ba13c0268e
2017-10-12 02:30:42 +00:00
Phil Weaver
9704426d14
Don't recycle replaced nodes in a11y cache
...
This is a patch for another bug. When the cache refreshes
nodes, it marks the transaction to bypass the cache. We
still, however, replace the cached node. If we recycle
the node as well, we end up refreshing it after it's been
recycled and end up with a sealed node in the cache. That
node can then be obtained and then throw an exception when
a setter is called. These exceptions are almost impossible
to debug.
I'm going to leave the bug open to roll this CL back and
fix the cache's behavior, but this fix seems safer this
late.
Bug: 35626351
Test: Ran a11y CTS and unit tests. Verified on instrumented
master build that the error indeed goes away. Removing one
line from unit tests that requires recycling.
Change-Id: Icc9a43ee49cf7c6bfa996839b35954faaf31621c
2017-10-11 15:51:33 -07:00
TreeHugger Robot
f65d166959
Merge "Removed remaining use of static stack ids."
2017-10-11 21:27:05 +00:00
Wale Ogunwale
44f036fd5a
Removed remaining use of static stack ids.
...
Replace by windowingMode and activityType.
Test: Existing tests pass.
Test: go/wm-smoke
Bug: 64146578
Change-Id: I2ff026de3ead1a3e7136df17c68ed37d7aae5495
2017-10-11 07:40:46 -07:00
Robert Carr
e13b58e15b
Use new SurfaceFlinger transaction API.
...
For now we reimplement global transactions in the Java side
JNI layer.
Bug: 64815723
Bug: 64816140
Bug: 64815766
Test: Existing tests pass. go/wm-smoke
Change-Id: I6c0a7b5e65b1b6cc844ac61f3269629af60a4244
2017-10-09 16:52:48 -07:00
John Reck
949cfe1018
Deprecate view drawing cache
...
Test: Looked at docs
Change-Id: I95a487d126bd15a4085e777d58c60b6342ee64a8
2017-10-09 16:10:37 -07:00
TreeHugger Robot
75f4b23500
Merge "An update on dirty rect invalidates"
2017-10-06 01:10:54 +00:00
John Reck
a53402084e
An update on dirty rect invalidates
...
Bug: 67104277
Test: looked at docs
Change-Id: Ieb97c73bb8d63fddb232534e54091a73303e2258
2017-10-05 14:49:22 -07:00
TreeHugger Robot
d5ad2ff575
Merge "Clarify that getLocalState is always valid for DragEvent"
2017-10-05 19:03:54 +00:00
Evan Rosky
22113f0423
Merge "Enable new initial-focus behavior for P"
2017-10-05 00:29:16 +00:00
Felipe Leme
e541b65c03
Merge "Sets AutofillClient on attachBaseContext()" into oc-mr1-dev am: 6d17d9d0cf
...
am: 63b45a87d5
Change-Id: Ib7ae51cf0336c4cea8ff90d60995816d43b3fa36
2017-10-04 22:42:29 +00:00
Felipe Leme
bb567ae6c0
Sets AutofillClient on attachBaseContext()
...
When an activity overrides attachBaseContext(), the attached context must share
the same AutofillCient, otherwise it will break autofill in the activity.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.AttachedContextActivityTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes: 67350639
Change-Id: I6b0c4c2fab5fa68eb6ee0714e107ca0816efb2cb
2017-10-04 12:23:23 -07:00
Andrei Stingaceanu
6c591dd3c3
Merge "[Magnifier - 1] Initial implementation and wiring"
2017-10-04 09:38:53 +00:00
Felipe Leme
114a441554
Added ViewNode.getWebScheme().
...
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsAssistTestCases
Fixes: 65207762
Change-Id: Ia8f7b3f5fce8cf0cc783e861fd7e1f1f7f78db19
2017-10-03 14:54:49 -07:00
Andrei Stingaceanu
d2eadfa4b1
[Magnifier - 1] Initial implementation and wiring
...
* implementation of a magnifier which can be attached to any view
* important APIs:
** show(float centerXOnScreen, float centerYOnScreen, float scale)
** dismiss()
* smart offset => shows below if there is no space above
* controlled by boolean flag (easy to turn off)
* attached the magnifier to Editor's handles
* vertically snaps to the middle of the line containing the
selection
* horizontally snaps to the offset of the character where
the selection starts/ends
Bug: 66657373
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: manual test that shows the magnifier working
Change-Id: I1d4616b8bb1210d869ac47dca137ea9636355250
2017-10-03 16:45:54 +01:00
Jorim Jaggi
6c23b00b46
Merge "Fix crash when dumping empty LayoutParams"
2017-09-29 10:43:47 +00:00
Jan Althaus
3bf929524d
Merge "Adding multiple action support to TextClassification"
2017-09-29 10:41:09 +00:00
Jorim Jaggi
2d3954f6f6
Fix crash when dumping empty LayoutParams
...
Test: WindowManager_LayoutParamsTest
Change-Id: Ie80181fbef354a6d4b6569c66a4e37d526e7ddd6
Fixes: 66953119
2017-09-28 16:56:46 +02:00
Jan Althaus
92d76838f8
Adding multiple action support to TextClassification
...
This introduces no user visible changes. All users of the TextClassifier
still just query the default action.
Bug: 320611
Test: Manually tested with a locally modified action mode that supports multiple actions.
Change-Id: I8e8714e04d70f4787ecf605bb7e27ef7d1af4d79
2017-09-28 15:39:41 +02:00
Wale Ogunwale
68278568de
HOME_STACK_ID, ASSISTANT_STACK_ID, and RECENTS_STACK_ID be gone!
...
Replaced usages with ACTIVITY_TYPE_HOME, ACTIVITY_TYPE_ASSISTANT
and ACTIVITY_TYPE_RECENTS.
Test: go/wm-smoke
Test: Existing tests pass.
Bug: 64146578
Change-Id: I62c55c99df86dba8c9ba9d9986049de1b1083234
2017-09-27 21:08:10 -07:00
Phil Weaver
d17e402a7e
Merge "Add null check in a11y callback" into oc-mr1-dev am: 4dfeb4f0e4
...
am: 0e8e7830fc
Change-Id: I88c8d335a4b91072d5e9bfcc4c2a7b21ec46565b
2017-09-26 19:38:44 +00:00
Phil Weaver
4dfeb4f0e4
Merge "Add null check in a11y callback" into oc-mr1-dev
2017-09-26 19:22:51 +00:00
Svet Ganov
c2840f9f9f
Merge "Hide autofill popup if anchor removed" into oc-mr1-dev am: 8e5e30c5eb
...
am: 89934be670
Change-Id: Idc925398f0b28ffe7220634cd9b74fba22de7278
2017-09-25 22:41:17 +00:00
TreeHugger Robot
8e5e30c5eb
Merge "Hide autofill popup if anchor removed" into oc-mr1-dev
2017-09-25 22:24:25 +00:00
Jan Althaus
f5405080bf
Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev am: e95197a664
...
am: 35d91afa74
Change-Id: I7d6f531823244508d53497f0a28ba610b80c0569
2017-09-25 15:46:30 +00:00
Jorim Jaggi
7ace43b538
Merge "Improve window manager layout attribute dumping"
2017-09-25 15:11:30 +00:00
Jorim Jaggi
484851b914
Improve window manager layout attribute dumping
...
Test: adb shell dumpsys window
Change-Id: I9c76e6a6950265b49667cc19998282ef0c682815
2017-09-25 13:31:04 +02:00
Jan Althaus
34aa294b96
Fixed bug in handling of OTHER as terminal
...
This bug resulted in a tap on a non-default action mode item to get logged
as OTHER, followed by ABANDON.
Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: I3cdba7ccff896939e22c567843f335c54d4a97f3
2017-09-25 09:56:21 +02:00
Svet Ganov
77150c5fbb
Hide autofill popup if anchor removed
...
Test: Manual
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
bug:64601372
Change-Id: Ic55dabb99cd5015d318ab3be1231b6aa5c67294e
2017-09-23 10:13:06 -07:00
Chavi Weingarten
7f5265ebfc
Merge "Added jni and SurfaceControl methods for native setColor"
2017-09-22 20:33:46 +00:00
Phil Weaver
05a2982f0c
Add null check in a11y callback
...
Bug: 65475473
Test: Verified it still builds
Change-Id: I9ad1249c44cb73153066f67164c90333779d284e
2017-09-22 20:09:14 +00:00
Felipe Leme
f04ea961a0
Merge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev am: 56e5c3944b
...
am: 64a6188032
Change-Id: I568c3a67d43b0a1eb1af4350f523ba291c5ea9f2
2017-09-21 17:14:41 +00:00
Karthik Ravi Shankar
896564bef1
Merge "Fix window visibility during layout" into oc-mr1-dev am: 7a59a62276
...
am: 11f25ba1a0
Change-Id: I3620a51554e6e8101d5a013f9287339bb1031806
2017-09-21 01:38:23 +00:00
TreeHugger Robot
e551ca7751
Merge "Changed reparentChild method name to reparent."
2017-09-21 01:04:06 +00:00
Felipe Leme
650f7abc3f
Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS.
...
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapHomeWhileSaveUiIsShowing
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapHomeWhileDatasetPickerUiIsShowing
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes: 65414762
Change-Id: I7dc9fd8f40341164e0ca320ff49b99cf8614fdbf
2017-09-20 17:19:29 -07:00
chaviw
7643140c7c
Changed reparentChild method name to reparent.
...
The native reparentChild was changed to reparent to represent that the
current layer is getting re-parented. Updated the jni and Java code to
reflect that.
Test: Device boots
Change-Id: I390d2efba61c626f2162f75f650700d53ab178a5
2017-09-20 17:35:43 +02:00
TreeHugger Robot
7a59a62276
Merge "Fix window visibility during layout" into oc-mr1-dev
2017-09-20 03:17:44 +00:00
Felipe Leme
204605d891
Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev am: 2748ffcef7
...
am: 667fb12d37
Change-Id: Ib4d8b85be3d38131d606569913939d10199c63f7
2017-09-19 23:12:44 +00:00
TreeHugger Robot
2748ffcef7
Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev
2017-09-19 22:47:16 +00:00
Felipe Leme
c7b4529aa9
Autofill optimization: don't contact server when session is finished.
...
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug: 65414762
Change-Id: I214a7835727c3ff71de9dc65c8d6fe54507265fb
2017-09-19 11:49:29 -07:00
TreeHugger Robot
096a47d59f
Merge "Improve WMP dumpsys readability."
2017-09-19 14:36:52 +00:00
Felipe Leme
f60da8690f
Merge "Added more metrics for Autofill:" into oc-mr1-dev am: d4f72ac3c4
...
am: b093daa296
Change-Id: Iae09ba2c6a082b87b74bd05320222955bde30dda
2017-09-18 21:26:55 +00:00
TreeHugger Robot
d4f72ac3c4
Merge "Added more metrics for Autofill:" into oc-mr1-dev
2017-09-18 21:05:44 +00:00
Felipe Leme
cbb7bc1511
Merge "Merge "Clarified how to set for autofill views representing creditcard expiration dates." into oc-mr1-dev am: daf9b2ee15" into oc-mr1-dev-plus-aosp
...
am: 606f2d1b93
Change-Id: I704f41d28f27c6c1559ab778cd49c35169995fc5
2017-09-18 20:37:44 +00:00
Michael Wright
1985976b66
Improve WMP dumpsys readability.
...
It's hard enough to read bugreports without having to decipher all of
the various IntDef's littered around; let's go ahead and just translate
them to something readable.
Bug: 65563703
Test: adb shell dumpsys window policy
Change-Id: Iea6cd309eb3411a65e54217fef814a66107a8e31
2017-09-18 21:21:47 +01:00
Felipe Leme
f3d30a2139
Clarified how to set for autofill views representing creditcard expiration dates.
...
Test: mmm -j108 frameworks/base/:doc-comment-check-docs
Fixes: 65673410
Change-Id: I0ebf452dff401d0863d841d714fc1350f73c2542
2017-09-15 13:38:56 -07:00