Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
42138488
Commit
42138488
authored
Aug 01, 2019
by
Jeffrey I. Schiller
Committed by
Evan W. Patton
Aug 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don’t require WiFi for the Emulator
Change-Id: I5376ce35f0b858b11563c903a32c820e25f1aa2d
parent
e149fc89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
appinventor/buildserver/src/com/google/appinventor/buildserver/Compiler.java
...rver/src/com/google/appinventor/buildserver/Compiler.java
+5
-1
No files found.
appinventor/buildserver/src/com/google/appinventor/buildserver/Compiler.java
View file @
42138488
...
@@ -827,8 +827,12 @@ public final class Compiler {
...
@@ -827,8 +827,12 @@ public final class Compiler {
out
.
write
(
" <uses-feature android:name=\"android.hardware.touchscreen\" android:required=\"false\" />\n"
);
out
.
write
(
" <uses-feature android:name=\"android.hardware.touchscreen\" android:required=\"false\" />\n"
);
out
.
write
(
" <uses-feature android:name=\"android.hardware.camera\" android:required=\"false\" />\n"
);
out
.
write
(
" <uses-feature android:name=\"android.hardware.camera\" android:required=\"false\" />\n"
);
out
.
write
(
" <uses-feature android:name=\"android.hardware.camera.autofocus\" android:required=\"false\" />\n"
);
out
.
write
(
" <uses-feature android:name=\"android.hardware.camera.autofocus\" android:required=\"false\" />\n"
);
if
(
isForEmulator
)
{
out
.
write
(
" <uses-feature android:name=\"android.hardware.wifi\" android:required=\"false\" />\n"
);
// We actually require wifi
}
else
{
out
.
write
(
" <uses-feature android:name=\"android.hardware.wifi\" />\n"
);
// We actually require wifi
out
.
write
(
" <uses-feature android:name=\"android.hardware.wifi\" />\n"
);
// We actually require wifi
}
}
}
int
minSdk
=
Integer
.
parseInt
((
project
.
getMinSdk
()
==
null
)
?
DEFAULT_MIN_SDK
:
project
.
getMinSdk
());
int
minSdk
=
Integer
.
parseInt
((
project
.
getMinSdk
()
==
null
)
?
DEFAULT_MIN_SDK
:
project
.
getMinSdk
());
if
(!
isForCompanion
)
{
if
(!
isForCompanion
)
{
...
...
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