diff options
author | Steve Elliott <steell@google.com> | 2020-10-19 13:21:35 -0400 |
---|---|---|
committer | Steve Elliott <steell@google.com> | 2020-10-19 13:21:35 -0400 |
commit | 29f6c4bfa8e4a9463d696578a1196b6d3ca88075 (patch) | |
tree | 4ed57abd9c94ae90b85f74ee6e39aeb712a1ddda /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ab09038cd338c46be577bb3df8f0b187cf48bdce (diff) |
Re-enable IME image inserting for RemoteInputView
The prior implementation was not calling
InputContentInfo#requestPermission, resulting in the Uri for the image
from the IME not being accessible by SysUI. This is because when using
the InputConnectionCompat utils from AndroidX, the caller needs to
explicitly invoke that method, which we were not doing.
In general, it is preferred that SystemUI does not depend on the
support lib when possible, so this change re-implements the IME image
insertion handing using the built-in mechanism, which also
automatically handles granting the appropriate URI permissions for
SystemUI.
Bug: 163595585
Test: manual, atest
Change-Id: I473a03f3e5a1d756eb4b083d52bd992839911c66
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions