Samsung crash quick-n-dirty fix
This commit is contained in:
parent
e443871785
commit
833dc7f783
@ -98,7 +98,7 @@ public class SplashScreen extends CordovaPlugin {
|
|||||||
if (drawableId == 0) {
|
if (drawableId == 0) {
|
||||||
drawableId = cordova.getActivity().getResources().getIdentifier(splashResource, "drawable", cordova.getActivity().getPackageName());
|
drawableId = cordova.getActivity().getResources().getIdentifier(splashResource, "drawable", cordova.getActivity().getPackageName());
|
||||||
}
|
}
|
||||||
preferences.set("SplashDrawableId", drawableId);
|
//preferences.set("SplashDrawableId", drawableId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user