OSDN Git Service

AudioService: remove deprecated forcing of A2DP off
authorEric Laurent <elaurent@google.com>
Fri, 29 Jul 2016 21:20:28 +0000 (14:20 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 7 Sep 2016 14:47:12 +0000 (14:47 +0000)
commit0234587b1172a11929d17b05ef73ba14425edd65
tree2f3958f22c89822e24ca2e45eb1944790d56443c
parentb2e0ed87722ff975cb2974d8ab25f17a4f2ae4b3
AudioService: remove deprecated forcing of A2DP off

Forcing the policy to not use A2DP is not needed anymore now that
the cast icon does not expose A2DP choice anymore.
The corresponding AudioManager APIs have also been long deprecated.

Removing support for this feature which is replaced by newer routing
APIs.

Bug: 30963785

Change-Id: If98572742a8cf6388c1408d015c86dd445c5660b
(cherry picked from commit 0218f53108f578933c8d876364138d062b315a6b)
services/core/java/com/android/server/audio/AudioService.java