Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/NiaApplication.kt

Co-authored-by: Don Turner <dturner@users.noreply.github.com>
pull/1050/head
Ben Weiss 2 weeks ago committed by GitHub
parent e8035622b3
commit 225f05e697
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -55,7 +55,7 @@ class NiaApplication : Application(), ImageLoaderFactory {
override fun newImageLoader(): ImageLoader = imageLoader.get() override fun newImageLoader(): ImageLoader = imageLoader.get()
/** /**
* Check if the application is debuggable. * Return true if the application is debuggable.
*/ */
private fun isDebuggable(): Boolean { private fun isDebuggable(): Boolean {
return 0 != applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE return 0 != applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE

Loading…
Cancel
Save