Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e2ff8436 authored by Kihong Seong's avatar Kihong Seong
Browse files

Fix permission issue in GattService.clientConnect

Using `ActivityManager.getPackageImportance` instead of
`ActivityManager.getUidImportance` to fix permission issue when checking
foreground information during BLE connection. Also changing for server
connect.

Bug: 306525416
Test: atest BluetoothInstrumentationTests
Change-Id: I86e2cfd1d4503c9509922f5d0573d1543bcc1280
parent ce7714ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment