① 기능 설명 (Describe the app functionality using this foreground service)
This app is an eye-health and screen-distance protection utility. When the user explicitly taps the "Start Protection Mode" button inside the app, a foreground service with a persistent notification starts to monitor the viewing distance between the user's face and the screen while using user-selected video or media apps (such as YouTube).
Using the front camera and on-device Google ML Kit Face Detection, the service calculates the relative distance from eye landmarks to warn the user via an overlay if the device is held too close (e.g., under 30 cm). To minimize battery usage, camera polling is paused automatically when the screen is off or when non-selected apps are in the foreground. All frames are processed 100% on-device in memory and immediately discarded—no photos or videos are ever saved, recorded, or transmitted to any server. Users can stop the service at any time.
② 작업 지연 또는 중단 시 사용자 영향 (Describe the user impact if the task is deferred or interrupted)
If the foreground service is deferred, the app cannot monitor screen distance immediately after the user switches to a selected video app, leaving the user unprotected from close-range viewing. If interrupted by the system, the distance-alert overlay will fail to appear when the screen is held too close, breaking the core eye-protection functionality that the user explicitly activated.