1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Make method protected, for future use

This commit is contained in:
cpfeiffer 2015-12-07 01:10:44 +01:00
parent 5a479c9175
commit 6b053c4240

View File

@ -43,7 +43,7 @@ public abstract class AbstractMiBandOperation extends AbstractBTLEOperation<MiBa
* @param builder
* @param enable true to enable, false to disable the other notifications
*/
private void enableOtherNotifications(TransactionBuilder builder, boolean enable) {
protected void enableOtherNotifications(TransactionBuilder builder, boolean enable) {
builder.notify(getCharacteristic(MiBandService.UUID_CHARACTERISTIC_REALTIME_STEPS), enable)
.notify(getCharacteristic(MiBandService.UUID_CHARACTERISTIC_SENSOR_DATA), enable);
}