Skip to content

Commit 9bdef2f

Browse files
committed
Use the same path, which has the correct guard to check for old Android version
1 parent f1ddbcb commit 9bdef2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxandroid/src/main/java/io/reactivex/rxjava3/android/schedulers/AndroidSchedulers.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public final class AndroidSchedulers {
2626

2727
private static final class MainHolder {
2828
static final Scheduler DEFAULT
29-
= new HandlerScheduler(new Handler(Looper.getMainLooper()), true);
29+
= from(Looper.getMainLooper());
3030
}
3131

3232
private static final Scheduler MAIN_THREAD =

0 commit comments

Comments
 (0)