[app] Cleanup file provider paths (#393)

* [app] Cleanup file provider paths

* [app] Remove unused files
This commit is contained in:
tehcneko 2021-03-22 12:49:20 +08:00 committed by GitHub
parent 3424685814
commit 56eae5f5b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 71 deletions

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ This file is part of LSPosed.
~
~ LSPosed is free software: you can redistribute it and/or modify
@ -24,7 +23,8 @@
package="org.lsposed.manager">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"
<uses-permission
android:name="android.permission.INTERACT_ACROSS_USERS"
tools:ignore="ProtectedPermissions" />
<queries>
@ -48,13 +48,15 @@
android:name=".ui.activity.LogsActivity"
android:label="@string/Logs" />
<activity android:name=".ui.activity.AppListActivity" />
<activity android:name=".ui.activity.RepoActivity"
android:label="@string/module_repo"/>
<activity
android:name=".ui.activity.RepoActivity"
android:label="@string/module_repo" />
<activity android:name=".ui.activity.RepoItemActivity" />
<activity
android:name=".ui.activity.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTop">
android:launchMode="singleTop"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -70,7 +72,8 @@
android:label="@string/Modules" />
<activity
android:name=".ui.activity.SettingsActivity"
android:label="@string/Settings">
android:label="@string/Settings"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />

View File

@ -47,6 +47,15 @@ import androidx.recyclerview.widget.RecyclerView;
import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.tabs.TabLayout;
import org.lsposed.manager.BuildConfig;
import org.lsposed.manager.ConfigManager;
import org.lsposed.manager.R;
import org.lsposed.manager.databinding.ActivityLogsBinding;
import org.lsposed.manager.databinding.DialogInstallWarningBinding;
import org.lsposed.manager.databinding.ItemLogBinding;
import org.lsposed.manager.ui.activity.base.BaseActivity;
import org.lsposed.manager.util.LinearLayoutManagerFix;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileDescriptor;
@ -62,14 +71,6 @@ import java.util.Calendar;
import java.util.List;
import java.util.Locale;
import org.lsposed.manager.BuildConfig;
import org.lsposed.manager.ConfigManager;
import org.lsposed.manager.R;
import org.lsposed.manager.databinding.ActivityLogsBinding;
import org.lsposed.manager.databinding.DialogInstallWarningBinding;
import org.lsposed.manager.databinding.ItemLogBinding;
import org.lsposed.manager.ui.activity.base.BaseActivity;
import org.lsposed.manager.util.LinearLayoutManagerFix;
import rikka.core.os.FileUtils;
import rikka.recyclerview.RecyclerViewKt;

View File

@ -49,7 +49,7 @@
<string name="info_manager_version">Version du gestionnaire</string>
<string name="info_system_version">Version du système</string>
<string name="info_device">Périphérique </string>
<string name="info_system_abi">Architecture du système</string>
<string name="info_system_abi">Architecture du système</string>
<!-- LogsActivity -->
<string name="menuSend">Envoyer</string>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ This file is part of LSPosed.
~
~ LSPosed is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ LSPosed is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
~
~ Copyright (C) 2020 EdXposed Contributors
~ Copyright (C) 2021 LSPosed Contributors
-->
<resources>
</resources>

View File

@ -170,7 +170,6 @@
<string name="module_release_no_more">沒有更早期的版本</string>
<string name="repo_load_failed">模組倉庫載入失敗:%s</string>
<string name="app_destroyed">此應用程式已損毀,請確保您從官方來源下載該應用程式。</string>
<string name="outdated_manager">LSPosed Manager 和 LSPosed 核心的版本不一致。請重新安裝對應的版本。</string>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ This file is part of LSPosed.
~
~ LSPosed is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ LSPosed is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
~
~ Copyright (C) 2020 EdXposed Contributors
~ Copyright (C) 2021 LSPosed Contributors
-->
<resources>
</resources>

View File

@ -19,11 +19,7 @@
-->
<paths>
<external-cache-path
name="downloads"
path="/downloads" />
<!--suppress AndroidElementNotAllowed -->
<root-path
<cache-path
name="log"
path="/" />
path="." />
</paths>