Unify reference to BluetoothProfiles.STATE_foo
STATE_{DIS,}CONNECT{ED,ING} are use widely in java, there is only one definition in BluetoothProfile. This change unify all the reference with static import and allow for the code to be a bit lighter sed regex runs are: 's/(BluetoothProfile\.STATE/(STATE/' 's/{BluetoothProfile\.STATE/{STATE/' 's/ BluetoothProfile\.STATE/ STATE/' Bug: 311772251 Test: m . Flag: Exempt refactor Change-Id: I0cd3be89bf497314fbc53cadde9a4460ec4fa3b2
Loading
Please register or sign in to comment