()
| 80 | } |
| 81 | |
| 82 | private int getSplashId() { |
| 83 | int drawableId = 0; |
| 84 | String splashResource = preferences.getString("SplashScreen", "screen"); |
| 85 | if (splashResource != null) { |
| 86 | drawableId = cordova.getActivity().getResources().getIdentifier(splashResource, "drawable", cordova.getActivity().getClass().getPackage().getName()); |
| 87 | if (drawableId == 0) { |
| 88 | drawableId = cordova.getActivity().getResources().getIdentifier(splashResource, "drawable", cordova.getActivity().getPackageName()); |
| 89 | } |
| 90 | } |
| 91 | return drawableId; |
| 92 | } |
| 93 | |
| 94 | @Override |
| 95 | protected void pluginInitialize() { |
no outgoing calls
no test coverage detected