ErrorProne: AdapterProperties
In btservice/AdapterProperties.java:
```
427: warning: Parameter name `mState` is unknown. Did you mean state?
* @param mState the mState to set
^
599: warning: Parameter name `size` is unknown. Did you mean value?
* @param size the size to set
^
735: warning: Method sendConnectionStateChange() annotated [none] but too narrow;
invokes method requiring {allOf=[android.permission.INTERACT_ACROSS_USERS]}
mService.sendBroadcastAsUser(intent, UserHandle.ALL, BLUETOOTH_CONNECT,
^
908: warning: Method adapterPropertyChangedCallback() annotated [none] but too narrow;
invokes method requiring {allOf=[android.permission.INTERACT_ACROSS_USERS]}
mService.sendBroadcastAsUser(intent, UserHandle.ALL,
^
1126: warning: Method dump() annotated [none] but too narrow;
invokes method requiring {allOf=[android.permission.BLUETOOTH_CONNECT]}
+ " [" + dumpDeviceType(device.getType()) + "] "
^
```
Bug: 236759221
Test: m RUN_ERROR_PRONE=true Bluetooth
Change-Id: I0032d55dd1205539972fe92c7079b2b7821bf8f9
Loading
Please register or sign in to comment