mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-16 15:03:17 +01:00
Compare commits
476 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5f85c0661 | ||
|
|
91458f2702 | ||
|
|
6650ffc2c6 | ||
|
|
ab0102a372 | ||
|
|
a797bbf850 | ||
|
|
3804890265 | ||
|
|
fcdbf93626 | ||
|
|
f1b61f8f7e | ||
|
|
ce582249ec | ||
|
|
b21a72153a | ||
|
|
2a8bd20bb0 | ||
|
|
c30e3cc1b7 | ||
|
|
5fedd81921 | ||
|
|
24069dc42e | ||
|
|
ff15c8417a | ||
|
|
cbf770d3ea | ||
|
|
676ab1ab6f | ||
|
|
9cc47942f2 | ||
|
|
45e6e06c01 | ||
|
|
d2243707b5 | ||
|
|
48cd1c1da0 | ||
|
|
330a5aece2 | ||
|
|
8c4f614d17 | ||
|
|
f40bcb73fa | ||
|
|
905a6f1a6b | ||
|
|
8f78471849 | ||
|
|
82df20190d | ||
|
|
7f6e96a522 | ||
|
|
eded335766 | ||
|
|
7e4736969c | ||
|
|
78940ffc17 | ||
|
|
086883e565 | ||
|
|
e9cdf0368e | ||
|
|
7be273f461 | ||
|
|
e6cbb0073c | ||
|
|
469421fcf3 | ||
|
|
6d6d277277 | ||
|
|
8a5faba985 | ||
|
|
7aadc208e1 | ||
|
|
3c68e29679 | ||
|
|
4756b8d70b | ||
|
|
c2d927029a | ||
|
|
629b96dd20 | ||
|
|
01705459cf | ||
|
|
c449f72786 | ||
|
|
773d6c36dc | ||
|
|
b4bfb67a44 | ||
|
|
3165c854df | ||
|
|
f5cb1b0efa | ||
|
|
179908fba6 | ||
|
|
d6ec4bfbd3 | ||
|
|
237ac9f94a | ||
|
|
66f69854cf | ||
|
|
8f47592fc0 | ||
|
|
3ea7bf77e0 | ||
|
|
2b67b1c44f | ||
|
|
ebccc6db30 | ||
|
|
98d9b12438 | ||
|
|
5db8463c70 | ||
|
|
813252989b | ||
|
|
0319adbce4 | ||
|
|
de584ccb7d | ||
|
|
bd89c7fc39 | ||
|
|
bef4bb40ca | ||
|
|
b57d922cdf | ||
|
|
8c1cc03c6f | ||
|
|
f0109f3e6b | ||
|
|
ed89f3a78e | ||
|
|
faa6a1d3f0 | ||
|
|
969635d942 | ||
|
|
7665ae1464 | ||
|
|
9c18e3698e | ||
|
|
df406633ff | ||
|
|
d121f9402b | ||
|
|
5310c19b99 | ||
|
|
cd92feb2b7 | ||
|
|
3b603f08ed | ||
|
|
281f062b29 | ||
|
|
b054a7eb76 | ||
|
|
33b9c88ecd | ||
|
|
253d36ae13 | ||
|
|
8306f8ec5b | ||
|
|
69b6d7ef9a | ||
|
|
aeeba3d2df | ||
|
|
dfd2f7baf9 | ||
|
|
5de17a971d | ||
|
|
001896d244 | ||
|
|
1844b128e1 | ||
|
|
08623cc0c4 | ||
|
|
f93a948169 | ||
|
|
76476191be | ||
|
|
d00bb28ee4 | ||
|
|
453e5bede7 | ||
|
|
c7c108bd77 | ||
|
|
fb81574d35 | ||
|
|
e6d3de091c | ||
|
|
99b8a6020d | ||
|
|
88b21b6113 | ||
|
|
256ee9b1aa | ||
|
|
e2feaaf74c | ||
|
|
17def87c17 | ||
|
|
d90e9919ae | ||
|
|
38baf17938 | ||
|
|
3f7707985f | ||
|
|
a61072b249 | ||
|
|
80ff64ddd3 | ||
|
|
95c0467bda | ||
|
|
ff88d259fd | ||
|
|
6e747019d4 | ||
|
|
9e7a40a63d | ||
|
|
38eed43046 | ||
|
|
4c76cb682e | ||
|
|
c47adb7482 | ||
|
|
3c2ccef9a8 | ||
|
|
fb0c4757f2 | ||
|
|
b8b9a632b5 | ||
|
|
9b4a13a491 | ||
|
|
1cdd49721d | ||
|
|
8b895738c0 | ||
|
|
6ab3cd3390 | ||
|
|
11c8a726ec | ||
|
|
264447a6d9 | ||
|
|
a7bb2831f8 | ||
|
|
e05586a1c9 | ||
|
|
0e8dedf4d0 | ||
|
|
0e11a1fe3e | ||
|
|
f1ebd2dc81 | ||
|
|
8ea90c8a43 | ||
|
|
6456dcf657 | ||
|
|
bb151c91e9 | ||
|
|
ce6f39ae68 | ||
|
|
58e8ea08c2 | ||
|
|
4dd74d9ab4 | ||
|
|
3ef3a516b3 | ||
|
|
518a81c7fa | ||
|
|
f81325e7ca | ||
|
|
cc847cb229 | ||
|
|
7320a0ef46 | ||
|
|
7c45686440 | ||
|
|
8b5b83e974 | ||
|
|
a4a3861398 | ||
|
|
01bdaaea84 | ||
|
|
1f02fba696 | ||
|
|
aeb9054a63 | ||
|
|
bb33945a93 | ||
|
|
3d2ceef47f | ||
|
|
892e6bd853 | ||
|
|
78e1a407a6 | ||
|
|
48d766ecff | ||
|
|
d6d3226fcd | ||
|
|
ed4944f806 | ||
|
|
eb2dfb3fb6 | ||
|
|
265f71dff3 | ||
|
|
01d1769e4c | ||
|
|
97d099c7f1 | ||
|
|
0a957bc97c | ||
|
|
5df7552506 | ||
|
|
75334abe0f | ||
|
|
8524d20de5 | ||
|
|
495e2e043e | ||
|
|
dec9eb613e | ||
|
|
d6e7030dd0 | ||
|
|
6e43e931b2 | ||
|
|
430a55f89f | ||
|
|
d717aad03d | ||
|
|
efd86ad2fc | ||
|
|
b284835545 | ||
|
|
4dd30f4ec3 | ||
|
|
a48938f3d8 | ||
|
|
01989ad6e7 | ||
|
|
f37f67c6c0 | ||
|
|
36f7c60a99 | ||
|
|
3f067654d9 | ||
|
|
0ce3eab3cd | ||
|
|
b0f7c36cc2 | ||
|
|
966e208be5 | ||
|
|
a80d353e04 | ||
|
|
080fa88bfb | ||
|
|
172e3d129e | ||
|
|
52d5947c0a | ||
|
|
7334ebfce1 | ||
|
|
2c98bbaf7e | ||
|
|
5a91dba56e | ||
|
|
535c5a1574 | ||
|
|
b61c54c0e2 | ||
|
|
5ac5d45fc6 | ||
|
|
79ba929e70 | ||
|
|
3e9146a6f5 | ||
|
|
0c4c280a50 | ||
|
|
ebea499a5a | ||
|
|
d6b39e9f0a | ||
|
|
787eaee6a0 | ||
|
|
5ecb3d8832 | ||
|
|
b2e8666c9f | ||
|
|
8af41e4b2c | ||
|
|
5eaf1000c8 | ||
|
|
4ed6773983 | ||
|
|
0de0441f65 | ||
|
|
9e1b4a9a8c | ||
|
|
bf28b90e89 | ||
|
|
a0a962a94f | ||
|
|
abe0b2ebca | ||
|
|
7b4fe7ff40 | ||
|
|
1ba9793943 | ||
|
|
14d4228e86 | ||
|
|
3d2c51c14b | ||
|
|
72d75e9cd5 | ||
|
|
e125fa6bfb | ||
|
|
57574126bb | ||
|
|
833c81a99e | ||
|
|
5ca17dfe52 | ||
|
|
5e058bb655 | ||
|
|
ce87b50a07 | ||
|
|
2ad14800d1 | ||
|
|
f04a0533cb | ||
|
|
5ae51f844e | ||
|
|
4ce2c6ef73 | ||
|
|
4442f26f53 | ||
|
|
849fce5a89 | ||
|
|
482fce6a25 | ||
|
|
e7e69ab064 | ||
|
|
4b768419da | ||
|
|
2cca01d30f | ||
|
|
e0c69dc485 | ||
|
|
1dd79efdb2 | ||
|
|
dbb3c8def9 | ||
|
|
562185f46d | ||
|
|
f6c7c6de73 | ||
|
|
1ca3a9ca73 | ||
|
|
c76c3f65f2 | ||
|
|
59c27797d6 | ||
|
|
c5c720b1c9 | ||
|
|
caa09c82d0 | ||
|
|
d45f80f25d | ||
|
|
6a248f617a | ||
|
|
2959e05ea7 | ||
|
|
17faf56388 | ||
|
|
f533ad1533 | ||
|
|
25452fefa5 | ||
|
|
9702728c19 | ||
|
|
43f19d14d8 | ||
|
|
467c154ea6 | ||
|
|
d72c742ab6 | ||
|
|
567bf0facc | ||
|
|
d5329d0794 | ||
|
|
ff04e5c5c3 | ||
|
|
e529fbd1bc | ||
|
|
068eaff801 | ||
|
|
e0bb3a48c2 | ||
|
|
f2e4881026 | ||
|
|
b605148ac4 | ||
|
|
2b9126d74b | ||
|
|
206f6d84e7 | ||
|
|
01836b3a7c | ||
|
|
e68691c966 | ||
|
|
957f473e77 | ||
|
|
8a023100ea | ||
|
|
5bfdca509c | ||
|
|
9a837254ec | ||
|
|
3f27769d20 | ||
|
|
4f260c2063 | ||
|
|
75df16e842 | ||
|
|
fce6651e26 | ||
|
|
b06783bc90 | ||
|
|
72a1a9b0ff | ||
|
|
5568a14490 | ||
|
|
378ebb00c4 | ||
|
|
c81f40eb74 | ||
|
|
d97bde3959 | ||
|
|
4d301a4f66 | ||
|
|
9941b2d123 | ||
|
|
089d8a50b2 | ||
|
|
eb8ad5218d | ||
|
|
21b1401fc4 | ||
|
|
58ea9a1f48 | ||
|
|
2bb9578ef9 | ||
|
|
c3b8768570 | ||
|
|
94e3dabc20 | ||
|
|
542a820e22 | ||
|
|
8f7cc52255 | ||
|
|
63888f1c99 | ||
|
|
a588522c9b | ||
|
|
7a2eca3bd5 | ||
|
|
a8ba0dccca | ||
|
|
782c83cc4e | ||
|
|
46e6ae915c | ||
|
|
8a887b65a1 | ||
|
|
08491579dd | ||
|
|
25b01a30be | ||
|
|
48374e6950 | ||
|
|
6496f236ea | ||
|
|
e767434c2b | ||
|
|
bb6507a456 | ||
|
|
c3f9e5d972 | ||
|
|
34d87cf6e1 | ||
|
|
e657a4adf3 | ||
|
|
9594599d60 | ||
|
|
a0c0acb8fc | ||
|
|
0896718e5c | ||
|
|
be4bf27ede | ||
|
|
7253aaaa14 | ||
|
|
72cbe61f6c | ||
|
|
78d3db319c | ||
|
|
c7a6c7ad9e | ||
|
|
8bc183b994 | ||
|
|
ef6e5abc17 | ||
|
|
e96e6e8d18 | ||
|
|
cee33a23ac | ||
|
|
c5de7581ee | ||
|
|
5dc626078f | ||
|
|
9de75b3e1f | ||
|
|
f09bf5b14c | ||
|
|
c7ec3ab837 | ||
|
|
2a7b58bf46 | ||
|
|
7d5b0b1565 | ||
|
|
3620db3a92 | ||
|
|
69cad04875 | ||
|
|
d533cdc619 | ||
|
|
ae455d2615 | ||
|
|
7f27e52e58 | ||
|
|
4b10c19569 | ||
|
|
3f7f43d506 | ||
|
|
b4296c1e4b | ||
|
|
b62b5ea8ef | ||
|
|
db5cced91b | ||
|
|
b677827c86 | ||
|
|
fc0e902cbf | ||
|
|
6fbf4d4ae6 | ||
|
|
95149764eb | ||
|
|
a37680685f | ||
|
|
2b163a9acd | ||
|
|
2f41d15a41 | ||
|
|
d2c8b6e14c | ||
|
|
6877b9163b | ||
|
|
6ee14d5e7c | ||
|
|
824ff18ba5 | ||
|
|
548adb831d | ||
|
|
501ef69f97 | ||
|
|
a62f07db11 | ||
|
|
1b6cfe9fc6 | ||
|
|
eaa1124e71 | ||
|
|
380036195a | ||
|
|
d2619a6abd | ||
|
|
4d2f23ec37 | ||
|
|
6c1897d8d5 | ||
|
|
39de824bf0 | ||
|
|
889ebcadd4 | ||
|
|
db17d1fd24 | ||
|
|
cc282276c8 | ||
|
|
a5e00c4319 | ||
|
|
dba5252be6 | ||
|
|
874bc1a1c9 | ||
|
|
4b95851ae5 | ||
|
|
fbe907f1e9 | ||
|
|
cf0157c59d | ||
|
|
8f4dff8d53 | ||
|
|
1b3fb60cb0 | ||
|
|
ecbf9d60cb | ||
|
|
117c3ac2db | ||
|
|
9571215175 | ||
|
|
754dc8dab4 | ||
|
|
7caccd341b | ||
|
|
ef6c69a960 | ||
|
|
e82d11e035 | ||
|
|
a687fe09ff | ||
|
|
d19c536000 | ||
|
|
55e029e81d | ||
|
|
df89f8879d | ||
|
|
2b1db2943c | ||
|
|
1687f6966b | ||
|
|
2b685fb42e | ||
|
|
73f5a3398c | ||
|
|
35cf24b577 | ||
|
|
be920148e7 | ||
|
|
456aaa54f1 | ||
|
|
a872097c31 | ||
|
|
33c3c48bd5 | ||
|
|
cd24691130 | ||
|
|
5d92fb1cc4 | ||
|
|
c9e6204a8d | ||
|
|
b4ec935762 | ||
|
|
30426ee42a | ||
|
|
1a70449c4c | ||
|
|
374347da04 | ||
|
|
276662026e | ||
|
|
cd3e9a4009 | ||
|
|
7fb866fcfb | ||
|
|
d06febd5b5 | ||
|
|
04813fe345 | ||
|
|
6a3d1634b9 | ||
|
|
c554c0d456 | ||
|
|
e88f63f54d | ||
|
|
7ff051a638 | ||
|
|
ac9405e874 | ||
|
|
d18c5a7fad | ||
|
|
bdc90f3c02 | ||
|
|
94e28eddd0 | ||
|
|
6100664287 | ||
|
|
54aa477b28 | ||
|
|
3c5774960a | ||
|
|
5140c41c58 | ||
|
|
2b9bb3fb5c | ||
|
|
9500f4a59c | ||
|
|
a64b77d6f2 | ||
|
|
4f9e77e7cd | ||
|
|
13444136bd | ||
|
|
7beb4dd939 | ||
|
|
51e6ae8f03 | ||
|
|
7aca5f77f6 | ||
|
|
02ce6c62a8 | ||
|
|
b0b2c32a6f | ||
|
|
cf7fee2de8 | ||
|
|
bb730c137f | ||
|
|
da2eb02cde | ||
|
|
f271c85aef | ||
|
|
bd5f25ffc7 | ||
|
|
3d78d5473e | ||
|
|
49d3f7652d | ||
|
|
5b543c5212 | ||
|
|
2356bb6da2 | ||
|
|
c2bdc11832 | ||
|
|
2bd440e07c | ||
|
|
6eee4db87b | ||
|
|
e7d1db446b | ||
|
|
ff50755ba2 | ||
|
|
f8ef262b3d | ||
|
|
f8737995fa | ||
|
|
1bbefea857 | ||
|
|
143630c41b | ||
|
|
577eaa1eae | ||
|
|
316b071c81 | ||
|
|
5a6f55c0a8 | ||
|
|
e008a50acc | ||
|
|
41c3913482 | ||
|
|
803ff76678 | ||
|
|
309081437a | ||
|
|
5f152b73c2 | ||
|
|
f8d3336a1e | ||
|
|
dc1fdffe6a | ||
|
|
622d9c909f | ||
|
|
4e3ef19c1f | ||
|
|
b054a30fa7 | ||
|
|
7266c24354 | ||
|
|
5ec2877bcc | ||
|
|
0d93446c7d | ||
|
|
1e395ab416 | ||
|
|
0acb5ac7cd | ||
|
|
3b18b5d2b7 | ||
|
|
16e63a061d | ||
|
|
a6c8b940c9 | ||
|
|
74d9e3248b | ||
|
|
3af8b6050c | ||
|
|
da966753a1 | ||
|
|
0ad4b3f73e | ||
|
|
e8d072d4be | ||
|
|
b0eed4a095 | ||
|
|
ba720efe61 | ||
|
|
e23d575460 | ||
|
|
7fbcd17759 | ||
|
|
a95ebb2158 | ||
|
|
8a36425cac | ||
|
|
4261ed39dc | ||
|
|
ca37a884fd | ||
|
|
9fbb7683bc | ||
|
|
42e275ef0a | ||
|
|
19ece12e93 | ||
|
|
3ef0d3e4a3 | ||
|
|
602ea46b8b | ||
|
|
95c0bc6052 | ||
|
|
bd4ce1788c | ||
|
|
20d16a8433 | ||
|
|
db4c11cd53 | ||
|
|
f439e1f8e3 | ||
|
|
080b1aab83 | ||
|
|
61ba2ac97a | ||
|
|
7eebb38eda |
@@ -20,6 +20,7 @@ ktlint_standard_unnecessary-parentheses-before-trailing-lambda = disabled
|
||||
ktlint_standard_value-parameter-comment = disabled
|
||||
ktlint_standard_class-signature = disabled
|
||||
ktlint_standard_function-expression-body = disabled
|
||||
ktlint_standard_blank-line-between-when-conditions = disabled
|
||||
|
||||
# Disable ktlint on generated source code, see
|
||||
# https://github.com/JLLeitschuh/ktlint-gradle/issues/746
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@@ -17,7 +17,7 @@ body:
|
||||
label: "Guidelines"
|
||||
description: "Search issues here: https://github.com/signalapp/Signal-Android/issues/?q=is%3Aissue+"
|
||||
options:
|
||||
- label: I have searched searched open and closed issues for duplicates
|
||||
- label: I have searched open and closed issues for duplicates
|
||||
required: true
|
||||
- label: I am submitting a bug report for existing functionality that does not work as intended
|
||||
required: true
|
||||
|
||||
23
.github/stale.yml
vendored
23
.github/stale.yml
vendored
@@ -1,23 +0,0 @@
|
||||
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
||||
daysUntilStale: 60
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||
daysUntilClose: 7
|
||||
|
||||
issues:
|
||||
exemptLabels:
|
||||
- acknowledged
|
||||
|
||||
# Comment to post when marking as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
|
||||
# Comment to post when closing a stale Issue or Pull Request.
|
||||
closeComment: >
|
||||
This issue has been closed due to inactivity.
|
||||
|
||||
# Limit the number of actions per hour, from 1-30. Default is 30
|
||||
limitPerRun: 1
|
||||
37
.github/workflows/stale.yml
vendored
Normal file
37
.github/workflows/stale.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Mark stale issues and PRs
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 2 * * *' # daily at 02:00 UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
actions: write
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v10
|
||||
with:
|
||||
days-before-stale: 60
|
||||
days-before-close: 7
|
||||
exempt-issue-labels: 'acknowledged'
|
||||
exempt-pr-labels: 'acknowledged'
|
||||
stale-issue-label: 'wontfix'
|
||||
stale-pr-label: 'wontfix'
|
||||
stale-issue-message: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions!
|
||||
stale-pr-message: >
|
||||
This pull request has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions!
|
||||
close-issue-message: >
|
||||
This issue has been closed due to inactivity.
|
||||
close-pr-message: >
|
||||
This pull request has been closed due to inactivity.
|
||||
operations-per-run: 150
|
||||
@@ -24,8 +24,8 @@ plugins {
|
||||
|
||||
apply(from = "static-ips.gradle.kts")
|
||||
|
||||
val canonicalVersionCode = 1660
|
||||
val canonicalVersionName = "8.1.3"
|
||||
val canonicalVersionCode = 1680
|
||||
val canonicalVersionName = "8.8.0"
|
||||
val currentHotfixVersion = 0
|
||||
val maxHotfixVersions = 100
|
||||
|
||||
@@ -51,10 +51,9 @@ val localProperties: Properties? = if (localPropertiesFile.exists()) {
|
||||
null
|
||||
}
|
||||
val quickstartCredentialsDir: String? = localProperties?.getProperty("quickstart.credentials.dir")
|
||||
val benchmarkBackupFile: String? = localProperties?.getProperty("benchmark.backup.file")
|
||||
|
||||
val selectableVariants = listOf(
|
||||
"nightlyBackupRelease",
|
||||
"nightlyBackupSpinner",
|
||||
"nightlyProdSpinner",
|
||||
"nightlyProdPerf",
|
||||
"nightlyProdRelease",
|
||||
@@ -93,6 +92,7 @@ wire {
|
||||
|
||||
protoPath {
|
||||
srcDir("${project.rootDir}/lib/libsignal-service/src/main/protowire")
|
||||
srcDir("${project.rootDir}/lib/archive/src/main/protowire")
|
||||
}
|
||||
// Handled by libsignal
|
||||
prune("signalservice.DecryptionErrorMessage")
|
||||
@@ -468,17 +468,6 @@ android {
|
||||
buildConfigField("String", "BUILD_ENVIRONMENT_TYPE", "\"Staging\"")
|
||||
buildConfigField("String", "STRIPE_PUBLISHABLE_KEY", "\"pk_test_sngOd8FnXNkpce9nPXawKrJD00kIDngZkD\"")
|
||||
}
|
||||
|
||||
create("backup") {
|
||||
initWith(getByName("staging"))
|
||||
|
||||
dimension = "environment"
|
||||
|
||||
applicationIdSuffix = ".backup"
|
||||
|
||||
buildConfigField("boolean", "MANAGES_APP_UPDATES", "true")
|
||||
buildConfigField("String", "BUILD_ENVIRONMENT_TYPE", "\"Backup\"")
|
||||
}
|
||||
}
|
||||
|
||||
lint {
|
||||
@@ -544,6 +533,15 @@ android {
|
||||
}
|
||||
variant.sources.assets?.addGeneratedSourceDirectory(taskProvider) { it.outputDir }
|
||||
}
|
||||
|
||||
onVariants(selector().withBuildType("benchmark")) { variant ->
|
||||
val taskProvider = tasks.register<CopyBenchmarkBackupTask>("copyBenchmarkBackup${variant.name.capitalize()}") {
|
||||
if (benchmarkBackupFile != null) {
|
||||
inputFile.set(File(benchmarkBackupFile))
|
||||
}
|
||||
}
|
||||
variant.sources.assets?.addGeneratedSourceDirectory(taskProvider) { it.outputDir }
|
||||
}
|
||||
}
|
||||
|
||||
val releaseDir = "$projectDir/src/release/java"
|
||||
@@ -597,6 +595,7 @@ dependencies {
|
||||
ktlintRuleset(libs.ktlint.twitter.compose)
|
||||
coreLibraryDesugaring(libs.android.tools.desugar)
|
||||
|
||||
implementation(project(":lib:archive"))
|
||||
implementation(project(":lib:libsignal-service"))
|
||||
implementation(project(":lib:paging"))
|
||||
implementation(project(":core:util"))
|
||||
@@ -616,6 +615,7 @@ dependencies {
|
||||
implementation(project(":core:models-jvm"))
|
||||
implementation(project(":feature:camera"))
|
||||
implementation(project(":feature:registration"))
|
||||
implementation(project(":lib:apng"))
|
||||
|
||||
implementation(libs.androidx.fragment.ktx)
|
||||
implementation(libs.androidx.appcompat) {
|
||||
@@ -657,6 +657,7 @@ dependencies {
|
||||
implementation(libs.androidx.concurrent.futures)
|
||||
implementation(libs.androidx.autofill)
|
||||
implementation(libs.androidx.biometric)
|
||||
implementation(libs.androidx.core.telecom)
|
||||
implementation(libs.androidx.sharetarget)
|
||||
implementation(libs.androidx.profileinstaller)
|
||||
implementation(libs.androidx.asynclayoutinflater)
|
||||
@@ -691,7 +692,6 @@ dependencies {
|
||||
implementation(libs.android.tooltips) {
|
||||
exclude(group = "com.android.support", module = "appcompat-v7")
|
||||
}
|
||||
implementation(libs.stream)
|
||||
implementation(libs.lottie)
|
||||
implementation(libs.lottie.compose)
|
||||
implementation(libs.signal.android.database.sqlcipher)
|
||||
@@ -749,6 +749,7 @@ dependencies {
|
||||
testImplementation(testFixtures(project(":lib:libsignal-service")))
|
||||
testImplementation(testLibs.espresso.core)
|
||||
testImplementation(testLibs.kotlinx.coroutines.test)
|
||||
testImplementation(testLibs.sqlite.jdbc)
|
||||
testImplementation(libs.androidx.compose.ui.test.junit4)
|
||||
|
||||
"perfImplementation"(libs.androidx.compose.ui.test.manifest)
|
||||
@@ -915,3 +916,27 @@ abstract class CopyQuickstartCredentialsTask : DefaultTask() {
|
||||
chosen.copyTo(dest.resolve(chosen.name), overwrite = true)
|
||||
}
|
||||
}
|
||||
|
||||
abstract class CopyBenchmarkBackupTask : DefaultTask() {
|
||||
@get:InputFile
|
||||
@get:Optional
|
||||
abstract val inputFile: RegularFileProperty
|
||||
|
||||
@get:OutputDirectory
|
||||
abstract val outputDir: DirectoryProperty
|
||||
|
||||
@TaskAction
|
||||
fun copy() {
|
||||
val dest = outputDir.get().asFile.resolve("backups")
|
||||
dest.mkdirs()
|
||||
|
||||
if (!inputFile.isPresent) {
|
||||
logger.lifecycle("benchmark.backup.file is not set in local.properties. Benchmark tests using backup data will crash at runtime.")
|
||||
return
|
||||
}
|
||||
|
||||
val backupFile = inputFile.get().asFile
|
||||
logger.lifecycle("Using benchmark backup: ${backupFile.absolutePath} (${backupFile.length() / 1024}KB)")
|
||||
backupFile.copyTo(dest.resolve("backup.binproto"), overwrite = true)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26454,61 +26454,6 @@
|
||||
column="7"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="Recycle"
|
||||
message="This `Cursor` should be freed up after use with `#close()`"
|
||||
errorLine1=" Cursor mmsCursor = db.query("mms", new String[] {"_id"},"
|
||||
errorLine2=" ~~~~~">
|
||||
<location
|
||||
file="src/main/java/org/thoughtcrime/securesms/database/helpers/ClassicOpenHelper.java"
|
||||
line="298"
|
||||
column="38"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="Recycle"
|
||||
message="This `Cursor` should be freed up after use with `#close()`"
|
||||
errorLine1=" Cursor partCursor = db.query("part", new String[] {"_id", "ct", "_data", "encrypted"},"
|
||||
errorLine2=" ~~~~~">
|
||||
<location
|
||||
file="src/main/java/org/thoughtcrime/securesms/database/helpers/ClassicOpenHelper.java"
|
||||
line="310"
|
||||
column="32"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="Recycle"
|
||||
message="This `Cursor` should be freed up after use with `#close()`"
|
||||
errorLine1=" Cursor threadCursor = db.query("thread", new String[] {"_id"}, null, null, null, null, null);"
|
||||
errorLine2=" ~~~~~">
|
||||
<location
|
||||
file="src/main/java/org/thoughtcrime/securesms/database/helpers/ClassicOpenHelper.java"
|
||||
line="708"
|
||||
column="32"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="Recycle"
|
||||
message="This `Cursor` should be freed up after use with `#close()`"
|
||||
errorLine1=" Cursor cursor = db.rawQuery("SELECT DISTINCT date AS date_received, status, " +"
|
||||
errorLine2=" ~~~~~~~~">
|
||||
<location
|
||||
file="src/main/java/org/thoughtcrime/securesms/database/helpers/ClassicOpenHelper.java"
|
||||
line="713"
|
||||
column="28"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="Recycle"
|
||||
message="This `Cursor` should be freed up after use with `#close()`"
|
||||
errorLine1=" cursor = db.query("mms", new String[] {"_id", "network_failures"}, "network_failures IS NOT NULL", null, null, null, null);"
|
||||
errorLine2=" ~~~~~">
|
||||
<location
|
||||
file="src/main/java/org/thoughtcrime/securesms/database/helpers/ClassicOpenHelper.java"
|
||||
line="1037"
|
||||
column="19"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="ObsoleteSdkInt"
|
||||
message="Unnecessary; SDK_INT is always >= 21"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user