do not export activities

This commit is contained in:
Milos Kozak 2022-06-13 17:50:31 +02:00
parent 9995be702c
commit 1932966a63
10 changed files with 129 additions and 70 deletions

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH" />
@ -82,36 +81,53 @@
android:name="com.google.android.gms.car.application" android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" /> android:resource="@xml/automotive_app_desc" />
<activity android:name=".MainActivity" <activity
android:theme="@style/AppTheme" android:name=".MainActivity"
android:exported="true"> android:exported="true"
android:theme="@style/AppTheme">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activities.PreferencesActivity" /> <activity
<activity android:name=".plugins.general.overview.activities.QuickWizardListActivity" android:name=".activities.PreferencesActivity"
android:theme="@style/AppTheme" android:exported="false" />
android:exported="false"> <activity
android:name=".plugins.general.overview.activities.QuickWizardListActivity"
android:exported="false"
android:theme="@style/AppTheme">
<intent-filter> <intent-filter>
<action android:name="info.nightscout.androidaps.plugins.general.overview.activities.QuickWizardListActivity" /> <action android:name="info.nightscout.androidaps.plugins.general.overview.activities.QuickWizardListActivity" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".plugins.general.maintenance.activities.PrefImportListActivity" <activity
android:name=".plugins.general.maintenance.activities.PrefImportListActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity android:name=".activities.HistoryBrowseActivity" <activity
android:name=".activities.HistoryBrowseActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity android:name=".activities.TreatmentsActivity" <activity
android:name=".activities.TreatmentsActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity android:name=".activities.SurveyActivity" <activity
android:name=".activities.SurveyActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity android:name=".activities.ProfileHelperActivity" <activity
android:name=".activities.ProfileHelperActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity android:name=".activities.StatsActivity" <activity
android:name=".activities.StatsActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<!-- Receive new BG readings from other local apps --> <!-- Receive new BG readings from other local apps -->
@ -211,15 +227,23 @@
<activity <activity
android:name=".setupwizard.SetupWizardActivity" android:name=".setupwizard.SetupWizardActivity"
android:configChanges="orientation|keyboardHidden|screenSize" android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/AppTheme" android:exported="false"
android:label="@string/title_activity_setup_wizard" /> android:label="@string/title_activity_setup_wizard"
android:theme="@style/AppTheme" />
<activity <activity
android:name=".activities.SingleFragmentActivity" android:name=".activities.SingleFragmentActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity android:name=".plugins.general.maintenance.activities.LogSettingActivity" /> <activity
<activity android:name=".activities.RequestDexcomPermissionActivity" /> android:name=".plugins.general.maintenance.activities.LogSettingActivity"
<activity android:name=".plugins.general.smsCommunicator.activities.SmsCommunicatorOtpActivity"> android:exported="false" />
<activity
android:name=".activities.RequestDexcomPermissionActivity"
android:exported="false" />
<activity
android:name=".plugins.general.smsCommunicator.activities.SmsCommunicatorOtpActivity"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="info.nightscout.androidaps.plugins.general.smsCommunicator.activities.SmsCommunicatorOtpActivity" /> <action android:name="info.nightscout.androidaps.plugins.general.smsCommunicator.activities.SmsCommunicatorOtpActivity" />
@ -227,7 +251,9 @@
</intent-filter> </intent-filter>
</activity> </activity>
<uses-library android:name="org.apache.http.legacy" android:required="false"/> <uses-library
android:name="org.apache.http.legacy"
android:required="false" />
</application> </application>

View file

@ -8,14 +8,17 @@
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<application <application android:supportsRtl="true">
android:supportsRtl="true"> <activity
<activity android:name="info.nightscout.androidaps.activities.TDDStatsActivity" /> android:name="info.nightscout.androidaps.activities.TDDStatsActivity"
android:exported="false" />
<activity <activity
android:name="info.nightscout.androidaps.activities.BolusProgressHelperActivity" android:name="info.nightscout.androidaps.activities.BolusProgressHelperActivity"
android:exported="false"
android:theme="@style/Theme.MaterialComponents.Translucent" /> android:theme="@style/Theme.MaterialComponents.Translucent" />
<activity <activity
android:name="info.nightscout.androidaps.activities.ErrorHelperActivity" android:name="info.nightscout.androidaps.activities.ErrorHelperActivity"
android:exported="false"
android:theme="@style/Theme.MaterialComponents.Translucent" /> android:theme="@style/Theme.MaterialComponents.Translucent" />
</application> </application>

View file

@ -1,12 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application <application android:supportsRtl="true">
android:supportsRtl="true">
<activity <activity
android:name="info.nightscout.androidaps.dana.activities.DanaHistoryActivity" android:name="info.nightscout.androidaps.dana.activities.DanaHistoryActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity <activity
android:name="info.nightscout.androidaps.dana.activities.DanaUserOptionsActivity" android:name="info.nightscout.androidaps.dana.activities.DanaUserOptionsActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
</application> </application>
</manifest> </manifest>

View file

@ -6,7 +6,9 @@
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<application> <application>
<activity android:name="info.nightscout.androidaps.danars.activities.BLEScanActivity"> <activity
android:name="info.nightscout.androidaps.danars.activities.BLEScanActivity"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="info.nightscout.androidaps.plugins.PumpDanaRS.activities.BLEScanActivity" /> <action android:name="info.nightscout.androidaps.plugins.PumpDanaRS.activities.BLEScanActivity" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -14,9 +16,11 @@
</activity> </activity>
<activity <activity
android:name="info.nightscout.androidaps.danars.activities.PairingHelperActivity" android:name="info.nightscout.androidaps.danars.activities.PairingHelperActivity"
android:exported="false"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
<activity <activity
android:name="info.nightscout.androidaps.danars.activities.EnterPinActivity" android:name="info.nightscout.androidaps.danars.activities.EnterPinActivity"
android:exported="false"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
<service <service

View file

@ -6,18 +6,19 @@
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" /> <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<application <application android:supportsRtl="true">
android:supportsRtl="true">
<activity <activity
android:name="info.nightscout.androidaps.diaconn.activities.DiaconnG8HistoryActivity" android:name="info.nightscout.androidaps.diaconn.activities.DiaconnG8HistoryActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity <activity
android:name="info.nightscout.androidaps.diaconn.activities.DiaconnG8UserOptionsActivity" android:name="info.nightscout.androidaps.diaconn.activities.DiaconnG8UserOptionsActivity"
android:exported="false"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity <activity
android:name="info.nightscout.androidaps.diaconn.activities.DiaconnG8BLEScanActivity" android:name="info.nightscout.androidaps.diaconn.activities.DiaconnG8BLEScanActivity"
android:theme="@style/AppTheme" android:exported="false"
android:exported="false"> android:theme="@style/AppTheme">
<intent-filter> <intent-filter>
<action android:name="info.nightscout.androidaps.plugins.PumpDiaconnG8.activities.DiaconnG8BLEScanActivity" /> <action android:name="info.nightscout.androidaps.plugins.PumpDiaconnG8.activities.DiaconnG8BLEScanActivity" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />

View file

@ -6,19 +6,23 @@
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" /> <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.VIBRATE" />
<application> <application>
<activity <activity
android:name="info.nightscout.androidaps.plugins.pump.insight.activities.InsightPairingActivity" android:name="info.nightscout.androidaps.plugins.pump.insight.activities.InsightPairingActivity"
android:exported="false"
android:label="@string/insight_pairing" android:label="@string/insight_pairing"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />
<activity <activity
android:name="info.nightscout.androidaps.plugins.pump.insight.activities.InsightAlertActivity" android:name="info.nightscout.androidaps.plugins.pump.insight.activities.InsightAlertActivity"
android:label="@string/pump_alert"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="false"
android:label="@string/pump_alert"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:theme="@style/InsightAlertDialog" /> android:theme="@style/InsightAlertDialog" />
<activity <activity
android:name="info.nightscout.androidaps.plugins.pump.insight.activities.InsightPairingInformationActivity" android:name="info.nightscout.androidaps.plugins.pump.insight.activities.InsightPairingInformationActivity"
android:exported="false"
android:label="@string/pairing_information" android:label="@string/pairing_information"
android:theme="@style/AppTheme" /> android:theme="@style/AppTheme" />

View file

@ -1,15 +1,19 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application <application android:supportsRtl="true">
android:supportsRtl="true">
<service <service
android:name=".service.RileyLinkMedtronicService" android:name=".service.RileyLinkMedtronicService"
android:enabled="true" android:enabled="true"
android:exported="false" /> android:exported="false" />
<activity android:name=".dialog.MedtronicHistoryActivity" android:theme="@style/AppTheme" /> <activity
android:name=".dialog.MedtronicHistoryActivity"
android:exported="false"
android:theme="@style/AppTheme" />
<uses-library android:name="org.apache.http.legacy" android:required="false"/> <uses-library
android:name="org.apache.http.legacy"
android:required="false" />
</application> </application>
</manifest> </manifest>

View file

@ -7,11 +7,18 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application <application android:supportsRtl="true">
android:supportsRtl="true"> <activity
<activity android:name=".ui.wizard.activation.DashPodActivationWizardActivity" /> android:name=".ui.wizard.activation.DashPodActivationWizardActivity"
<activity android:name=".ui.wizard.deactivation.DashPodDeactivationWizardActivity" /> android:exported="false" />
<activity android:name=".ui.DashPodManagementActivity" /> <activity
<activity android:name=".ui.DashPodHistoryActivity" /> android:name=".ui.wizard.deactivation.DashPodDeactivationWizardActivity"
android:exported="false" />
<activity
android:name=".ui.DashPodManagementActivity"
android:exported="false" />
<activity
android:name=".ui.DashPodHistoryActivity"
android:exported="false" />
</application> </application>
</manifest> </manifest>

View file

@ -1,15 +1,22 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application <application android:supportsRtl="true">
android:supportsRtl="true">
<service <service
android:name=".rileylink.service.RileyLinkOmnipodService" android:name=".rileylink.service.RileyLinkOmnipodService"
android:enabled="true" android:enabled="true"
android:exported="true" /> android:exported="true" />
<activity android:name=".ui.wizard.activation.ErosPodActivationWizardActivity" /> <activity
<activity android:name=".ui.wizard.deactivation.ErosPodDeactivationWizardActivity" /> android:name=".ui.wizard.activation.ErosPodActivationWizardActivity"
<activity android:name=".ui.ErosPodManagementActivity" /> android:exported="false" />
<activity android:name=".ui.ErosPodHistoryActivity" /> <activity
android:name=".ui.wizard.deactivation.ErosPodDeactivationWizardActivity"
android:exported="false" />
<activity
android:name=".ui.ErosPodManagementActivity"
android:exported="false" />
<activity
android:name=".ui.ErosPodHistoryActivity"
android:exported="false" />
</application> </application>
</manifest> </manifest>

View file

@ -12,9 +12,10 @@
<uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" /> <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
<application> <application>
<activity android:name="info.nightscout.androidaps.plugins.pump.common.dialog.RileyLinkBLEConfigActivity" <activity
android:theme="@style/AppTheme" android:name="info.nightscout.androidaps.plugins.pump.common.dialog.RileyLinkBLEConfigActivity"
android:exported="false"> android:exported="false"
android:theme="@style/AppTheme">
<intent-filter> <intent-filter>
<action android:name="info.nightscout.androidaps.plugins.PumpCommon.dialog.RileyLinkBLEConfigActivity" /> <action android:name="info.nightscout.androidaps.plugins.PumpCommon.dialog.RileyLinkBLEConfigActivity" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -23,8 +24,9 @@
<activity <activity
android:name="info.nightscout.androidaps.plugins.pump.common.hw.rileylink.dialog.RileyLinkStatusActivity" android:name="info.nightscout.androidaps.plugins.pump.common.hw.rileylink.dialog.RileyLinkStatusActivity"
android:theme="@style/AppTheme" android:exported="false"
android:label="@string/title_activity_rileylink_settings" /> android:label="@string/title_activity_rileylink_settings"
android:theme="@style/AppTheme" />
</application> </application>
</manifest> </manifest>