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

Commit 70267e2d authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Remove a TODO associate with starting a thread" am: c685e1e4

am: d61516d7

Change-Id: Ia2b6fd41e3a804ec9c6e5238f6ba53495de764e9
parents 238be4a6 d61516d7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.server.timezone;

import android.content.Context;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.os.Binder;
import android.os.ParcelFileDescriptor;

@@ -56,10 +57,9 @@ final class RulesManagerServiceHelperImpl implements PermissionHelper, Executor
        return true;
    }

    // TODO Wake lock required?
    // TODO(nfuller): Wake lock required while running in background thread?
    @Override
    public void execute(Runnable runnable) {
        // TODO Is there a better way?
        new Thread(runnable).start();
        AsyncTask.execute(runnable);
    }
}