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

Commit 9ac842a7 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev

parents da8a98fb b92663af
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1171,7 +1171,7 @@ public class RadioInfo extends Activity {

    void setImsConfigProvisionedState(int configItem, boolean state) {
        if (phone != null && mImsManager != null) {
            QueuedWork.queue(new Runnable() {
            QueuedWork.singleThreadExecutor().submit(new Runnable() {
                public void run() {
                    try {
                        mImsManager.getConfigInterface().setProvisionedValue(
@@ -1181,7 +1181,7 @@ public class RadioInfo extends Activity {
                        Log.e(TAG, "setImsConfigProvisioned() exception:", e);
                    }
                }
            }, false);
            });
        }
    }

+2 −2
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ final class LocalBluetoothPreferences {
    static void persistDiscoveringTimestamp(final Context context) {
        // Load the shared preferences and edit it on a background
        // thread (but serialized!).
        QueuedWork.queue(new Runnable() {
        QueuedWork.singleThreadExecutor().submit(new Runnable() {
                public void run() {
                    SharedPreferences.Editor editor = getSharedPreferences(context).edit();
                    editor.putLong(
@@ -158,7 +158,7 @@ final class LocalBluetoothPreferences {
                        System.currentTimeMillis());
                    editor.apply();
                }
            }, false);
            });
    }

    static boolean hasDockAutoConnectSetting(Context context, String addr) {