1 | static int isAndroid_flag; |
2 | |
3 | static boolean isAndroid() { |
4 | if (isAndroid_flag == 0) |
5 | isAndroid_flag = System.getProperty("java.vendor").toLowerCase().indexOf("android") >= 0 ? 1 : -1; |
6 | ret isAndroid_flag > 0; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 22 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jozkyjcghlvl, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, nazvggbglmsf, odhhsrjjbcgr, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1000864 |
Snippet name: | isAndroid |
Eternal ID of this version: | #1000864/1 |
Text MD5: | 3739c555384e83c779a78041700d6fd1 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-08 17:59:42 |
Source code size: | 222 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 836 / 7959 |
Referenced in: | [show references] |