Java Code Examples for android.os.Bundle#getClassLoader()
The following examples show how to use
android.os.Bundle#getClassLoader() .
These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: PluginLoader File: PluginReceiverIntent.java License: Apache License 2.0 | 5 votes |
@TargetApi(Build.VERSION_CODES.HONEYCOMB) @Override public void setExtrasClassLoader(ClassLoader loader) { Bundle extra = getExtras(); if (extra != null) { loader = extra.getClassLoader(); } super.setExtrasClassLoader(loader); }
Example 2
Source Project: Android-Plugin-Framework File: PluginReceiverIntent.java License: MIT License | 5 votes |
@Override public void setExtrasClassLoader(ClassLoader loader) { if (Build.VERSION.SDK_INT > 11) { Bundle extra = getExtras(); if (extra != null) { loader = extra.getClassLoader(); } } super.setExtrasClassLoader(loader); }