Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
98dbd488
Commit
98dbd488
authored
Mar 28, 2019
by
Ahmed Ashour
Committed by
skylot
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: better logging (#528)
parent
55fc4983
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
EntryConfig.java
...ore/src/main/java/jadx/core/xmlgen/entry/EntryConfig.java
+5
-5
No files found.
jadx-core/src/main/java/jadx/core/xmlgen/entry/EntryConfig.java
View file @
98dbd488
...
...
@@ -72,27 +72,27 @@ public class EntryConfig {
short
screenHeightDp
,
char
[]
localeScript
,
char
[]
localeVariant
,
byte
screenLayout2
,
byte
colorMode
,
boolean
isInvalid
,
int
size
)
{
if
(
orientation
<
0
||
orientation
>
3
)
{
LOG
.
warn
(
"Invalid orientation value:
"
+
orientation
);
LOG
.
warn
(
"Invalid orientation value:
{}"
,
orientation
);
orientation
=
0
;
isInvalid
=
true
;
}
if
(
touchscreen
<
0
||
touchscreen
>
3
)
{
LOG
.
warn
(
"Invalid touchscreen value:
"
+
touchscreen
);
LOG
.
warn
(
"Invalid touchscreen value:
{}"
,
touchscreen
);
touchscreen
=
0
;
isInvalid
=
true
;
}
if
(
density
<
-
1
)
{
LOG
.
warn
(
"Invalid density value:
"
+
density
);
LOG
.
warn
(
"Invalid density value:
{}"
,
density
);
density
=
0
;
isInvalid
=
true
;
}
if
(
keyboard
<
0
||
keyboard
>
3
)
{
LOG
.
warn
(
"Invalid keyboard value:
"
+
keyboard
);
LOG
.
warn
(
"Invalid keyboard value:
{}"
,
keyboard
);
keyboard
=
0
;
isInvalid
=
true
;
}
if
(
navigation
<
0
||
navigation
>
4
)
{
LOG
.
warn
(
"Invalid navigation value:
"
+
navigation
);
LOG
.
warn
(
"Invalid navigation value:
{}"
,
navigation
);
navigation
=
0
;
isInvalid
=
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment