Distinguishes not-installed (say nothing — don't nag users who don't use Shizuku) from installed-but-stopped (amber banner: start it to include shell-tier tests), plus running-unauthorised and ready. Detection is listener-based since pingBinder() only becomes truthful once ShizukuProvider delivers the binder; a launch-time poll would show a false "not running". Installed-vs-not needs the <queries> entry on Android 11+. Verified on-device: with shizuku_server stopped, the banner shows before pressing Run; the title also now clears the status bar/cutout after the safeDrawingPadding fix. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
25 lines
995 B
XML
25 lines
995 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- SPDX-FileCopyrightText: 2026 Echolot contributors
|
|
SPDX-License-Identifier: GPL-3.0-or-later -->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<uses-permission android:name="moe.shizuku.manager.permission.API_V23" />
|
|
|
|
<!-- Android 11+ package visibility: needed to tell "Shizuku installed but stopped"
|
|
(worth a reminder) apart from "not installed" (say nothing). -->
|
|
<queries>
|
|
<package android:name="moe.shizuku.privileged.api" />
|
|
</queries>
|
|
|
|
<application>
|
|
<!-- Shizuku binder provider (merged into the host app). -->
|
|
<provider
|
|
android:name="rikka.shizuku.ShizukuProvider"
|
|
android:authorities="${applicationId}.shizuku"
|
|
android:multiprocess="false"
|
|
android:enabled="true"
|
|
android:exported="true"
|
|
android:permission="android.permission.INTERACT_ACROSS_USERS_FULL" />
|
|
</application>
|
|
</manifest>
|