mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
reformat code and optimize imports
This commit is contained in:
@@ -2,7 +2,6 @@ package nodomain.freeyourgadget.gadgetbridge.devices;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.util.Pair;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.UUID;
|
||||
|
@@ -5,7 +5,6 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.util.Pair;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.UUID;
|
||||
|
@@ -64,7 +64,7 @@ public class ActivityUser {
|
||||
* value is out of any logical bounds.
|
||||
*/
|
||||
public int getActivityUserSleepDuration() {
|
||||
if(activityUserSleepDuration == null) {
|
||||
if (activityUserSleepDuration == null) {
|
||||
fetchPreferences();
|
||||
}
|
||||
if (activityUserSleepDuration < 1 || activityUserSleepDuration > 24) {
|
||||
|
Reference in New Issue
Block a user