fix return from finally

Bug: 19709617.
Change-Id: I2c2e6ebe876e0e7e814554fa2ffc89551b3165b2
This commit is contained in:
Eric Laurent
2015-03-18 09:52:05 -07:00
parent 8c6e4b3980
commit b304ba5bc8
4 changed files with 4 additions and 8 deletions

View File

@@ -3084,9 +3084,8 @@ public class AudioManager {
delay = service.setBluetoothA2dpDeviceConnectionState(device, state, profile);
} catch (RemoteException e) {
Log.e(TAG, "Dead object in setBluetoothA2dpDeviceConnectionState "+e);
} finally {
return delay;
}
return delay;
}
/** {@hide} */

View File

@@ -68,9 +68,8 @@ public class AcousticEchoCanceler extends AudioEffect {
Log.w(TAG, "not enough resources");
} catch (RuntimeException e) {
Log.w(TAG, "not enough memory");
} finally {
return aec;
}
return aec;
}
/**

View File

@@ -68,9 +68,8 @@ public class AutomaticGainControl extends AudioEffect {
Log.w(TAG, "not enough resources");
} catch (RuntimeException e) {
Log.w(TAG, "not enough memory");
} finally {
return agc;
}
return agc;
}
/**

View File

@@ -70,9 +70,8 @@ public class NoiseSuppressor extends AudioEffect {
Log.w(TAG, "not enough resources");
} catch (RuntimeException e) {
Log.w(TAG, "not enough memory");
} finally {
return ns;
}
return ns;
}
/**