Updating the setAsyncExecutor call as per API changes

Bug: 37534990
Change-Id: I3cb9ea4e9aec5647a0f03e5514780f42f207ebc0
diff --git a/src/com/android/launcher3/LauncherAppWidgetHostView.java b/src/com/android/launcher3/LauncherAppWidgetHostView.java
index 61b8a7a..13cc7ba 100644
--- a/src/com/android/launcher3/LauncherAppWidgetHostView.java
+++ b/src/com/android/launcher3/LauncherAppWidgetHostView.java
@@ -100,7 +100,7 @@
         if (Utilities.isAtLeastO()) {
             try {
                 Method asyncMethod = AppWidgetHostView.class
-                        .getMethod("setAsyncExecutor", Executor.class);
+                        .getMethod("setExecutor", Executor.class);
                 asyncMethod.invoke(this, Utilities.THREAD_POOL_EXECUTOR);
             } catch (Exception e) {
                 Log.e(TAG, "Unable to set async executor", e);