codacy: commented out unused variables (might be used in the future?)

This commit is contained in:
AndyScherzinger 2018-02-21 22:17:14 +01:00
parent 534d6c19bb
commit 13c6898e27
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -624,8 +624,8 @@ public class MagicAudioManager {
@Override
public void onReceive(Context context, Intent intent) {
int state = intent.getIntExtra("state", STATE_UNPLUGGED);
int microphone = intent.getIntExtra("microphone", HAS_NO_MIC);
String name = intent.getStringExtra("name");
// int microphone = intent.getIntExtra("microphone", HAS_NO_MIC);
// String name = intent.getStringExtra("name");
hasWiredHeadset = (state == STATE_PLUGGED);
updateAudioDeviceState();
}