Skip to content

Instantly share code, notes, and snippets.

@waveacme
Created January 15, 2016 03:04
Show Gist options
  • Save waveacme/7853f20d5d87ddb1afac to your computer and use it in GitHub Desktop.
Save waveacme/7853f20d5d87ddb1afac to your computer and use it in GitHub Desktop.
fix Cannot resolve sambol 'THREAD_PRIORITY_BACKGROUND' in HandlerThread
//fix
import android.os.Process;
HandlerThread thread = new HandlerThread("work thread", Process.THREAD_PRIORITY_BACKGROUND);
@devmike01
Copy link

Thanks

@VIkash2601
Copy link

Thanks

@androiddevelopemnx
Copy link

Worked, Thanks.

@Arattan
Copy link

Arattan commented Sep 18, 2020

Of course it was an import. Thanks :)

@niektuytel
Copy link

thx

@NassoroMasiku255
Copy link

worked to me thanks

@iyxan23
Copy link

iyxan23 commented Jan 30, 2021

Thanks

@snow915
Copy link

snow915 commented Feb 9, 2021

It works! Thanks!

@isacoskun
Copy link

ty

@JohnSmithBlue
Copy link

thanks!

@rohanbhatia56
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment