Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

android.view.WindowManager was not imported #152

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/lib/JavaActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function(enable) {
JavaActivity.prototype.enableKeepScreenOn =
function(enable) {

return this.editOnCreate(enable, " getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);");
return this.editOnCreate(enable, " getWindow().addFlags(android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);");
};

/**
Expand Down
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
cache:
- C:\apache-ant-1.9.7-bin.zip
- C:\apache-ant-1.9.9-bin.zip

environment:
matrix:
- ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
ANT_HOME: C:\apache-ant-1.9.7
ANT_HOME: C:\apache-ant-1.9.9
TEST_SCRIPT: "nodeunit_test"
- WIX_HOME: C:\Program Files (x86)\WiX Toolset v3.10
TEST_SCRIPT: "windows_test"
- ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
ANT_HOME: C:\apache-ant-1.9.7
ANT_HOME: C:\apache-ant-1.9.9
TEST_SCRIPT: "android_test_32bit"
- ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
ANT_HOME: C:\apache-ant-1.9.7
ANT_HOME: C:\apache-ant-1.9.9
TEST_SCRIPT: "android_test_64bit"

install:
- cd \
- ps: "[Net.ServicePointManager]::SecurityProtocol = 'Tls12'"
- appveyor DownloadFile http://www.eu.apache.org/dist/ant/binaries/apache-ant-1.9.7-bin.zip
- 7z x apache-ant-1.9.7-bin.zip > nul
- appveyor DownloadFile http://www.eu.apache.org/dist/ant/binaries/apache-ant-1.9.9-bin.zip
- 7z x apache-ant-1.9.9-bin.zip > nul
- md lzma
- cd lzma
- appveyor DownloadFile http://www.7-zip.org/a/lzma1514.7z
Expand Down