Skip to content

Commit

Permalink
Merge pull request #65 from euforic/TIMOB-15738
Browse files Browse the repository at this point in the history
[TIMOB-15738] add property to fix android reload issue
  • Loading branch information
Michael Xia committed Nov 21, 2013
2 parents 434410b + 12cbcff commit 50ff0af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/liveview.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ Module.patch = function (globalCtx, url, port) {
Module._requireNative = globalCtx.require;
Module.evtServer && Module.evtServer.close();

// FIX for android bug
Ti.App.Properties.setBool('ti.android.bug2373.finishfalseroot', false)

globalCtx.localeStrings = Module.require('localeStrings');
globalCtx.L = function (name, filler) {
return (globalCtx.localeStrings[Ti.Locale.currentLanguage] || {})[name] || filler || name;
Expand Down
5 changes: 4 additions & 1 deletion build/liveview.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/platform/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ Module.patch = function (globalCtx, url, port) {
Module._requireNative = globalCtx.require;
Module.evtServer && Module.evtServer.close();

// FIX for android bug
Ti.App.Properties.setBool('ti.android.bug2373.finishfalseroot', false)

globalCtx.localeStrings = Module.require('localeStrings');
globalCtx.L = function (name, filler) {
return (globalCtx.localeStrings[Ti.Locale.currentLanguage] || {})[name] || filler || name;
Expand Down

0 comments on commit 50ff0af

Please sign in to comment.