240 lines
9.4 KiB
XML
240 lines
9.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="xyz.quaver.pupil">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
|
|
<application
|
|
android:name=".Pupil"
|
|
android:allowBackup="true"
|
|
android:fullBackupContent="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
tools:replace="android:theme"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<provider
|
|
android:authorities="${applicationId}.provider"
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths" />
|
|
|
|
</provider>
|
|
|
|
<service android:name=".services.DownloadService"
|
|
android:exported="false"/>
|
|
|
|
<receiver
|
|
android:name=".receiver.UpdateBroadcastReceiver"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<activity android:name=".ui.LockActivity" />
|
|
<activity
|
|
android:name=".ui.ReaderActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:parentActivityName=".ui.MainActivity">
|
|
<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:host="hitomi.la"
|
|
android:pathPrefix="/galleries"
|
|
android:scheme="http" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/manga"
|
|
android:scheme="http" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/doujinshi"
|
|
android:scheme="http" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/cg"
|
|
android:scheme="http" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/reader"
|
|
android:scheme="http" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/galleries"
|
|
android:scheme="https" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/manga"
|
|
android:scheme="https" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/doujinshi"
|
|
android:scheme="https" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/cg"
|
|
android:scheme="https" />
|
|
</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:host="hitomi.la"
|
|
android:pathPrefix="/reader"
|
|
android:scheme="https" />
|
|
</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:host="hiyobi.me"
|
|
android:scheme="http"
|
|
android:pathPrefix="/reader" />
|
|
</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:host="hiyobi.me"
|
|
android:pathPrefix="/reader"
|
|
android:scheme="https" />
|
|
</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:host="e-hentai.org"
|
|
android:pathPrefix="/g"
|
|
android:scheme="http" />
|
|
</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:host="e-hentai.org"
|
|
android:pathPrefix="/g"
|
|
android:scheme="https" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".ui.SettingsActivity"
|
|
android:label="@string/settings_title">
|
|
<tools:validation testUrl="http://ix.io/eer" />
|
|
</activity>
|
|
<activity
|
|
android:name=".ui.MainActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:theme="@style/NoActionBarAppTheme">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.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="http"
|
|
android:host="ix.io"
|
|
android:pathPattern="/..*" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="net.rdrei.android.dirchooser.DirectoryChooserActivity" />
|
|
</application>
|
|
|
|
</manifest> |