diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-10-25 18:34:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-25 18:34:28 +0000 |
commit | 37ed24aaa2477bf662a3aebdaa18388bc5a0264a (patch) | |
tree | a1baaedfe7538758e2622ee2746a6487428db1e1 /java/com/android/dialer/simulator/impl | |
parent | 951b417e5793d816dac9cfe8c255059654de086a (diff) | |
parent | 6a4cebdb4ccc974d04f125847c03fddec18b2b9f (diff) |
Merge "Improved dagger support for executor services."
Diffstat (limited to 'java/com/android/dialer/simulator/impl')
-rw-r--r-- | java/com/android/dialer/simulator/impl/SimulatorMainMenu.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/com/android/dialer/simulator/impl/SimulatorMainMenu.java b/java/com/android/dialer/simulator/impl/SimulatorMainMenu.java index d663d584d..1a2cae18b 100644 --- a/java/com/android/dialer/simulator/impl/SimulatorMainMenu.java +++ b/java/com/android/dialer/simulator/impl/SimulatorMainMenu.java @@ -48,13 +48,13 @@ final class SimulatorMainMenu { } private static void populateDatabase(@NonNull Context context) { - DialerExecutors.createNonUiTaskBuilder(new PopulateDatabaseWorker()) + DialerExecutors.createNonUiTaskBuilder(context, new PopulateDatabaseWorker()) .build() .executeSerial(context); } private static void cleanDatabase(@NonNull Context context) { - DialerExecutors.createNonUiTaskBuilder(new CleanDatabaseWorker()) + DialerExecutors.createNonUiTaskBuilder(context, new CleanDatabaseWorker()) .build() .executeSerial(context); } @@ -65,7 +65,7 @@ final class SimulatorMainMenu { } private static void sharePersistentLog(@NonNull Context context) { - DialerExecutors.createNonUiTaskBuilder(new ShareLogWorker()) + DialerExecutors.createNonUiTaskBuilder(context, new ShareLogWorker()) .onSuccess( (String log) -> { Intent intent = new Intent(Intent.ACTION_SEND); |