Commit 507ebf3
authored
16k and add tests for mailto schemes (#4)
Task/Issue URL: https://app.asana.com/1/137249556945/project/1208671518894266/task/1211944943901842?focus=true
### Description
Make sure the library is 16k page aligned for android and incidentaly add some more tests
### Steps to test this PR
- [x] `rm -rf ~/.m2/repository/com/duckduckgo/` to nuke the maven local folder
- [x] Build the library with `sh scripts/build_android.sh`
- [x] `cd android` and then `sh release_android.sh --new-version 0.3.4 --bump patch --maven-local` -- This will release the library to maven local
- [x] checkout duckduckgo/Android#7126 from Android repo
- [x] Apply this patch to that branch
```diff
commit 807527950e27d3b7f42978707dc902801ccad483
Author: Aitor Viana <[email protected]>
Date: Sun Jun 4 20:49:52 2023 -0400
Maven local use
diff --git a/build.gradle b/build.gradle
index 77ae343b02..6f9f36ec38 100644
--- a/build.gradle
+++ b/build.gradle
@@ -41,6 +41,10 @@ allprojects {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
+// maven {
+// url "https://central.sonatype.com/repository/maven-snapshots/"
+// }
+ mavenLocal()
}
configurations.all {
resolutionStrategy.force 'org.objenesis:objenesis:2.6'
commit 4b326df9339f21e83ee6584f8d560cba32dba9cb
Author: Aitor Viana <[email protected]>
Date: Tue Nov 18 17:04:25 2025 +0000
bump to 0.3.4
diff --git a/versions.properties b/versions.properties
index 660fdf03ac..ff5fe9c003 100644
--- a/versions.properties
+++ b/versions.properties
@@ -86,7 +86,7 @@ version.com.duckduckgo.netguard..netguard-android=1.10.2
version.com.duckduckgo.synccrypto..sync-crypto-android=0.7.0
-version.com.duckduckgo.urlpredictor..url-predictor-android=0.3.3
+version.com.duckduckgo.urlpredictor..url-predictor-android=0.3.4
version.com.frybits.harmony..harmony=1.2.6
```
- [x] Execute `rm -rf build-cache/; ./gradlew clean assembleID`
- [ ] Then run `./scripts/check_elf_alignment.sh ./app/build/outputs/apk/internal/debug/duckduckgo-5.256.0-internal-debug.apk` or whatever the APK is
- [ ] verify `liburl_predictor.so` always appear as aligned1 parent e9bdcf4 commit 507ebf3
File tree
3 files changed
+30
-1
lines changed- android/ddg-url-predictor/src/test/java
- scripts
- src
3 files changed
+30
-1
lines changedLines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
130 | 147 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
868 | 877 | | |
869 | 878 | | |
0 commit comments