summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-06-17 14:47:35 -0600
committerJeff Sharkey <jsharkey@android.com>2020-06-17 15:45:47 -0600
commite915a7e186dd82d477de3161c1bf717481c33ab3 (patch)
treed53009ae3a7d3a7f2a11192bee281b08884f3c0c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf21036b4e7bd6cb9a91cba2aca57764b1592d386 (diff)
Attempt at fixing race condition during boot.
We've found local evidence that on fast hardware that the MediaProvider.updateVolumes() method can be invoked while the device is still unlocking. This can cause a race condition due to the "reportUnmounted" logic in StorageManagerService.getVolumeList() which attempts to hide all volumes from apps until after the user has been unlocked. Since MediaProvider itself is the one hosting the FUSE daemon, it always needs to know the real underlying state of volumes, so this change adds special treatment to never augment the mount state when the caller is the FUSE daemon. Bug: 159189865 Test: manual Change-Id: Id86e86aa942a697877860961d20ff0d8458dbc10
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions