Skip to content

Commit 91a8ca5

Browse files
siddh1004sagarwal
andauthored
1 parent dc41f22 commit 91a8ca5

File tree

93 files changed

+127
-253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+127
-253
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG
22

3+
## Next Release
4+
5+
### Changes
6+
7+
- Update min sdk version to 26 (Android 8.0)
8+
- Update statin translations for `om-ET` and `sid-ET`
9+
310
## 2025.08.13
411

512
### Internal
@@ -27,7 +34,6 @@
2734
- Rename `Smoker` to `Smokes`
2835
- Update tobacco translations for `bn-BD`, `ta-LK` and `si-LK`
2936
- Remove `LongTeleconsultMessageBuilder_Old.kt`
30-
- Update statin translations for `om-ET` and `sid-ET`
3137

3238
## 2025.05.20
3339

app/src/debug/java/org/simple/clinic/DebugNotification.kt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import android.app.PendingIntent
66
import android.content.BroadcastReceiver
77
import android.content.Context
88
import android.content.Intent
9-
import android.os.Build
109
import androidx.core.app.NotificationCompat
1110
import org.simple.clinic.sync.DataSync
1211
import javax.inject.Inject
@@ -19,15 +18,10 @@ object DebugNotification {
1918
fun show(context: Context, appSignature: String) {
2019
val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
2120

22-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
23-
notificationManager.createNotificationChannel(NotificationChannel(NOTIF_CHANNEL_ID, "Debug", NotificationManager.IMPORTANCE_MIN))
24-
}
21+
notificationManager.createNotificationChannel(NotificationChannel(NOTIF_CHANNEL_ID, "Debug", NotificationManager.IMPORTANCE_MIN))
2522

26-
val syncPendingIntentFlags = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
27-
PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_CANCEL_CURRENT
28-
} else {
29-
PendingIntent.FLAG_CANCEL_CURRENT
30-
}
23+
val syncPendingIntentFlags =
24+
PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_CANCEL_CURRENT
3125
val syncPendingIntent = PendingIntent.getBroadcast(
3226
context,
3327
0,

app/src/debug/res/drawable-v26/ic_launcher_foreground.xml renamed to app/src/debug/res/drawable/ic_launcher_foreground.xml

File renamed without changes.

app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml renamed to app/src/debug/res/mipmap-anydpi/ic_launcher.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@color/ic_launcher_background" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
56
</adaptive-icon>
-1.84 KB
Binary file not shown.
-1.32 KB
Binary file not shown.
-2.64 KB
Binary file not shown.
-4.04 KB
Binary file not shown.
-5.62 KB
Binary file not shown.

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
android:supportsRtl="true"
5959
android:theme="@style/Theme.Simple"
6060
tools:ignore="AllowBackup,DataExtractionRules,GoogleAppIndexingWarning,LockedOrientationActivity"
61-
tools:replace="android:allowBackup"
62-
tools:targetApi="n">
61+
tools:replace="android:allowBackup">
6362

6463
<meta-data
6564
android:name="com.google.mlkit.vision.DEPENDENCIES"
@@ -128,9 +127,7 @@
128127
android:screenOrientation="portrait"
129128
android:windowSoftInputMode="adjustResize"
130129
tools:ignore="DiscouragedApi">
131-
<intent-filter
132-
android:autoVerify="true"
133-
tools:targetApi="m">
130+
<intent-filter android:autoVerify="true">
134131
<action android:name="android.intent.action.VIEW" />
135132

136133
<category android:name="android.intent.category.DEFAULT" />

0 commit comments

Comments
 (0)