From 44bbba24634970e0ed1d4a8a5b33a14b4d920c13 Mon Sep 17 00:00:00 2001 From: Mirodil Date: Wed, 26 Jul 2017 11:10:12 -0400 Subject: [PATCH 1/2] android.view.WindowManager was not imported Because android.view.WindowManager was not imported, I have added package name directly before class name --- android/lib/JavaActivity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/lib/JavaActivity.js b/android/lib/JavaActivity.js index 5e80ef6..69df62a 100644 --- a/android/lib/JavaActivity.js +++ b/android/lib/JavaActivity.js @@ -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);"); }; /** From 6a46ff753716fa4f88f0b3ea60c373c93bdbfd13 Mon Sep 17 00:00:00 2001 From: Mirodil Date: Wed, 26 Jul 2017 11:24:09 -0400 Subject: [PATCH 2/2] update version of ant because previous version was not found update version of ant because previous version was not found --- appveyor.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 1267bb8..5d7815b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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