Commit Graph

338 Commits

Author SHA1 Message Date
dependabot[bot]
587d3a5c96 Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 14:15:56 -05:00
Daniel Micay
d26851dfcf rename to app.grapheneos.pdfviewer 2022-02-23 08:50:50 -05:00
smdyv
660321cb38 Use vectors for menu icons
Material icons (rounded)
2022-02-20 12:23:43 -05:00
smdyv
7b0948383a Add margins to toolbar 2022-02-20 12:23:13 -05:00
smdyv
1fbfc86199 Disable animated layout changes for the top app bar
At least temporarily. Prevents unsightly layout shifts
2022-02-20 08:04:26 -05:00
smdyv
8453e2f2c6 Use M3 theme 2022-02-19 09:06:31 -05:00
smdyv
6468f5012f Use default window color in dark theme 2022-02-19 08:58:03 -05:00
MHShetty
c7a0ae858e Use a grey background while viewing a document 2022-02-19 08:48:09 -05:00
smdyv
f07b6350df Center canvas 2022-02-19 08:37:38 -05:00
smdyv
c743c0d6a7 Create layout for the PDF viewer activity
Updating insets is no longer necessary because the layout reserves the
space for the top app bar and frees it up in full-screen mode so the
WebView can fill the entire screen.
2022-02-19 08:32:15 -05:00
smdyv
fdf2cf8c27 Use view binding instead of findViewById
Provides null safety and type safety
2022-02-18 06:09:22 -05:00
MHShetty
5f5e1682a0 Add dark app theme support 2022-02-13 04:19:20 -05:00
June
f91ba5298e Update gradle wrapper to 7.4
Signed-off-by: June <june@eridan.me>
2022-02-10 22:56:16 -05:00
Daniel Micay
89e898d81c increment version to 10 2022-02-09 07:08:03 -05:00
smdyv
b5a05055e9 Replace launcher icon 2022-02-09 07:07:39 -05:00
Daniel Micay
80e3d7e4b8 increment version to 9 2022-02-07 00:32:25 -05:00
Daniel Micay
993923ff92 Revert "solve API 30 deprecation with getSystemWindowInsetTop"
This reverts commit 851dd55d43.
2022-02-07 00:31:22 -05:00
flawedworld
17db928149 Update Play Store icon 2022-02-07 00:27:23 -05:00
Daniel Micay
6a129121fb increment version to 8 2022-02-06 22:51:16 -05:00
June
5984291b44 Replace deprecated usages of getActivity with requireActivity, replace onClick with lambda, and use NonNull
Signed-off-by: June <june@eridan.me>
2022-02-05 23:51:21 -05:00
June
61247aaa6a Explicitly require NonNull in areas where it shouldn't/never will be
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
259a2afe7a Don't use C-style arrays, use parseBoolean, remove redundant explicit type
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
91dbb9adfb Don't use mWebView to set WebView debugging
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
851dd55d43 solve API 30 deprecation with getSystemWindowInsetTop
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
5494376175 Use expression lambda instead of statement lambda
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
flawedworld
a8828e3878 replace icon 2022-02-05 19:23:36 -05:00
dependabot[bot]
c563486866 Bump gradle from 7.1.0 to 7.1.1
Bumps gradle from 7.1.0 to 7.1.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-04 18:33:24 -05:00
June
f81a71bf3d Remove unused label 2022-02-03 11:09:57 -05:00
June
9dca01a0ee Replace valueOf with their respective data type functions 2022-02-03 11:09:57 -05:00
Daniel Micay
d48b1d3efc update copyright notice 2022-02-01 05:14:37 -05:00
Daniel Micay
8f44fdf862 update SDK and build tools to 32 (Android 12L) 2022-01-26 22:12:29 -05:00
dependabot[bot]
bda58bdba8 Bump gradle from 7.0.4 to 7.1.0
Bumps gradle from 7.0.4 to 7.1.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 15:03:44 -05:00
Daniel Micay
6404c7afea check out submodules for CI 2022-01-25 14:59:31 -05:00
June
9596bcf082 add pdfjs-dist submodule and symlink minified files
This should make the update process of pdf.js far easier and more maintainable as we can just use the pdfjs-dist tags

Signed-off-by: June <june@eridan.me>
2022-01-22 22:12:31 -05:00
June
df63e56bed solve deprecations in app build.gradle.kts
Signed-off-by: June <june@eridan.me>
2022-01-22 20:34:03 -05:00
June
846757d3fb update appcompat and material
Signed-off-by: June <june@eridan.me>
2022-01-22 20:33:31 -05:00
Daniel Micay
7b6cc83a54 update gradle to 7.3.3 2021-12-26 16:16:41 -05:00
Daniel Micay
ef1173192a update Gradle to 7.3.2 2021-12-15 18:00:44 -05:00
dependabot[bot]
5f8426def9 Bump kotlin-gradle-plugin from 1.6.0 to 1.6.10
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.6.0 to 1.6.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 16:27:48 -05:00
dependabot[bot]
ef0a27129a Bump gradle from 7.0.3 to 7.0.4
Bumps gradle from 7.0.3 to 7.0.4.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-09 04:49:36 -05:00
Daniel Micay
666cb4db02 update Gradle to 7.3.1 2021-12-01 14:20:46 -05:00
Daniel Micay
872f62eb38 cleaner style for validate gradle wrapper action 2021-11-29 23:40:33 -05:00
Daniel Micay
c9317c3090 trigger actions for every branch 2021-11-29 23:35:34 -05:00
Daniel Micay
289f8ba7cd bind actions to major versions 2021-11-29 23:18:51 -05:00
dependabot[bot]
53a497cab9 Bump actions/setup-java from 2.3.1 to 2.4.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 17:22:04 -05:00
Daniel Micay
94f4cb6362 set Java bytecode version for Kotlin 2021-11-24 23:13:47 -05:00
Daniel Micay
e4b107e1e4 update text layer CSS 2021-11-24 22:22:33 -05:00
Daniel Micay
c7329644b2 disable idle-detection in Permissions-Policy 2021-11-24 02:19:18 -05:00
smdyv
90d4b22799 Add Kotlin Android plugin to module 2021-11-22 10:48:57 -05:00
Daniel Micay
290000687a increment version to 7 2021-11-21 17:42:53 -05:00