반응형
설치된 앱의 퍼미션이 정상적으로 권한을 받았는지 확인이 필요하다.
$ adb shell dumpsys package [package name]
아래와 같이 결과 나오고, Install permission: 항목해서 해당 퍼미션의 grant:true를 통해서 할당된 퍼미션을 확인 한다.
......
Packages:
Package [com.samsung.knox.example.gettingstarted] (4d9d885):
userId=10247
pkg=Package{c97e6da com.samsung.knox.example.gettingstarted}
codePath=/data/app/com.samsung.knox.example.gettingstarted-pt0GAF9z5qJHAmYZIgP9GA==
resourcePath=/data/app/com.samsung.knox.example.gettingstarted-pt0GAF9z5qJHAmYZIgP9GA==
legacyNativeLibraryDir=/data/app/com.samsung.knox.example.gettingstarted-pt0GAF9z5qJHAmYZIgP9GA==/lib
primaryCpuAbi=null
secondaryCpuAbi=null
versionCode=2 minSdk=22 targetSdk=28
versionName=2.0
splits=[base]
apkSigningVersion=2
applicationInfo=ApplicationInfo{b9fe70b com.samsung.knox.example.gettingstarted}
flags=[ DEBUGGABLE HAS_CODE ALLOW_CLEAR_USER_DATA TEST_ONLY ALLOW_BACKUP ]
privateFlags=[ PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION PRIVATE_FLAG_REQUEST_LEGACY_EXTERNAL_STORAGE ]
dataDir=/data/user/0/com.samsung.knox.example.gettingstarted
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
timeStamp=2021-01-27 16:14:56
firstInstallTime=2021-01-27 16:14:57
lastUpdateTime=2021-01-27 16:14:57
signatures=PackageSignatures{8fce9e8 version:2, signatures:[303fc823], past signatures:[]}
installPermissionsFixed=true
pkgFlags=[ DEBUGGABLE HAS_CODE ALLOW_CLEAR_USER_DATA TEST_ONLY ALLOW_BACKUP ]
declared permissions:
com.example.supportlibclient.SUPPORT_PERMISSION: prot=signature, INSTALLED
requested permissions:
com.samsung.android.knox.permission.KNOX_HW_CONTROL
com.samsung.android.knox.permission.KNOX_TIMA_KEYSTORE
com.example.supportlibclient.SUPPORT_PERMISSION
install permissions:
android.permission.sec.MDM_REMOTE_CONTROL: granted=true
com.samsung.android.knox.permission.KNOX_ROAMING: granted=true
com.example.supportlibclient.SUPPORT_PERMISSION: granted=true
android.permission.sec.ENTERPRISE_DEVICE_ADMIN: granted=true
com.samsung.android.knox.permission.KNOX_BROWSER_SETTINGS: granted=true
com.samsung.android.knox.permission.KNOX_GLOBALPROXY: granted=true
com.samsung.android.knox.permission.KNOX_DATE_TIME: granted=true
com.sec.enterprise.permission.MDM_SPDCONTROL: granted=true
com.samsung.android.knox.permission.KNOX_DUAL_SIM: granted=true
android.permission.sec.MDM_LICENSE_LOG: granted=true
com.samsung.android.knox.permission.KNOX_LICENSE_LOG: granted=true
com.sec.enterprise.knox.permission.KNOX_DEACTIVATE_LICENSE: granted=true
com.samsung.android.knox.permission.KNOX_LOCATION: granted=true
android.permission.sec.MDM_EMAIL: granted=true
com.samsung.android.knox.permission.KNOX_EXCHANGE: granted=true
android.permission.sec.MDM_LOCKSCREEN: granted=true
android.permission.sec.MDM_APP_PERMISSION_MGMT: granted=true
com.samsung.android.knox.permission.KNOX_HW_CONTROL: granted=true
.....
반응형
'안드로이드' 카테고리의 다른 글
[Android] 하이브리드 앱 만들기 (기본편)Hybrid webview default (0) | 2021.09.29 |
---|---|
[Android] 웹뷰(webview) 디버깅(debugging) 방법. (0) | 2021.09.29 |
[안드로이드] APP 간의 통신, 다른 앱의 하위 액티비티 실행 (0) | 2021.09.29 |
[안드로이드] 다른 앱으로 브로드캐스트 리시버 명시적 호출 및 정지 된앱 깨우기 (0) | 2021.09.29 |
[안드로이드] ADB를 제어하여, pc에서 안드로이드 단말기로 앱을 배포 제어하기. (0) | 2021.09.29 |