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

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

ErrorProne: AdapterService

In btservice/AdapterService.java:
```
4689: warning: A block tag has an empty description.
     * @return
       ^
4708: warning: This Javadoc tag wasn't recognised by the parser
     * copied from: {@link system/bt/stack/include/hci_error_code.h}.
                    ^
4918: warning: Because of spurious wakeups, wait(long) must always be called in a loop
                mEnergyInfoLock.wait(CONTROLLER_ENERGY_UPDATE_TIMEOUT_MILLIS);
                                    ^
5014: warning: Method setWakeAlarm() annotated [none] but too narrow;
invokes method requiring {allOf=[android.permission.SCHEDULE_EXACT_ALARM]}
            mAlarmManager.setExact(type, wakeupTime, mPendingAlarm);
                                  ^
5355: warning: Method getInitFlags() annotated [none] but too narrow;
invokes method requiring {allOf=[android.permission.READ_DEVICE_CONFIG]}
        if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BLUETOOTH, BTAA_HCI_LOG_FLAG, true)) {
                                   ^
5536: warning: Method start() annotated [none] but too narrow;
invokes method requiring {allOf=[android.permission.READ_DEVICE_CONFIG]}
            onPropertiesChanged(DeviceConfig.getProperties(DeviceConfig.NAMESPACE_BLUETOOTH));
                                                          ^
```

Bug: 236759221
Test: m RUN_ERROR_PRONE=true Bluetooth
Change-Id: Id333e29d33ac2b9dd1b9cb04c87a411e49a74d53
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