My project is a long running project. I had set the target version as 10, 4 years back. I cant change the target version to 23, since I am using httpImageCache and also havi
use PermissionChecker.checkSelfPermission()
when targetSdkVersion <= 22,you also can use requestPermission()