diff options
author | Fabian Kozynski <kozynski@google.com> | 2019-03-21 12:09:33 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2019-03-27 08:54:16 -0400 |
commit | b6a127f9509e06c9c0baf04407475148b305a452 (patch) | |
tree | 009ec7912454486c5f58b7d12b97e2c1f81a4dc2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6f59ef8a378def63269c7bea6a9450337aa17e8e (diff) |
Fix TB bugs in QSCustomizer TileAdapter
* When saving the specs on exit, make sure that TileAdapter is left in a
good state. This meanse removing the placeholder if it exists and
setting it to ACTION_NONE
* Update mTileDividerIndex when adding and removing a place holder. It
doesn't need to be updated manually after a completed add, move or
remove operation as we call #updateDividerLocations in #move
* When adding a tile in the position before last, it gets added one
position before that. This happen because of the fix for off by one that
is not needed anymore.
Fixes: 129059015
Fixes: 129001337
Test: manual using TB. Adding, removing and moving tiles, in particular
to positions near the end.
Change-Id: I010d118b15c1cad3c0ab0544b515eb9c5b53b2ce
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions