view app/src/main/AndroidManifest.xml @ 523:775a81a78a2b stable-1.9.4-7

add more debug code
author Carl Byington <carl@five-ten-sg.com>
date Fri, 31 May 2024 18:53:22 -0600
parents caba9dfe7a89
children 9a8862b87f6e
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<!--
 ConnectBot: simple, powerful, open-source SSH client for Android
 Copyright 2007 Kenny Root, Jeffrey Sharkey

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.five_ten_sg.connectbot"
    android:versionName="1.9.4-7"
    android:versionCode="1947"
    android:installLocation="auto">
    <queries>
        <package android:name="com.five_ten_sg.connectbot.monitor" />
    </queries>

    <!--  permissions must match HostListActivity.java -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.FOREGROUND" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.REORDER_TASKS"/>
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />

    <permission
        android:name="org.openintents.ssh.permission.ACCESS_SSH_AGENT"
        android:protectionLevel="dangerous"
        android:label="@string/ssh_agent_permission_label"
        android:description="@string/ssh_agent_permission_desc"
        android:icon="@drawable/pubkey">
    </permission>
    <!--    android:permissionGroup="android.permission-group.PERSONAL_INFO"
    -->

    <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>

    <supports-screens />

    <application
        android:requestLegacyExternalStorage="true"
        android:usesCleartextTraffic="true"
        android:icon="@drawable/icon"
        android:label="@string/app_name"
        android:description="@string/app_desc"
        android:allowBackup="false"
        android:backupAgent=".service.BackupAgent"
        android:killAfterRestore="true">

        <activity android:name=".HostListActivity" android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.CREATE_SHORTCUT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PICK" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="tn5250" />
                <data android:scheme="ssh"    />
                <data android:scheme="telnet" />
                <data android:scheme="local"  />
            </intent-filter>
        </activity>

        <activity android:name=".PubkeyListActivity" android:exported="false" android:configChanges="keyboardHidden|orientation" >
            <intent-filter>
                <action android:name="org.openintents.ssh.agent.IDENTITY_ADMIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity android:name=".GeneratePubkeyActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".HostEditorActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".PortForwardListActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".SettingsActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".WizardActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".HelpActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".HelpTopicActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name=".ColorsActivity" android:configChanges="keyboardHidden|orientation" />
        <activity android:name="com.lamerman.FileDialog" android:configChanges="keyboardHidden|orientation" />

        <service android:name="com.five_ten_sg.connectbot.service.TerminalManager"
            android:configChanges="keyboardHidden|orientation"
            android:description="@string/service_desc" />

        <service android:name="com.five_ten_sg.connectbot.service.AuthAgentService"
            android:description="@string/auth_agent_service_desc"
            android:permission="org.openintents.ssh.permission.ACCESS_SSH_AGENT"
            android:exported="true">
            <intent-filter>
                <action android:name="org.openintents.ssh.BIND_SSH_AGENT_SERVICE" />
            </intent-filter>
        </service>

        <activity android:name=".ConsoleActivity" android:exported="true" android:configChanges="keyboardHidden|orientation"
            android:theme="@style/NoTitle" android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
            android:launchMode="singleTop" android:hardwareAccelerated="false">
            <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="tn5250" />
                <data android:scheme="ssh"    />
                <data android:scheme="telnet" />
                <data android:scheme="local"  />
                <!-- format:  ssh://user@host:port/#nickname  -->
                <!-- format:  telnet://host:port/#nickname  -->
                <!-- format:  local://  -->
            </intent-filter>
        </activity>

        <meta-data android:name="com.google.android.backup.api_key"
            android:value="AEdPqrEAAAAIDlFz9nSUr2g0gSytW0t2cNnYAGHDkptlVohsBA" />

    </application>
</manifest>