OSDN Git Service

Settings: Convert notifications to use NotificationChannel (2/2)
authorHemant Gupta <hemantg@codeaurora.org>
Tue, 16 May 2017 09:57:33 +0000 (15:27 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 19 May 2017 23:33:29 +0000 (23:33 +0000)
commit7bec5bf8952a53f5dfb3ea7180d1ecfcdb839e2d
treed0f2604de785bd3f7e6389a3eba73e66ff66f4e5
parent11e7781b32c7b0cdbbd33e055068f8b6cbeeb0f9
Settings: Convert notifications to use NotificationChannel (2/2)

Test Setup:
===========
HW DUT: Pixel O
Remote: MecApp (PBAP Client, MAP Client, SAP Client)

Steps:
=====
1. Enable BT on DUT and bond with Remote.
2. Connect from MecApp for PBAP, MAP, SAP and observe if
   connection goes through fine.

Reproducibility:
===============
5/5

Observation:
============
MAP, PBAP and SAP cannot be connected.

Root cause:
In Android O, notifications are hidden by default.
This must be changed to use notification channels so that the
priority of the notifications can be updated.

Test: PBAP/MAP/SAP connection works fine with MecApp.

Bug: 38331825
Change-Id: I51de0ea303037bf88773352d99f092673acda2e3
(cherry picked from commit bd9f532013f0397879101f68f21ac8841fec344b)
src/com/android/settings/bluetooth/BluetoothPermissionRequest.java