File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 <uses-permission android : name =" android.permission.BIND_ACCESSIBILITY_SERVICE" />
2121 <!-- Add permissions for screenshot functionality -->
2222 <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
23+ <uses-permission android : name =" android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
24+ <uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
2325 <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE"
2426 android : maxSdkVersion =" 28" />
2527 <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE"
5658 android : name =" android.accessibilityservice"
5759 android : resource =" @xml/accessibility_service_config" />
5860 </service >
61+
62+ <!-- Add the screenshot service configuration -->
63+ <service
64+ android : name =" .ScreenshotService"
65+ android : enabled =" true"
66+ android : exported =" false"
67+ android : foregroundServiceType =" mediaProjection" />
5968 </application >
6069</manifest >
You can’t perform that action at this time.
0 commit comments