OSDN Git Service

Suppress output for Protobuf data if Bluetooth is disabled
authorPavlin Radoslavov <pavlin@google.com>
Tue, 23 Feb 2016 19:54:37 +0000 (11:54 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 24 Feb 2016 18:41:53 +0000 (18:41 +0000)
commit6e8fafff7731e6a2c13342eebc9b5078b7d5021f
tree40cc5a0d3342e05f5d95c97bf6d24a6dd925785c
parent8a6aea047ddc484a9f3cc769c771f73ae2553ff6
Suppress output for Protobuf data if Bluetooth is disabled

If Bluetooth is disabled or there is some other error,
don't print anything when extracting the Metrics-related data
in Protobuf format.

[Cherry-pick from AOSP]

Bug: 27315491
Change-Id: Ic1ec5334fbf0b524909400f080e2eac3ec34edf4
services/core/java/com/android/server/BluetoothManagerService.java