[android-developers] Re: Got the Pairing Consent on non Android.Thing device (Mobile Phone)

2021-01-12 Thread Denis Kotov
Also I wondering why I get Pairing Consent status on Android Mobile Phone ?? Seems like Pairing Consent should be provided on Android,Things device ... Am I right ? On Monday, January 4, 2021 at 6:58:07 PM UTC+2 Denis Kotov wrote: > Here StackTrace fro the error: > ``` > java.lang.SecurityExc

[android-developers] Re: Got the Pairing Consent on non Android.Thing device (Mobile Phone)

2021-01-04 Thread Denis Kotov
Here StackTrace fro the error: ``` java.lang.SecurityException: Need BLUETOOTH PRIVILEGED permission: Neither user 15005 nor current process has android.permission.BLUETOOTH_PRIVILEGED. at android.os.Parcel.createException(Parcel.java:1953) at android.os.Parcel.readException(Parcel.java:1921)

[android-developers] Re: Got the Pairing Consent on non Android.Thing device (Mobile Phone)

2021-01-04 Thread Denis Kotov
For crashing on SetpairingConfirmation it seems like it happens due to: ``` Exception of type 'System.NotImplementedException' was thrown ``` But it is strange because I checked version of Sdk: ``` if (Build.VERSION.SdkInt >= BuildVersionCodes.Kitkat) ``` On Monday, January 4, 2021 at 6:41:34 PM U