summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorqinyige <qinyige@xiaomi.com>2018-12-27 19:56:54 +0800
committerqinyige <qinyige@xiaomi.com>2019-01-07 10:31:42 +0800
commit0b5ca24a41ec6fe7fe34583cbb7871886f6bf25e (patch)
treeab69b8eb079dd53a156dd1543dae817327f9cff7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent394b0d1a0405e3909633962e3145dca81b442f82 (diff)
Avoid adding node itself as child node.
Apps can call addChild through AccessibilityNodeProvider, so it's possible that an app adds a node itself as a child node. This will break down the integrity of UI tree and cause failure to operation in UIAutomator. Thus I suggest do this integrity check when adding child. Test: as follows - built - flashed - booted - run my test script based on uiautomator Change-Id: I8cba22a1d9d1a49365c6bce4241ef5067502fb79 Signed-off-by: qinyige <qinyige@xiaomi.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions