Nikhil Gajwani
8ef86c12d4
Replace MaterialDialog with AlertDialog ( #13525 )
...
* Replace MaterialDialog with AlertDialog
- Specifcally, in the files CardTemplateEditor which necessitated changing it in other places
- Thus in DiscardChangesDialog and whoever else called the function DiscardChangesDialog.showDialog
- Thus in NoteEditor
* Remove deprecations, they cause build failures
* Feedback
- Remove unneeded assertion
- Add assertion to make sure View is present within Dialog
- Other minor cleanup
2023-04-11 14:31:41 +03:00
marv
4fbce501dd
Add Override to Always Display Answer Button in Card Preview ( #13577 )
...
* Add override for answer button in preview
* Change LinearLayout to View in getting answer bar
* Add bottom bar override for multi card previewer
2023-04-11 08:27:40 +03:00
Ashish Yadav
d83de4410b
fixed UI for log out screen allowing access to log out button
2023-04-11 04:35:11 +01:00
pratyaksh1610
5371a7e495
added product flavor to debug info
2023-04-09 18:05:23 -05:00
David Allison
ee3d1348e5
fix: crash on Check Media
...
A lateinit callback wasn't defined
Fixes 13527
2023-04-09 07:47:58 +03:00
Robozinho
c70ab1fb90
Fix resolveActivity deprecation
2023-04-08 20:40:58 -05:00
David Allison
6f296cea1e
fix: Can't open "Third Party Apps"
...
API 30: `queryIntentActivitiesCompat` requires `<queries>` to stop app
enumeration.
https://developer.android.com/training/package-visibility/use-cases#open-urls
Broken in 56a195bf46
Fixes 13567
2023-04-08 20:36:57 -05:00
Mike Hardy
ad538ed9ef
fix(release): increase timeout so parallel builds work
...
2.16alpha97 timed out while building parallels, sigh.
2023-04-06 20:25:32 -05:00
Mike Hardy
ba2efea01c
Bumped version to 2.16alpha97
2023-04-07 00:01:10 +00:00
Mike Hardy
849d7e43ea
fix(release): increase build heap
...
release build still failing on OOM during R8 shrink, hopefully this
fixes
2023-04-06 18:59:38 -05:00
Mike Hardy
f30799e7d3
fix(release): delay tag push until after builds succeed
...
this is still before any builds leave the build machine and become
public, but is after builds succeed so should burn fewer version numbers
in the event builds fail, as just happened
2023-04-06 18:35:52 -05:00
Mike Hardy
ddeda7a47f
fix(release): build universals one flavor at a time, first
...
building them all at once exhausts memory
2023-04-06 18:35:52 -05:00
Mike Hardy
37acf6cfc6
fix(release): use correct variable name in flavor loop
2023-04-06 18:35:52 -05:00
Mike Hardy
767db8bf56
Bumped version to 2.16alpha96
2023-04-06 21:29:03 +00:00
Sumit Singh
58859e8a74
Fixed indent for homescreen XML file ( #13534 )
2023-04-06 15:29:18 -05:00
Arthur Milchior
a79ad04fc3
NF: clean the release message
...
First change is to have `<br/>` instead of `\n`. For the sake of the
consistency. (And also because I imagine \n would be ignored)
Second change is to add actual new line at the end of HTML new line. Text become
more readable.
2023-04-06 15:25:41 -05:00
Pratyaksh Khurana
d63f1931ef
fix: Removed done button and bottom separator in Intro screen ( #13381 )
2023-04-06 15:23:06 -05:00
Sanjay Sargam
2ba0d07b1d
Used AlertDialog instead of MaterialDialog in NoteEditor.kt ( #13473 )
...
Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-04-06 15:15:30 -05:00
Sanjaykumar Sargam
e381be6c09
Replaced Toast with Snackbar in CardTemplateEditor.kt
2023-04-06 15:12:04 -05:00
Sumit Singh
d667fd6aea
Replaced toast with Snackbar in NoteEditor.kt
2023-04-06 15:11:23 -05:00
Mike Hardy
0f0a71da13
build(deps): bump jacoco to 0.8.9
2023-04-06 15:10:03 -05:00
dependabot[bot]
da888647ed
build(deps): bump androidx.core:core-ktx from 1.9.0 to 1.10.0
...
Bumps androidx.core:core-ktx from 1.9.0 to 1.10.0.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 15:10:03 -05:00
dependabot[bot]
2d644ae161
build(deps): bump com.android.tools:desugar_jdk_libs from 2.0.2 to 2.0.3
...
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases )
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/desugar_jdk_libs/commits )
---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 15:10:03 -05:00
dependabot[bot]
a250b694a8
build(deps): bump kotlin_version from 1.8.10 to 1.8.20
...
Bumps `kotlin_version` from 1.8.10 to 1.8.20.
Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.10 to 1.8.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/commits )
Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.10 to 1.8.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/commits )
Updates `org.jetbrains.kotlin:kotlin-test` from 1.8.10 to 1.8.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/commits )
Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.10 to 1.8.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/commits )
Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.8.10 to 1.8.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/commits )
Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.8.10 to 1.8.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/commits )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit5
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 15:10:03 -05:00
AnkiDroid Translations
165632a841
Updated strings from Crowdin
2023-04-06 14:46:33 -05:00
Mike Hardy
504c23b4aa
fix(deps): bump underlying backend to use anki 2.1.61 from upstream
2023-04-05 20:48:14 -05:00
lukstbit
b2ec0a979c
Make all colors available to the JS API consumers
2023-04-05 15:31:25 -05:00
Mike Hardy
1c2d28af4d
release: include universal build for each flavor in github releases
...
this should help storage migration testing as a play build will now be
available despite a general policy of "full builds on github releases"
2023-04-04 21:29:38 -05:00
BlaineOb
c33d6ad81a
Make eligible functions and fields private
...
Android Studio code inspection suggested the following functions and fields in this file could be made private.
2023-04-04 08:40:08 +03:00
Sanjay Sargam
a31636b211
removed line which is written twice ( #13537 )
2023-04-03 07:39:24 -03:00
yellowjello
d2f40dfd75
Fix leech snackbar overlapping answer buttons ( #13404 )
...
* Fix leech snackbar overlapping answer buttons
* Update AnkiDroid/src/main/java/com/ichi2/anki/snackbar/Snackbars.kt
Co-authored-by: oakkitten <oakkitten@users.noreply.github.com>
2023-04-03 07:23:27 -03:00
jocoand
a94d957eef
Kotlincleanup DeckOptionsActivity ( #13536 )
...
* Kotlin cleanup
* Remove annotation
2023-04-03 07:20:39 -03:00
dependabot[bot]
6199e4a8ee
build(deps): bump webfactory/ssh-agent from 0.7.0 to 0.8.0
...
Bumps [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/webfactory/ssh-agent/releases )
- [Changelog](https://github.com/webfactory/ssh-agent/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webfactory/ssh-agent/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: webfactory/ssh-agent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 07:51:23 -05:00
Sanjay Sargam
915c26601a
Showing Snackbar instead of Toast in Reviewer.kt ( #13488 )
...
* Showing Snackbar instead of Toast in Reviewer,kt
* requested changes addded
* changes requested added
2023-03-30 07:29:52 +03:00
Arthur Milchior
0d2863098d
NF: rename DeleteOnUninstall
...
As noted in
https://github.com/ankidroid/Anki-Android/pull/13261/files#r1133165143 ,
"DeleteOnUninstall", while true, is not a description of a kind of folder.
Renaming it make it easier to grasp.
2023-03-29 17:55:06 -05:00
Brayan Oliveira
905d456890
Don't finish activity after requesting all files access permission
2023-03-29 13:43:45 +01:00
Mike Hardy
90fd87dab2
Bumped version to 2.16alpha95
2023-03-28 23:19:53 +00:00
Mike Hardy
2d9f82e347
temporarily disable publish of alpha to google
2023-03-28 18:17:18 -05:00
Robozinho
6c65f41e6f
Fix bundle.get deprecation ( #13510 )
...
* fix bundle.get() deprecation
* fix bundle.get() deprecation
* fix getParcelable deprecation
* fix Bundle.get deprecation
2023-03-28 05:51:05 -03:00
Robozinho
2e11eeb33e
Replace MaterialDialog with AlertDialog
2023-03-28 06:46:43 +03:00
David Allison
8f9d5c4f66
refactor: toggleStylus - Kotlin Cleanup
...
A review comment of mine on 13475 which wasn't worth blocking the PR over
2023-03-27 20:44:27 -03:00
Robozinho
d03d544c6e
fix deprecation and unchecked cast
2023-03-27 19:59:51 -03:00
naong
66ba7b1f2a
Whiteboard - Stylus Only Mode ( #13475 )
...
* NF: Whiteboard - Stylus Only Mode
This function allows you to write with only the stylus pen when using a stylus pen such as the S-Pen. Finger gestures use scroll and button controls only.
This function have a toggle action button and a menu.
Implemented remembering stylus mode state function by adding stylus column in whiteboardState table.
Fixed meta db bug.
---------
Co-authored-by: Brayan Oliveira <69634269+BrayanDSO@users.noreply.github.com>
2023-03-27 23:49:11 +01:00
Brayan Oliveira
194b4ec92f
Use "full" flavor on all github release builds: arch+universal+parallel ( #13514 )
2023-03-27 17:40:26 -05:00
Robozinho
3578675a4a
Fix some activityResult deprecations ( #13495 )
...
* Fix deck options activityResult deprecation
* Fix activityResult deprecation
request code wasn't used
* Add log
* add requested changes
2023-03-27 23:23:06 +01:00
Robozinho
5b5e82a765
Use snackbar instead of toast on note editor add note ( #13515 )
2023-03-27 19:15:56 -03:00
Robozinho
7ab289a0ee
Remove unused method
2023-03-27 21:46:26 +01:00
Arthur Milchior
2e5ef904c8
NF: Rename handleStoragePermissionsCheckForCheckMedia
...
As @oakkitten noted, the name is misleading, since the function does not handle
anything.
2023-03-27 12:40:52 -05:00
David Allison
8f1984d6bd
build: 'full' build with no manifest restrictions
...
A default build ('play') is not allowed MANAGE_EXTERNAL_STORAGE
We want a build with this permission so we can distribute it.
`amazon` removes the camera permission, so it is not appropriate
So add a new flavor: 'full' which has BOTH camera & storage permissions
Related: 13431
2023-03-27 06:32:30 -03:00
Ashish Yadav
f83f19004d
fixed check for condition
2023-03-26 21:17:18 +01:00