Back to project page lildebi.
The source code is released under:
GNU General Public License
If you think the Android project lildebi listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package info.guardianproject.lildebi; //from w ww . j av a 2 s . c om import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; // This receiver tries to stopDebian when sdcard is present public class MediaEjectReceiver extends BroadcastReceiver { private LilDebiAction action; public void onReceive(Context context, Intent intent) { if (!NativeHelper.installInInternalStorage) { if (NativeHelper.isStarted()) { action = new LilDebiAction(context, null); action.stopDebian(); } LilDebi.sdcardUnmounted(); } } }