summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2017-03-27 09:55:30 -0700
committerPhilip P. Moltmann <moltmann@google.com>2017-04-06 03:57:54 +0000
commitb42d133c8b7f4af04d3a4349c952d437769f14e1 (patch)
treec2e27ebd35b635ceabb8bd07d5c20bceb8d86fce /tools/aapt2/diff/Diff.cpp
parent630671a60320cc8d551a3fe029456fa94d05839f (diff)
Overlay a highlight over autofilled views
Also clear this overlay once the data changes. Some views call notifyValueUpdated even if the value did not change. Hence remeber the data that was autofilled and check if the data really changed. Make the autofilledDrawable publicly accessible so that virtual views can use the same UI. As the activity is not aware that the views were autofilled the state has to be explicitly persisted over activity lifecycle events as part of the view. The lifecyle does not work yet as the AutofillIds are not stable over activity lifecycle events. Fixes: 34946006 Test: Autofilled and changed all supported views. cts-tradefed run cts-dev -m CtsUiRenderingTestCases Change-Id: I58b105bb221f1b6466dd136dfe5062d3babb5aa8
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions