mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
simplify code of getting file
optimize animation
This commit is contained in:
@@ -51,6 +51,7 @@ class PackageInstallerReceiver:BroadcastReceiver(){
|
||||
else->R.string.unknown
|
||||
}
|
||||
Log.e("OwnDroid", intent.getIntExtra(EXTRA_STATUS,999).toString())
|
||||
if(toastText!=999){Toast.makeText(context, toastText, Toast.LENGTH_SHORT).show()}
|
||||
val text = context.getString(R.string.app_installer_status) + context.getString(toastText)
|
||||
if(toastText!=999){Toast.makeText(context, text, Toast.LENGTH_SHORT).show()}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user