···2222 * Provide the surface we inject into the activity, back to the service.
2323 */
2424 void passAppSurface(in Surface surface);
2525+2626+ /*!
2727+ * Asking service to create surface and attach it to the display matches given display id.
2828+ */
2929+ boolean createSurface(int displayId, boolean focusable);
3030+3131+ /*!
3232+ * Asking service whether it has the capbility to draw over other apps or not.
3333+ */
3434+ boolean canDrawOverOtherApps();
2535}
···66 SPDX-License-Identifier: BSL-1.0
77 -->
8899+ <!-- For display over other apps. -->
1010+ <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
1111+912 <!-- We may try to use OpenGL|ES 3.0 -->
1013 <uses-feature
1114 android:glEsVersion="0x00030002"
···11+<?xml version="1.0" encoding="utf-8"?><!--
22+ Copyright 2021, Qualcomm Innovation Center, Inc.
33+ SPDX-License-Identifier: BSL-1.0
44+-->
55+<resources>
66+ <!-- Strings for the display over other app status fragment -->
77+ <string name="msg_display_over_other_apps">Display over other apps is <b>%1$s</b> for this runtime.</string>
88+ <string name="launch_display_over_other_apps_settings">Open Display over other apps Settings</string>
99+ <string name="enabled">enabled</string>
1010+ <string name="disabled">disabled</string>
1111+ <string name="msg_display_over_other_apps_changed">Display over other apps settings have been changed, restart is required.</string>
1212+</resources>