2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
제한된 화면 읽기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 9 이하에서는 화면 버퍼 캡처 권한(READ_FRAME_BUFFER
, CAPTURE_VIDEO_OUTPUT
및 CAPTURE_SECURE_VIDEO_OUTPUT
)이 서명 또는 독점 권한 중 하나를 보유했던 앱에 부여되었습니다. 이를 통해 스크린샷을 캡처하거나 기기의 화면 콘텐츠를 기록하는 등의 원활한 화면-버퍼 캡처 활동이 가능했습니다.
Android 10부터는 기기의 화면 콘텐츠에 대한 자동 액세스를 막기 위해 권한 있는 앱에 동영상 캡처 권한이 부여되지 않습니다. 사용자 동의가 없는 액세스는 제한되며, 서명 권한을 보유한 앱에만 부여됩니다. 이 자동 캡처 기능을 사용하는 권한 있는 앱을 실행하는 기기 제조업체는 이 요구사항의 영향을 받습니다.
Android 10부터는 나열된 화면-버퍼 캡처 서명 권한이 없을 때 앱이 사용자의 동의 없이 화면 버퍼를 캡처할 수 없습니다. 필요한 권한이 있는지 확인하려면 매니페스트 파일에서 이전에 나열된 서명 권한을 검색하세요. 영향을 받은 모든 권한 있는 앱 (검색에서 발견된)을 MediaProjectionManager 클래스로 이전하면 모든 서드 파티 앱이 권한 없이 화면 버퍼를 캡처할 수 있지만 사용자의 동의는 얻어야 합니다. 이 흐름에서는 앱에서 화면 캡처를 시작한 경우 이를 허용하도록 사용자에게 요청하는 대화상자가 표시됩니다. Android 10의 대화상자에 포함되는 새로운 기능은 다음과 같습니다.
- 전송 아이콘에 대한 좀 더 가시적인 연결성을 제공합니다.
- 액세스 가능한 데이터의 민감도에 관한 추가 정보를 제공합니다.
- 향후 시작 시 사용자가 대화상자를 숨기지 못하도록 합니다. 즉, 대화상자가 항상 표시됩니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Restricted screen reading\n\nIn Android 9 and lower, the screen buffer\ncapture permissions (`READ_FRAME_BUFFER`,\n`CAPTURE_VIDEO_OUTPUT`, and\n`CAPTURE_SECURE_VIDEO_OUTPUT`) were granted to apps that\nhad *either* signature or privileged permissions. This\nenabled seamless screen-buffer capturing activities, such as\ntaking screenshots, or recording a device's screen contents.\n\nStarting in Android 10, to prevent\nsilent access to a device's screen contents, video capture\npermissions aren't granted to privileged apps. Access\nwithout user consent is [restricted](https://developer.android.com/about/versions/11/privacy/permissions),\nand granted only to apps that have signature\npermissions. Device manufacturers that run privileged apps relying\non this silent capture functionality are affected by this\nrequirement.\n\nAs of Android 10 if you\ndon't have the listed screen-buffer capture signature permissions, your\napp can't capture screen buffers without user consent. To\nensure you have the permissions you need, search your manifest file\nfor the previously listed signature permissions. Migrate all affected privileged\napps (as found in your search) to the [MediaProjectionManager](https://developer.android.com/reference/android/media/projection/MediaProjectionManager)\nclass, which allows any third party app\nto capture screen buffers without permissions, but with user\nconsent. This flow displays a dialog that prompts the user to\nallow screen capturing when an app initiates it. In Android 10,\nnew features of the dialog include the following:\n\n- Provides more visible associations with the **Cast** icon.\n- Provides more information about the sensitivity of the data that can be accessed.\n- Prevents users from hiding the dialog on future initiations: the dialog shows every time."]]