diff --git a/Android.mk b/Android.mk index 09556718f16..dedda011ccc 100644 --- a/Android.mk +++ b/Android.mk @@ -1,7 +1,7 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := user development +LOCAL_MODULE_TAGS := user LOCAL_SRC_FILES := $(call all-java-files-under, src) diff --git a/res/values/strings.xml b/res/values/strings.xml index 8707dd88383..24dda75f10d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -812,9 +812,15 @@ Animation - Show animation when opening/closing windows + Show animation when opening & closing windows - Show animation when opening/closing windows + Show animation when opening & closing windows + + Orientation + + Switch orientation automatically when rotating phone + + Switch orientation automatically when rotating phone Brightness diff --git a/res/xml/sound_and_display_settings.xml b/res/xml/sound_and_display_settings.xml index 2aa44c83797..c8a93605409 100644 --- a/res/xml/sound_and_display_settings.xml +++ b/res/xml/sound_and_display_settings.xml @@ -97,13 +97,18 @@ + + - sinks = mService.listConnectedSinks(); + if (sinks != null) { + for (String sinkAddress : sinks) { + mService.disconnectSink(sinkAddress); + } + } return mService.connectSink(address); }