0eb4101492
currentDevice is not used in this function. (cherry picked from commit 52df3081dfdd684a2deaa1f5eec8f86292496cd6)