Skip to content

Commit

Permalink
WORKAROUND: removed usage of incompatible alarm constructor
Browse files Browse the repository at this point in the history
Since google targets 243 this constructor is not available in 242.
  • Loading branch information
LeFrosch committed Nov 19, 2024
1 parent 06f2cc5 commit f8c553f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ public class ExperimentServiceImpl implements ApplicationComponent, ExperimentSe
services = ImmutableList.copyOf(loaders);
this.channelSupplier = channelSupplier;
// Bypass unregistered application service AlarmSharedCoroutineScopeHolder. It's a private service which hard to mock
this.alarm = new Alarm(ThreadToUse.POOLED_THREAD, ApplicationManager.getApplication(), null,
scope);
this.alarm = new Alarm(ThreadToUse.POOLED_THREAD, ApplicationManager.getApplication()); // #api242 revert this commit
if (ApplicationManager.getApplication().isUnitTestMode()) {
refreshExperiments();
}
Expand Down

0 comments on commit f8c553f

Please sign in to comment.