Updates gradle wrapper to use version 7.2 and updates build script for 7.2 compatibility.

This commit is contained in:
Dennis Sheirer
2021-10-30 10:00:19 -04:00
parent 38f694d262
commit d1ed46860c
3 changed files with 23 additions and 33 deletions

View File

@@ -24,9 +24,7 @@ public class NamingThreadFactory implements ThreadFactory
public NamingThreadFactory( String prefix )
{
SecurityManager s = System.getSecurityManager();
mThreadGroup = (s != null)? s.getThreadGroup() : Thread.currentThread().getThreadGroup();
mThreadGroup = Thread.currentThread().getThreadGroup();
mNamePrefix = prefix + " pool-" + mPoolNumber.getAndIncrement() + "-thread-";
}