summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-08-16 11:44:40 -0700
committerDianne Hackborn <hackbod@google.com>2014-08-16 19:34:13 -0700
commitf2ac2761276e4972f6463d6818c9f5798bdc9a4d (patch)
tree6af12a5b070e7f079877e848ace16d408a7bd132 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent82d6d337b389ef088879a5e527d44c75c41c5b44 (diff)
Fix issue #17082301: replacePreferredActivity is ignoring userId
It was being given the argument and just... ignoring it. But the bulk of this change is to make replacePreferredActivity better about replacing -- it now detects if the request will not make a change and, in that case, just do nothing. The reason for this? It turns out that each time you install an app, the telephony system is calling this function over 20 times to set the default SMS app. This is almost always doing nothing, but before this change it means we would re-write packages.xml over 20 times...! There are definitely more improvements that can be made here (delaying write of packages.xml to allow them to batch together, reducing the amount of calls being made), but until then this is a big improvement. Change-Id: I02c4235b8ecd5c13ef53e65d13c7dc2223719cec
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions