Hi, I am tracing down a "hang and reboot" issue. Gallery send file via
bluetooth, initial device select state in discovering. I found that
during a good case (not hanging and reboo) it will have
V/BluetoothEventRedirector( 2520): Received
android.bluetooth.adapter.action.DISCOVERY_FINISHED
Tracing on the sending side (BluetoothEvenloop.java) it hit
intent = new
Intent(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);
mContext.sendBroadcast(intent, BLUETOOTH_PERM);
On BluetoothEventRedirector.java
filter.addAction(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);
mManager.getContext().registerReceiver(mBroadcastReceiver,
filter);
In good case BluetoothEventRedirector will receive
android.bluetooth.adapter.action.DISCOVERY_FINISHED
In bad case, it didn't.
One thing I don't understand is the broadcast receiver register
without permission but the broadcast sender use permission?
Any suggestion? Tool to debug broadcase (e.g. who received it?).
Cheers, Ed
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en