Skip to content

Commit

Permalink
Update 1.2_r1.
Browse files Browse the repository at this point in the history
  • Loading branch information
D4rK7355608 committed Aug 26, 2022
1 parent 61f70a9 commit f0b1cab
Show file tree
Hide file tree
Showing 68 changed files with 192 additions and 314 deletions.
38 changes: 37 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Version 1.1_r2:
- Minor bug fixes;
- Minor tweaks;
- Under the hood improvements.

# Version 1.1_r1:
- Added share preference;
- Added ads;
- Added Support preference;
- Minor bug fixes;
- Minor tweaks;
- Under the hood improvements.

# Version 1.1_r1:
- Added share preference;
- Added ads;
Expand All @@ -7,5 +20,4 @@
- Under the hood improvements.

# Version 1.0_r1:
- Initial stable version.
-
- Initial stable version.
10 changes: 3 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ plugins {
}
android {
compileSdk 33
def tagName = '1.1_r1'
def tagName = '1.2_r1'
defaultConfig {
applicationId "com.d4rk.lowbrightness"
minSdk 26
targetSdk 33
versionCode 7
versionCode 8
versionName tagName
multiDexEnabled true
buildConfigField "String", "VERSION_NAME", "\"${tagName}\""
Expand All @@ -23,15 +23,12 @@ android {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
resValue "bool", "FIREBASE_CRASH_ENABLED", "true"
resValue "bool", "FIREBASE_ANALYTICS_DEACTIVATED", "false"
}
debug {
minifyEnabled true
shrinkResources true
debuggable true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
resValue "bool", "FIREBASE_CRASH_ENABLED", "false"
resValue "bool", "FIREBASE_ANALYTICS_DEACTIVATED", "true"
}
}
compileOptions {
Expand All @@ -47,7 +44,6 @@ android {
}
}
dependencies {
implementation platform('com.google.firebase:firebase-bom:30.3.2')
implementation 'com.google.firebase:firebase-crashlytics:18.2.12'
implementation 'com.google.firebase:firebase-analytics:21.1.0'
implementation 'com.google.firebase:firebase-perf:20.1.0'
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
android:appCategory="productivity"
android:banner="@drawable/ic_toolbar_background"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher"
android:logo="@drawable/ic_launcher_foreground"
android:label="@string/app_name"
android:supportsRtl="true"
android:resizeableActivity="true"
android:theme="@style/AppThemeActionBar">
<activity
android:name=".MainActivity"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/d4rk/lowbrightness/ads/Ads.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.google.android.gms.ads.appopen.AppOpenAd;
import com.google.android.gms.ads.appopen.AppOpenAd.AppOpenAdLoadCallback;
import java.util.Date;
@SuppressWarnings("ALL")
public class Ads extends Application implements ActivityLifecycleCallbacks, LifecycleObserver {
private AppOpenAdManager appOpenAdManager;
private Activity currentActivity;
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/drawable-anydpi/background_brightness.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:width="2880dp" android:height="1623dp" android:viewportWidth="2880" android:viewportHeight="1623" tools:ignore="VectorRaster">
<path android:fillColor="#DDDDDD" android:pathData="M2561.3 1258.6c-70.3 0-127.4 57-127.4 127.4H555.3c0.1-57.1 0-114.1 0.3-171.2 0-7.6-2.3-9.6-9.7-9.5-25.3 0.4-50.6 0.2-76 0.2-12.6 0-12-0.1-13.5-12.5-2.6-21.1-0.7-42.2-1.2-63.3-0.3-11.6 2.1-22.2 12.7-29.5 3.1-2.2 5.7-4.1 9.7-4 7.9 0.3 15.7 0.1 23.6 0.1 13 0 23-7.8 26.1-20.5 3.1-12.8 0.9-25.9 1.5-38.9 0.2-3.4-1.9-4-4.7-4-11.1 0.1-22.2-0.6-33.2 0.2-10.6 0.7-19.2 5.6-23.4 16.2-2 5.1-3.6 10.1-3.5 15.6 0.1 7.9 0.1 15.7-0.1 23.6-0.1 3.8-2.5 7.4-6 6.8-3.1-0.5-2-4.5-1.8-7.5 0.7-10.2 0.9-20.5-0.4-30.8-1.6-12.8-1.9-25.5 10.4-34.5 3.7-2.7 6.8-6.4 10-9.8 11.9-12.8 11.6-29.1-0.6-41.4-6-6.1-12.1-12.1-18.2-18.2-7.2-7.2-7-7.1-14 0.8-4 4.6-8.5 8.9-13.1 13-2.4 2.1-5.2 3.6-7.1 6.3-9.5 13.4-5.7 36.1 8 45.1 9.4 6.2 14.6 13.4 14.1 25.8-1.1 27.7-0.3 55.5-0.4 83.3 0 2 0.7 4.3-0.9 6.4-4.8-3-6.8-6.7-6.5-12.3 0.4-7.6 0.3-15.2 0.1-22.9-0.3-13-12.8-27.1-24.3-27.3-11.6-0.2-23.1 0.1-34.7-0.1-3.3-0.1-6 2.6-5.9 5.9 0.3 10.1 0 20.2 0.1 30.2 0.1 11.4 7.8 21.7 18.4 26 11.2 4.5 22.8 2.3 34.2 2.8 8.1 0.4 19.6 11.4 19.6 19.4 0.1 14.3-0.3 28.5 0.2 42.8 0.2 6.1-2 7.4-7.6 7.3-27.8-0.2-55.6 0.1-83.3-0.2-6.6-0.1-8.2 1.9-8.2 8.3 0.3 46.9 0.1 93.9 0.1 140.9 0 3.4 0.1 6.9 0 10.3-0.1 3.1 1.3 4.1 4.4 4.5 6.1 0.6 6-3 6-7.3-0.1-45.7 0-91.4-0.1-137.2 0-4.8 0.3-7.7 6.5-7.6 58.8 0.2 117.5 0.2 176.3 0 5.9 0 6.7 2.5 6 9.5-1.2 12.7-1.3 25.5 0 38.3 0.8 8-0.6 10.1-6.9 10-21.1-0.3-42.3-0.1-63.4-0.1h-72.3c-5.5 0-7.9 2.9-6 6.8 1.6 3.3 4.8 1.9 7.2 1.9 44.2 0.1 88.5 0.2 132.7-0.1 6.8 0 8.9 2.1 8.8 8.9-0.2 31.2-0.3 62.4-0.1 93.7H0v237h2880v-364.3h-318.7v-0.3zm-2087.5-200c0.6-8.4 6.4-13.5 14.8-15.3 7.8-1.7 15.6-0.9 23.4-1.2 3.4-0.1 5.9 0.9 5.9 4.8 0 7.9 0.5 15.8-0.2 23.6-0.7 8.2-8.1 14.7-17.1 15.7-4.6 0.5-9.3 0.2-14 0.1-1.2 0-2.6 0.3-3.2-1.1s0.5-2.3 1.3-3.1c3.3-3.3 6.2-7.2 10-9.8 4.5-3.1 3.2-5 0.5-8.5-3.6-4.5-4.8-0.2-6.7 1.2-2.4 1.7-4.6 3.7-6.8 5.6-2.2 1.9-4.4 3.9-7.9 7.1-0.1-7.5-0.4-13.3 0-19.1zm-48.2 58.8c-3.8 1.6-5.3-5.3-8.3-7.9-1.8-1.6-3.6-3.4-5.2-5.2-2.1-2.5-3.9-3.3-6.4-0.3-2.1 2.5-4.9 4.4-1.1 7.7 4.7 4 7.1 10 14.3 14.4h-16.1c-12.7-0.1-19.3-6.5-19.8-19.4-0.2-5.9 0.2-11.8-0.1-17.7-0.2-4.7 1.8-6 6.1-5.8 5.4 0.2 10.8 0.1 16.2 0.1 14.3 0 22.1 7.7 21.9 22-0.1 4.2 2.3 10.5-1.5 12.1zm25.5-129.9c-4.2 0-5.7 1.4-5.5 5.6 0.2 7.5 0.1 15.1 0.1 24.4-5.5-5.5-10.5-9.5-14.2-14.4-5.9-7.9-4.5-16.6 2.6-23.8l7.8-7.8c9.9-9.9 9.8-9.8 20.3-0.5 16.6 14.8 15.1 31.7-4.7 45.8-1.1-8.4-1.9-16.1-1.5-23.8 0.2-3.6-0.9-5.5-4.9-5.5z" tools:ignore="VectorPath"/>
<path android:fillColor="#99BBE6" android:pathData="M339 130.7h358.2c17.1 0 31 14.6 31 32.6v707.2c0 18-13.9 32.6-31 32.6H339c-17.1 0-31-14.6-31-32.6V163.4c0-18 13.9-32.7 31-32.7zm457.8 0H1155c17.1 0 31 14.6 31 32.6v707.2c0 18-13.9 32.6-31 32.6H796.8c-17.1 0-31-14.6-31-32.6V163.4c0-18 13.9-32.7 31-32.7z"/>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/drawable-anydpi/ic_changelog.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="28dp" android:height="28dp" android:viewportWidth="24" android:viewportHeight="24">
<path android:fillColor="?android:textColorPrimary" android:pathData="M8 16h8v2H8zm0-4h8v2H8zm6-10H6C4.9 2 4 2.9 4 4v16c0 1.1 0.89 2 1.99 2H18c1.1 0 2-0.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/>
</vector>
1 change: 0 additions & 1 deletion app/src/main/res/drawable-anydpi/ic_code_of_conduct.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="28dp" android:height="28dp" android:viewportWidth="24" android:viewportHeight="24">
<path android:fillColor="?android:textColorPrimary" android:pathData="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 4.52-2.98 8.69-7 9.93-4.02-1.24-7-5.41-7-9.93V6.3l7-3.11 7 3.11V11zM7.41 11.59L6 13l4 4 8-8-1.41-1.42L10 14.17z"/>
</vector>
1 change: 0 additions & 1 deletion app/src/main/res/drawable-anydpi/ic_community.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">
<path android:fillColor="?android:textColorPrimary" android:pathData="M12 13.9v-3.72h9.36c0.14 0.63 0.25 1.22 0.25 2.05 0 5.71-3.83 9.77-9.6 9.77C6.48 22 2 17.52 2 12S6.48 2 12 2c2.7 0 4.96 0.99 6.69 2.61l-2.84 2.76C15.13 6.69 13.88 5.88 12 5.88c-3.31 0-6.01 2.75-6.01 6.12s2.7 6.12 6.01 6.12c3.83 0 5.24-2.65 5.5-4.22H12z"/>
</vector>
1 change: 0 additions & 1 deletion app/src/main/res/drawable-anydpi/ic_contribute.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="200dp" android:height="200dp" android:viewportWidth="800" android:viewportHeight="800">
<path android:fillColor="#FFBEA5" android:pathData="M387.174 182.975c0-15.944-13.214-28.989-29.116-28.989-11.771 0-22.095 7.042-26.225 17.393v-45.346c0-18.429-13.63-34.374-32.008-36.444-15.901-1.655-28.498 7.869-35.931 21.122V85.655c0-19.259-15.488-34.788-34.693-34.788-19.204 0-34.691 15.529-34.691 34.788v28.988c-4.748-16.151-22.301-27.54-40.679-24.02-16.727 3.314-28.705 18.43-28.705 35.616v245.167l-17.965-17.392v-38.929c0-32.095-22.713-58.601-52.657-64.606-4.335-0.827-12.389-1.242-12.389-1.242v113.059c0 26.919 11.152 52.595 30.562 71.024l94.163 89.04v128.59h182.959V521.323c24.986-44.104 37.375-93.8 37.375-144.53V182.975z"/>
<path android:fillColor="#FF7543" android:fillAlpha="0.2" android:pathData="M349.799 571.642H166.842v79.517h182.957v-79.517z"/>
Expand Down
Loading

0 comments on commit f0b1cab

Please sign in to comment.