Unify reference to BluetoothProfile.CONNECTION_POLICY
CONNECTION_POLICY{ALLOWED,FORBIDDEN,UNKNOWN} 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\.CONNECTION_POLICY/(CONNECTION_POLICY/' 's/{BluetoothProfile\.CONNECTION_POLICY/{CONNECTION_POLICY/' 's/ BluetoothProfile\.CONNECTION_POLICY/ CONNECTION_POLICY/' Bug: 311772251 Test: m . Flag: Exempt refactor Change-Id: I82dce6fa279577e3e022efc4a6c9de3bdda8835d
Loading
Please register or sign in to comment