Previously I have always created threads and set their priorities before starting them running.
On Android this appears to cause issues in juce_Thread.cpp setPriority because of this assert
#if JUCE_ANDROID // you cannot switch from or to an Android realtime thread once the // thread is already running! jassert (isThreadRunning() && (isRealtime == isAndroidRealtimeThread)); isAndroidRealtimeThread = isRealtime; #endif
Which will assert if the target thread isn’t running.
Is setting the priority of a thread before starting a bad thing on Android or is the assert misconfigured?