summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2019-07-01 13:06:21 -0400
committerMatt Pietal <mpietal@google.com>2019-07-01 20:55:52 +0000
commite967cb3ad273187931f2a7dec3a0dd66928c6aeb (patch)
treeb2cdb4ce319d67109b8cf72103d92b0054adc3f2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente513ce078faddc0b94eaf7fc911fb9f0a9b36ce4 (diff)
Sharesheet - Fix regression in direct share sorting
When mutiple apps share shortcuts and are given to the UI to display, the ranked order from both the App Prediction Service and the legacy ranker is inadvertently being discarded. This means that targets the user almost never uses will now be shown as high priority, causing confusion and pretty horrible user experience. Address the issue by adding in a score for shortcuts, based on the index in the ordered list. Bug: 136201796 Test: atest ChooserActivityTest and manually compare results from AppPredictionService to verify order is consistent Change-Id: I1fe2c2d2e13195f6f6c3a5818fade4844c15488e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions