Compare commits

..

No commits in common. "30b8769ed2598c81599c8e4b6cc0a6b1692cefae" and "c6fb2acedaf7a62ed90546dd819b8591ca84167d" have entirely different histories.

9 changed files with 374 additions and 769 deletions

View File

@ -1,4 +1,4 @@
Copyright © 2017-2023 GrapheneOS Copyright © 2017-2022 GrapheneOS
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -13,12 +13,6 @@ plugins {
id("kotlin-android") id("kotlin-android")
} }
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
android { android {
if (useKeystoreProperties) { if (useKeystoreProperties) {
signingConfigs { signingConfigs {
@ -39,7 +33,7 @@ android {
} }
compileSdk = 33 compileSdk = 33
buildToolsVersion = "33.0.2" buildToolsVersion = "33.0.1"
namespace = "app.grapheneos.pdfviewer" namespace = "app.grapheneos.pdfviewer"
@ -90,6 +84,6 @@ android {
} }
dependencies { dependencies {
implementation("androidx.appcompat:appcompat:1.6.1") implementation("androidx.appcompat:appcompat:1.6.0")
implementation("com.google.android.material:material:1.8.0") implementation("com.google.android.material:material:1.7.0")
} }

View File

@ -11,13 +11,13 @@
android:id="@+id/action_previous" android:id="@+id/action_previous"
android:icon="@drawable/ic_navigate_before_24dp" android:icon="@drawable/ic_navigate_before_24dp"
android:title="@string/action_previous" android:title="@string/action_previous"
app:showAsAction="always" /> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/action_next" android:id="@+id/action_next"
android:icon="@drawable/ic_navigate_next_24dp" android:icon="@drawable/ic_navigate_next_24dp"
android:title="@string/action_next" android:title="@string/action_next"
app:showAsAction="always" /> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/action_open" android:id="@+id/action_open"

View File

@ -4,8 +4,8 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath("com.android.tools.build:gradle:7.4.2") classpath("com.android.tools.build:gradle:7.4.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.22")
} }
} }

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=ff7bf6a86f09b9b2c40bb8f48b25fc19cf2b2664fd1d220cd7ab833ec758d0d7 distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
networkTimeout=10000 networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

4
gradlew vendored
View File

@ -144,7 +144,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #( case $MAX_FD in #(
max*) max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045 # shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) || MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit" warn "Could not query maximum file descriptor limit"
esac esac
@ -152,7 +152,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #( '' | soft) :;; #(
*) *)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045 # shellcheck disable=SC3045
ulimit -n "$MAX_FD" || ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD" warn "Could not set maximum file descriptor limit to $MAX_FD"
esac esac

@ -1 +1 @@
Subproject commit eb245b8de89c8d631d175ae937136de54ea3ed51 Subproject commit 5f07d5a4159bb99eee2f6143d1297f03b45bba58