2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
방해 금지 모드
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 7.0은 다음과 같은 방해 금지 모드(DND) 구성을 지원합니다.
서드 파티 자동 규칙
서드 파티 애플리케이션은 DND Access API를 사용하여 DND 규칙을 제어할 수 있습니다.
- 애플리케이션은 맞춤 DND 규칙을 내보내고 나열할 수 있습니다. 이 규칙은 DND 설정의 기본 Android DND 규칙 옆에 표시됩니다.
- 사용자는 모든 규칙의 모든 DND 컨트롤에 액세스할 수 있습니다(자동 생성 규칙 및 수동 생성 규칙 모두에 해당).
- 플랫폼은 예상치 못한 상태를 야기하지 않고도 여러 소스의 DND 규칙을 구현할 수 있습니다.
알람 제어
DND 모드가 사용 설정되면 Android 설정 UI에는 다음을 구성하기 위한 사용자 옵션이 표시됩니다.
- 다음 알람 시간으로서의 DND 종료 조건. 사용자가 알람에 DND 종료 조건을 설정할 수 있게 해줍니다. 알람이 지금으로부터 1주 이내의 시간으로 설정되어 있고 이 알람의 요일이 오늘과 같은 요일이 아닌 경우에만 표시됩니다. 자동 규칙의 경우 지원되지 않습니다.
- 알람이 종료 시간을 재정의할 수 있음. 사용자가 DND 종료 조건을 구체적인 시간이나 다음 알람으로 구성할 수 있도록 지원합니다(둘 중 먼저 발생한 경우를 적용).
시각적 방해 요소 억제
Android 설정 UI는 헤드업 알림, 전체 화면 인텐트, 절전 모드, LED 알림 조명과 같은 시각적 방해 요소를 억제할 수 있는 옵션을 사용자에게 표시합니다.
DND 설정 맞춤설정
OEM은 설정을 맞춤설정할 때 시스템 API의 AOSP 동작을 보존하고 DND 설정의 동작을 유지해야 합니다. 구체적으로 시스템 설정의 DND 설정 페이지에는 다음을 포함해야 합니다.
- 애플리케이션에서 제공한 DND 규칙. 이러한 자동화된 DND 규칙은 규칙 추가 메뉴에 활성 규칙 인스턴스와 규칙 목록을 포함해야 합니다.
- 미리 로드된 애플리케이션 DND 규칙. OEM은 최종 사용자가 수동으로 생성한 규칙 옆에 표시되는 DND 규칙을 제공할 수 있습니다.
새 DND API에 관한 자세한 내용은 android.service.notification
참조 문서를 확인하세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 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,["# Do not disturb\n\nAndroid 7.0 supports the following do not disturb (DND) configurations.\n\nThird-party automatic rules\n---------------------------\n\nThird-party applications can use the DND Access API to control DND rules:\n\n- **Applications** can export and list custom DND rules, which appear next to built-in Android DND rules in the DND settings.\n- **Users** can access all DND controls for all rules (both automatic and manually-created).\n- The **platform** can implement DND rules from different sources without creating unexpected states.\n\nControl alarms\n--------------\n\nWhen DND mode is enabled, the Android settings UI presents user options for\nconfiguring:\n\n- **DND end condition as next alarm time** . Enables user to set the DND end condition to an alarm. Appears only if an alarm is set for a time within a week from now *and* the day of the week for that alarm is *not* the same day of the week as today. (Not supported for automatic rules.)\n- **Alarm can override end time**. Enables users to configure the DND end condition as a specific time or next alarm (whichever comes first).\n\nSuppress visual distractions\n----------------------------\n\nThe Android settings UI presents user options for suppressing visual\ndistractions such as heads up notifications, fullscreen intents, ambient\ndisplay, and LED notification lights.\n\nCustomize DND settings\n----------------------\n\nWhen customizing settings, OEMs must preserve the AOSP behavior of the system\nAPIs and maintain the behavior of DND settings. Specifically, the DND settings\npage in system settings must include the following:\n\n- **Application-provided DND rules**. These automated DND rules must include active rules instances and rule listings in the Add Rule menu.\n- **Pre-loaded application DND rules**. OEMs can provide DND rules that appear next to end user manually-created rules.\n\nFor details on new DND APIs, refer to\n[android.service.notification](https://developer.android.com/reference/android/service/notification/package-summary.html)\nreference documentation."]]