Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Ivan Matkov <v-ivmatk@microsoft.com>
  • Loading branch information
guperrot and MatkovIvan committed Jan 10, 2020
1 parent a4b249e commit f2fc283
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Expand Up @@ -116,6 +116,7 @@ public void accept(Boolean aBoolean) {
final Semaphore lock1 = new Semaphore(0);
final AtomicReference<Boolean> isEnabled1 = new AtomicReference<>();
AppCenter.isEnabled().thenAccept(new AppCenterConsumer<Boolean>() {

@Override
public void accept(Boolean aBoolean) {
isEnabled1.set(aBoolean);
Expand Down
Expand Up @@ -82,7 +82,6 @@ public NetworkStateHelper(Context context) {
reopen();
}

@VisibleForTesting
public static synchronized void unsetInstance() {
sSharedInstance = null;
}
Expand Down

0 comments on commit f2fc283

Please sign in to comment.