0

I'm using BugSense in by application to get error reports. Today I got this stack trace.

java.lang.SecurityException: Calling uid 10104 gave packageandroid which is owned by uid 1000
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at android.bluetooth.IBluetooth$Stub$Proxy.disable(IBluetooth.java:632)
at android.bluetooth.BluetoothAdapter.disable(BluetoothAdapter.java:569)

That is my application is trying to disable Bluetooth after asking the user. The code is executed in a handler if that matters.

I have Bluetooth admin permission set:

<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>

So what I'm I doing wrong?

tidbeck
  • 2,363
  • 24
  • 35
  • If it was a one-time error on one device and it works in all of your test cases, it's possible it was not a coding error. Possibly they have a custom rom or it was just a random error really caused by Android. And what is the exact code that is causing the error? – Reed Dec 21 '11 at 12:41
  • @Jakar Ok, I will put this on hold for now then. I will see if I can add some more code to the question. Could you give me any more insight to why this might happen? – tidbeck Dec 21 '11 at 13:49
  • I honestly do not know. I have no experience with the bluetooth. I just know that I once had a custom rom on my phone which caused quite a lot of apps to force close without explanation. – Reed Dec 21 '11 at 13:58

0 Answers0