<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Nextcloud - Android Client
  ~
  ~ SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
  ~ SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
  ~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <application
        android:name=".MainApp"
        android:fullBackupContent="@xml/backup_config"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:manageSpaceActivity="com.owncloud.android.ui.activity.ManageSpaceActivity"
        android:theme="@style/Theme.ownCloud.Toolbar">

        <activity
            android:name=".ui.activity.HuaweiCommunityActivity"
            android:exported="false" />

        <activity-alias
            android:name=".ui.activity.CommunityActivity"
            android:targetActivity=".ui.activity.HuaweiCommunityActivity"
            tools:replace="android:targetActivity" />

        <activity
            tools:node="remove"
            android:name=".ui.activity.CommunityActivity" />
    </application>

</manifest>
