summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorFan Zhang <zhfan@google.com>2016-11-14 09:48:06 -0800
committerFan Zhang <zhfan@google.com>2016-11-14 15:37:49 -0800
commitfc76ab3cbf1794d2d72a92c87afc1cf9f62cc03a (patch)
treeabe2d081a66364d68d49f6627e5f89ecc50f765a /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent04c0d2b5683fc011f7a757bd1966b935726a456a (diff)
Group injected tiles together based on package name.
During grouping, tiles are sorted based on package name, and their own priority value. However if the package is Settings itself, the ordering is not changed. Before sort: [pkg1, 100], [pgk2, 120], [pkg1, 130] After sort: [pkg1, 1], [pkg1, 2], [pkg2,3] This is necessary to make sure settings app have the overall control of ordering of all dynamic tiles. When each app define their priority, they don't have access to the global vision of what other settings are on screen so it's possible different app define conflicting orderings. Settings app is the only reasonable place to rank them properly. Bug: 32827787 Test: RunSettingsLibRoboTests Change-Id: I38de55530e61da9de7532ef6a7ee97ef89aca9d9
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions