mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-03 23:03:29 +01:00 
			
		
		
		
	Return random request code
This commit is contained in:
		@@ -30,7 +30,7 @@ import rikka.shizuku.ShizukuBinderWrapper
 | 
			
		||||
 | 
			
		||||
class MainActivity: FlutterActivity() {
 | 
			
		||||
    private var nativeChannel: MethodChannel? = null
 | 
			
		||||
    private val SHIZUKU_PERMISSION_REQUEST_CODE = 1492
 | 
			
		||||
    private val SHIZUKU_PERMISSION_REQUEST_CODE = (1000..2000).random()
 | 
			
		||||
 | 
			
		||||
    private fun shizukuCheckPermission(result: Result) {
 | 
			
		||||
        try {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user