diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-06-13 07:47:13 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-06-13 07:47:13 -0400 |
| commit | 00401f74098e2d37503fc038ee62480907112263 (patch) | |
| tree | 6bca506cc66257f980f00da4090367d304548912 /www/js/app.js | |
| parent | ba98b8bb91a1e7748842ae3b377aa39a3b1c6e37 (diff) | |
#647 force exit always for android
Diffstat (limited to 'www/js/app.js')
| -rwxr-xr-x | www/js/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index f5be3d1e..516b11a1 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1954,6 +1954,10 @@ angular.module('zmApp', [ var ld = NVRDataModel.getLogin(); + if ($rootscope.platformOS == "android") { + NVRDataModel.log("force exiting app since its android"); + navigator.app.exitApp(); + } |
