Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f0e58736 authored by William Escande's avatar William Escande
Browse files

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
parent 6d039306
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment