Skip to content

Instantly share code, notes, and snippets.

View albert0m's full-sized avatar
🎯
Focusing

alberto albert0m

🎯
Focusing
View GitHub Profile
@waveacme
waveacme / MyHandlerThread.java
Created January 15, 2016 03:04
fix Cannot resolve sambol 'THREAD_PRIORITY_BACKGROUND' in HandlerThread
//fix
import android.os.Process;
HandlerThread thread = new HandlerThread("work thread", Process.THREAD_PRIORITY_BACKGROUND);