Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Bump min SDK version to 23 (#318)
Browse files Browse the repository at this point in the history
* Make CombineLatestWithLog compatible with earlier API

* Fix launcher icons on earlier API versions

* Bump min SDK version to 23

* Add changelog entry

* Mention fixed icon in changelog

Co-authored-by: Łukasz Rutkowski <[email protected]>
  • Loading branch information
Tunous and Tunous authored Sep 8, 2020
1 parent 14865e4 commit 37eccf1
Show file tree
Hide file tree
Showing 92 changed files with 14 additions and 49 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- Support for reddit galleries ([#312](https://github.com/Tunous/Dawn/pull/312))

### Changed

- Increased minimum required API version to 23 ([#318](https://github.com/Tunous/Dawn/pull/318))

### Fixed

- Correctly parse links with leading/trailing spaces ([319](https://github.com/Tunous/Dawn/pull/319))
- Correctly parse links with leading/trailing spaces ([#319](https://github.com/Tunous/Dawn/pull/319))
- App icon on API versions lower than 26 ([#318](https://github.com/Tunous/Dawn/pull/318))

## [0.10.0] - 2020-08-14

Expand Down
5 changes: 0 additions & 5 deletions app/src/debug/res/drawable-anydpi-v26/ic_launcher.xml

This file was deleted.

4 changes: 0 additions & 4 deletions app/src/debug/res/drawable-anydpi/ic_launcher.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/debug/res/mipmap-anydpi-v26/ic_launcher_dusk.xml

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 4 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="me.saket.dank"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.saket.dank">

<uses-permission android:name="android.permission.INTERNET" />

Expand All @@ -18,8 +18,9 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_launcher_label"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/DankTheme.TransparentBackground">

<activity-alias
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package me.saket.dank.utils;

import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.os.Build;

import com.google.auto.value.AutoValue;

Expand All @@ -21,7 +19,6 @@
import timber.log.Timber;

@SuppressLint("UseSparseArrays")
@TargetApi(Build.VERSION_CODES.N)
public class CombineLatestWithLog {

@AutoValue
Expand Down Expand Up @@ -68,12 +65,13 @@ public <T> ObservableTransformer<T, T> print() {

if (needsLog) {
Timber.w("------------------------------------------------");
items.forEach((name, item) -> {
for (Map.Entry<String, Object> item: items.entrySet()) {
String name = item.getKey();
if (delays.get(name) > threshold) {
Timber.w("%s = %sms [SLOW]", name, delays.get(name));
Timber.w("Time since subscribe: %s", (endTimes.get(name) - subscribeTimes.get(name)));
}
});
}
Timber.i("------------------------------------------------");
}
}));
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_dawn.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_dawn_round.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_dusk.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_dusk_round.xml

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_dusk.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_dusk.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_dusk.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher_dusk.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-xxxhdpi/ic_launcher_dusk.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.gradle.api.tasks.wrapper.Wrapper.DistributionType

buildscript {
ext.versions = [
minSdk : 21,
minSdk : 23,
compileSdk : 28,
supportLib : '28.0.0',
glide : '4.11.0',
Expand Down

0 comments on commit 37eccf1

Please sign in to comment.