menu


Device Name Android Version App Name App Version
Samsung Galaxy Note4 6.0.1 Minetest Mods 1.9.1

Description

This crash can be reproduce by simply revoke the permission in the main page, once we’ve granted it. This app has permission check in another activity:

1
2
3
com.rubenwardy.minetestmodmanager.views.SplashActivity.onCreate(android.os.Bundle)void
  com.rubenwardy.minetestmodmanager.views.SplashActivity.checkPermission()void
    android.support.v4.content.ContextCompat.checkSelfPermission(android.content.Context,java.lang.String)int

But it cannot protect this calling context.

Aper Outputs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
API:
	<android.os.Environment: java.io.File getExternalStorageDirectory()>
---
PERMISSIONS:
	[android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE]
---
CALLCHAIN:
	com.rubenwardy.minetestmodmanager.views.WorldConfigActivity.onCreate(android.os.Bundle)void
	 android.os.Environment.getExternalStorageDirectory()java.io.File

======

DANGEROUS: android.permission.READ_EXTERNAL_STORAGE
	Is Declared: false
	Check Sites: NONE
	Request Sites: NONE
	Has Handle: in <android.support.v4.app.FragmentActivity: void onRequestPermissionsResult(int,java.lang.String[],int[])>

---
DANGEROUS: android.permission.WRITE_EXTERNAL_STORAGE
	Is Declared: true
	Check Sites: NONE
	Request Sites: NONE
	Has Handle: in <android.support.v4.app.FragmentActivity: void onRequestPermissionsResult(int,java.lang.String[],int[])>