summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2013-08-12 13:29:15 -0700
committerAlan Viverette <alanv@google.com>2013-08-12 13:29:15 -0700
commitb339cc5bcbafbc5b9cf184c6f87b4eb466386ea6 (patch)
tree4468a532f76c27ef530c2d1fde65078894a65da2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentcd89feb9d14d6ed5d832d563a754048ab79134e2 (diff)
Not create context menu when mouse right click outside list/grid items
Even if mouse right click outside of list/grid items, a context menu is made. But there is no item of the list, so a context menu info is null. Then, NullPointerException happens at onCreateContextMenu() using a context menu info. For fixing the problem, check mTouchMoude and mMotionPosition to distingusih where is clicked, on a list item or not, before performButtonActionOnTouchDown() which makes a context menu. Manually merged from AOSP contribution. Change-Id: I778be73df36abbfd4ba9534d8e7a1ece6844ed40 Author: henrik baard <henrik.baard@sonymobile.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions