-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from DP-3T/develop
Version 1.1.0
- Loading branch information
Showing
85 changed files
with
2,727 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
~ Copyright (c) 2020 Ubique Innovation AG <https://www.ubique.ch> | ||
~ | ||
~ This Source Code Form is subject to the terms of the Mozilla Public | ||
~ License, v. 2.0. If a copy of the MPL was not distributed with this | ||
~ file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
~ | ||
~ SPDX-License-Identifier: MPL-2.0 | ||
--> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
package="ch.admin.bag.dp3t"> | ||
|
||
<uses-permission android:name="android.permission.BLUETOOTH" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
|
||
<application | ||
android:name="ch.admin.bag.dp3t.MainApplication" | ||
android:allowBackup="false" | ||
android:debuggable="true" | ||
android:fullBackupContent="false" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:networkSecurityConfig="@xml/network_security_config" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/NextStepTheme" | ||
tools:ignore="UnusedAttribute,HardCodedDebugMode" | ||
tools:replace="android:fullBackupContent"> | ||
|
||
<activity | ||
android:name="ch.admin.bag.dp3t.MainActivity" | ||
android:launchMode="singleTop" | ||
android:screenOrientation="portrait" | ||
tools:ignore="LockedOrientationActivity"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity | ||
android:name="ch.admin.bag.dp3t.onboarding.OnboardingActivity" | ||
android:launchMode="singleTop" | ||
android:screenOrientation="portrait" | ||
tools:ignore="LockedOrientationActivity" /> | ||
|
||
<activity | ||
android:name="ch.admin.bag.dp3t.inform.InformActivity" | ||
android:launchMode="singleTop" | ||
android:screenOrientation="portrait" | ||
tools:ignore="LockedOrientationActivity" /> | ||
|
||
</application> | ||
|
||
</manifest> |
24 changes: 24 additions & 0 deletions
24
app/src/log/java/ch/admin/bag/dp3t/debug/DebugFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (c) 2020 Ubique Innovation AG <https://www.ubique.ch> | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
* | ||
* SPDX-License-Identifier: MPL-2.0 | ||
*/ | ||
package ch.admin.bag.dp3t.debug; | ||
|
||
import androidx.fragment.app.Fragment; | ||
import androidx.fragment.app.FragmentManager; | ||
|
||
public class DebugFragment extends Fragment { | ||
|
||
/** | ||
* DOES NOT (AND MUST NOT) EXIST ON PROD. | ||
*/ | ||
public static final boolean EXISTS = false; | ||
|
||
public static void startDebugFragment(FragmentManager parentFragmentManager) { } | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
app/src/log/java/ch/admin/bag/dp3t/debug/TracingStatusWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2020 Ubique Innovation AG <https://www.ubique.ch> | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
* | ||
* SPDX-License-Identifier: MPL-2.0 | ||
*/ | ||
package ch.admin.bag.dp3t.debug; | ||
|
||
import ch.admin.bag.dp3t.main.model.DefaultTracingStatusWrapper; | ||
|
||
public class TracingStatusWrapper extends DefaultTracingStatusWrapper { | ||
// default implementation | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (c) 2020 Ubique Innovation AG <https://www.ubique.ch> | ||
~ | ||
~ This Source Code Form is subject to the terms of the Mozilla Public | ||
~ License, v. 2.0. If a copy of the MPL was not distributed with this | ||
~ file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
~ | ||
~ SPDX-License-Identifier: MPL-2.0 | ||
--> | ||
|
||
<network-security-config> | ||
<base-config> | ||
<trust-anchors> | ||
<certificates src="system" /> | ||
<!-- Trust user added CAs while debuggable only --> | ||
<certificates src="user" /> | ||
</trust-anchors> | ||
</base-config> | ||
</network-security-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.