I get this error: "Sewage handler: main thread exiting due to java.lang.VerifyError uncaught exception"
This only happens on 1.6. Android 2.0 and above do not have any problems, but this is important.
I cannot catch the error / exception (VerifyError), and I know that this is caused by calling isInitialStickyBroadcast (), which is not available in SDK 4, so it was completed in SDK check. I just need this BroadcastReceiver to work on 2.0+, and not for a break of 1.6, this is an application on the market, the UNDOCK function is needed for users with 2.0+, but obviously not in 1.6, but the number of users is still at 1.6.
How to fix?
Thanks!
private BroadcastReceiver mUndockedReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) {
source share