summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorMihai Popa <popam@google.com>2019-01-09 20:08:25 +0000
committerMihai Popa <popam@google.com>2019-01-09 20:14:19 +0000
commitf41a054fca9ff7c0a931309ce3e47832a9044239 (patch)
treed326ad5886b9f532a1fac92985ab8869c06018df /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentccee30ed1be39f056a7368392cfe59dae3cbe757 (diff)
Enable null cursor drawable
I3801ee8642d277c96c094b7d4155e28fc5bcea87 added public setters and getter for a TextView's cursor drawable. The setter was expecting a NonNull Drawable argument. However, this was inconsistent with the textCursorDrawable attribute which had existed for a long time in platform. This accepted null, case when a fallback vertical black line is drawn as a cursor. This CL fixes this inconsistency, by allowing null Drawables to be set for the cursor. Also, the CL fixes the preconditions checking resource id arguments to be strictly positive, while negative resource ids are valid as well. Bug: 122550166 Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest Change-Id: Ia10fafbdc0405968e57b35a615eedaeb9ee80c96
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions