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

Commit 5fdedf18 authored by Tom Chan's avatar Tom Chan Committed by Android (Google) Code Review
Browse files

Merge "Remove time limit of temporary WSS override on debuggable builds" into main

parents a4fe33a2 37c28b7e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManagerInternal;
import android.os.Binder;
import android.os.Build;
import android.os.ParcelFileDescriptor;
import android.os.PersistableBundle;
import android.os.RemoteCallback;
@@ -189,6 +190,9 @@ public class WearableSensingManagerService extends

    @Override
    protected int getMaximumTemporaryServiceDurationMs() {
        if (Build.isDebuggable()) {
            return Integer.MAX_VALUE;
        }
        return MAX_TEMPORARY_SERVICE_DURATION_MS;
    }