summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSu, Weihua <weihua.x.su@sonymobile.com>2017-01-18 14:35:13 +0800
committerShunta Sato <shunta.sato@sonymobile.com>2017-02-14 21:31:42 +0900
commit5971d8a0ce8eb4f4567bf9c326c6eacba83bbb64 (patch)
tree92b6b7f100bb1b8c42af27d1ece26d6a1a9cb4b2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4533b1ccdd207f232b1311961cac6680682a56e8 (diff)
Fix crash issue on Storage Manager app
StorageManager app Start/Exit many times occur crash if there are over 100 unused app. Because ApplicationsState.BackgroundHandler will update AppEntry'Size during the ApplicationsState.MainHandler sort all AppEntry with SIZE_COMPARATOR. In this case, SIZE_COMPARATOR will occur "IllegalArgumentException Comparison method violates its general contract!". In ordre to fix the crash, add mEntriesMap synchronized during the AppEntry sort operation. Bug: 34800804 Change-Id: Ic670df01fadde648a79c0d01820efe772a898958
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions