Files
piik/mobile/android/app/src/main/AndroidManifest.xml
T
AAA d112a3ef2e feat(android): capture screens through shared Rust media owners
Keep MediaProjection consent and playback audio on the page-owned capture lease. Reuse native frame admission, encoding outputs, cancellation and room routes; normalize normal pre-frame cancellation without platform-specific UI rules.
2026-10-30 20:21:28 -04:00

22 lines
2.2 KiB
XML

<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.software.leanback" android:required="false"/>
<application android:label="@string/app_name" android:icon="@drawable/piik" android:theme="@style/PiikTheme" android:usesCleartextTraffic="true" android:allowBackup="false">
<activity android:name=".MainActivity" android:exported="true" android:configChanges="orientation|screenSize|keyboardHidden" android:resizeableActivity="true">
<intent-filter><action android:name="android.intent.action.MAIN"/><category android:name="android.intent.category.LAUNCHER"/><category android:name="android.intent.category.LEANBACK_LAUNCHER"/></intent-filter>
<intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/><data android:scheme="piik" android:host="app"/></intent-filter>
<intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/><data android:scheme="piik" android:host="media"/></intent-filter>
</activity>
<service android:name=".AppRuntimeService" android:foregroundServiceType="specialUse|mediaProjection" android:exported="false">
<property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="User-started local room server and native screen-sharing companion for the user's browser; runs until the user stops Piik."/>
</service>
</application>
</manifest>