sInterrupt = false;
boolean hasSound = false;
while ((sound != null) && !sound.startsWith("silent") && !sInterrupt) {
mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
if (Prefs.stopByFacedown())
<BUG>mSensorManager.registerListener(this, mSensorManager.getDefaultSensor(TYPE_ROTATION_VECTOR), SensorManager.SENSOR_DELAY_UI);
</BUG>
int volume = -2;
hasSound = true;
if (!sound.startsWith("silent") && !sound.startsWith("picker")) {

sInterrupt = false;
boolean hasSound = false;
while ((sound != null) && !sound.startsWith("silent") && !sInterrupt) {
mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
if (Prefs.stopByFacedown())
mSensorManager.registerListener(this, mSensorManager.getDefaultSensor(TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_UI);
int volume = -2;
hasSound = true;
if (!sound.startsWith("silent") && !sound.startsWith("picker")) {
