Merge pull request #774 from amnezia-vpn/fix/remove_appname_log

Remove logging of application and package names
This commit is contained in:
pokamest 2024-04-25 07:53:53 -07:00 committed by GitHub
commit 03c18c44e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 5 deletions

View file

@ -118,12 +118,12 @@ abstract class Protocol {
} }
for (app in config.includedApplications) { for (app in config.includedApplications) {
Log.d(TAG, "addAllowedApplication: $app") Log.d(TAG, "addAllowedApplication")
vpnBuilder.addAllowedApplication(app) vpnBuilder.addAllowedApplication(app)
} }
for (app in config.excludedApplications) { for (app in config.excludedApplications) {
Log.d(TAG, "addDisallowedApplication: $app") Log.d(TAG, "addDisallowedApplication")
vpnBuilder.addDisallowedApplication(app) vpnBuilder.addDisallowedApplication(app)
} }

View file

@ -511,7 +511,7 @@ class AmneziaActivity : QtActivity() {
@Suppress("unused") @Suppress("unused")
fun getAppIcon(packageName: String, width: Int, height: Int): Bitmap { fun getAppIcon(packageName: String, width: Int, height: Int): Bitmap {
Log.v(TAG, "Get app icon: $packageName") Log.v(TAG, "Get app icon")
return AppListProvider.getAppIcon(packageManager, packageName, width, height) return AppListProvider.getAppIcon(packageManager, packageName, width, height)
} }
} }

View file

@ -29,7 +29,6 @@ void AppSplitTunnelingController::addApp(const QString &appPath)
void AppSplitTunnelingController::addApps(QVector<QPair<QString, QString>> apps) void AppSplitTunnelingController::addApps(QVector<QPair<QString, QString>> apps)
{ {
qDebug() << apps;
for (const auto &app : apps) { for (const auto &app : apps) {
InstalledAppInfo appInfo { app.first, app.second, "" }; InstalledAppInfo appInfo { app.first, app.second, "" };

View file

@ -48,7 +48,6 @@ bool AppSplitTunnelingModel::addApp(const InstalledAppInfo &appInfo)
m_settings->setVpnApps(m_currentRouteMode, m_apps); m_settings->setVpnApps(m_currentRouteMode, m_apps);
endInsertRows(); endInsertRows();
qDebug() << "app added " << appInfo.appName;
return true; return true;
} }