Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
briar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
briar
Merge requests
!1183
Fix PNG compression on some phones
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix PNG compression on some phones
1636-compression-failure
into
master
Overview
15
Commits
10
Pipelines
13
Changes
200
Merged
Torsten Grote
requested to merge
1636-compression-failure
into
master
5 years ago
Overview
15
Commits
10
Pipelines
13
Changes
200
Expand
Closes
#1636 (closed)
Edited
5 years ago
by
akwizgran
1
0
Merge request reports
Compare
master
version 15
26144c18
5 years ago
version 14
bffbd208
5 years ago
version 13
c9f0cc2f
5 years ago
version 12
0a701930
5 years ago
version 11
2e496f61
5 years ago
version 10
5730e830
5 years ago
version 9
11225112
5 years ago
version 8
a7a7d4b1
5 years ago
version 7
e6320a2d
5 years ago
version 6
34c2c27a
5 years ago
version 5
34c2c27a
5 years ago
version 4
cca4c877
5 years ago
version 3
cca4c877
5 years ago
version 2
99accc6f
5 years ago
version 1
99accc6f
5 years ago
master (base)
and
latest version
latest version
5af7bbb2
10 commits,
5 years ago
version 15
26144c18
9 commits,
5 years ago
version 14
bffbd208
9 commits,
5 years ago
version 13
c9f0cc2f
9 commits,
5 years ago
version 12
0a701930
9 commits,
5 years ago
version 11
2e496f61
8 commits,
5 years ago
version 10
5730e830
6 commits,
5 years ago
version 9
11225112
5 commits,
5 years ago
version 8
a7a7d4b1
4 commits,
5 years ago
version 7
e6320a2d
3 commits,
5 years ago
version 6
34c2c27a
2 commits,
5 years ago
version 5
34c2c27a
43 commits,
5 years ago
version 4
cca4c877
2 commits,
5 years ago
version 3
cca4c877
2 commits,
5 years ago
version 2
99accc6f
13 commits,
5 years ago
version 1
99accc6f
2 commits,
5 years ago
200 files
+
245
−
68
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
200
Search (e.g. *.vue) (Ctrl+P)
bramble-android/src/main/java/org/briarproject/bramble/util/AndroidUtils.java
+
11
−
0
Options
@@ -106,4 +106,15 @@ public class AndroidUtils {
public
static
File
getReportDir
(
Context
ctx
)
{
return
ctx
.
getDir
(
STORED_REPORTS
,
MODE_PRIVATE
);
}
/**
* Returns an array of supported content types for image attachments.
* GIFs can't be compressed on API < 24 so they're not supported.
* <p>
* TODO: Remove this restriction when large message support is added
*/
public
static
String
[]
getSupportedImageContentTypes
()
{
if
(
SDK_INT
<
24
)
return
new
String
[]
{
"image/jpeg"
,
"image/png"
};
else
return
new
String
[]
{
"image/jpeg"
,
"image/png"
,
"image/gif"
};
}
}
Loading