diff options
author | Eric Laurent <elaurent@google.com> | 2012-10-29 17:56:46 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-10-30 10:41:46 -0700 |
commit | f892bc856c6780187db62681d59ca538a173590f (patch) | |
tree | a50aed970514d28a65f09756dd1aced9978c3dc0 /res | |
parent | c2c9d5bde11113d3fc86f1ea25b41e7446e3d833 (diff) | |
download | packages_apps_settings-f892bc856c6780187db62681d59ca538a173590f.zip packages_apps_settings-f892bc856c6780187db62681d59ca538a173590f.tar.gz packages_apps_settings-f892bc856c6780187db62681d59ca538a173590f.tar.bz2 |
display audio dialog when connecting low end dock
Display a dialog to enable the use of the dock audio connection
when a low end dock is connected for the first time.
Modify DockService to process docked and undocked messages even if
the device indicated is null (meaning the dock is not a bluetooth dock)
only for low end docks.
Bug 7302106.
Change-Id: I331d83a74fecf5f26b24bfc178342df414bd8153
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/dock_audio_media_enable_dialog.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/res/layout/dock_audio_media_enable_dialog.xml b/res/layout/dock_audio_media_enable_dialog.xml new file mode 100644 index 0000000..37ecdfe --- /dev/null +++ b/res/layout/dock_audio_media_enable_dialog.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<CheckBox + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/dock_audio_media_enable_cb" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_dock_settings_a2dp" + android:focusable="true" + android:clickable="true" /> |