Skip to content

Commit 7e51999

Browse files
author
Stewart Miles
committed
Fixed Android Resolver log spam on load.
The Android Resolver was loading the AAR cache in a static constructor and using the log functions before they were initialized with the log level from project settings. It was possible to configure system wide logging as "verbose" - which would be used in static constructors - before the project settings are loaded. Fixes googlesamples#192 Bug: 132071158 Change-Id: Icdd5d5d12dfbf4d656885360bfceca15da2f7008
1 parent 51610ec commit 7e51999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/PlayServicesResolver/src/ResolverVer1_1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public override string ToString() {
226226
private static object resolveLock = new object();
227227

228228
public ResolverVer1_1() {
229-
LoadAarExplodeCache();
229+
RunOnMainThread.Run(LoadAarExplodeCache, false);
230230
}
231231

232232
/// <summary>

0 commit comments

Comments
 (0)