Merge "Remove a TODO associate with starting a thread" am: c685e1e4a1 am: d61516d7b5

am: 70267e2d45

Change-Id: Ic8c18e74df95bbe8aeb26090a03e62c2dd80eea3
This commit is contained in:
Neil Fuller
2017-07-18 22:00:36 +00:00
committed by android-build-merger

View File

@@ -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);
}
}