diff options
author | Jeff Brown <jeffbrown@google.com> | 2013-11-07 00:38:14 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2013-11-07 16:07:18 -0800 |
commit | 635e91529681587a65ca05cf27d5de78b368ead7 (patch) | |
tree | a4ba23ce0c5bfd2f72df69333edc27cab7cd527c /packages/SystemUI/res/values/strings.xml | |
parent | 69b07161bebdb2c726e3a826c2268866f1a94517 (diff) | |
download | frameworks_base-635e91529681587a65ca05cf27d5de78b368ead7.zip frameworks_base-635e91529681587a65ca05cf27d5de78b368ead7.tar.gz frameworks_base-635e91529681587a65ca05cf27d5de78b368ead7.tar.bz2 |
Integrate remote display providers into Quick Settings.
This is a first pass at integrating new remote display functionality
into Quick Settings. The Wireless Display card which previously
only supported Wifi Display is reimplemented to use the media router
to enumerate available remote display routes. This ensures that the
user is presented with a consistent state regarding the currently
selected display route.
In this patch, the Wireless Display card still launches the old
Settings preference page for Wifi Display when clicked. This will be
addressed in future patches.
As part of this change, it was necessary to derive some new lifecycle
information regarding the visibility of the Quick Settings model.
When Quick Settings is shown, an onPrepare event is delivered to
give the model a chance to update its state. Likewise when Quick
Settings is hidden, an onUnprepare event is delivered.
These events allow the system to determine precisely when remote
display discovery is required to update the UI so as not to waste
power performing discovery in the background all of the time.
Bug: 11257292
Change-Id: Id802aa0983b625aeb972b5d123e4cc080dd6705f
Diffstat (limited to 'packages/SystemUI/res/values/strings.xml')
-rw-r--r-- | packages/SystemUI/res/values/strings.xml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index e6fcdff..e36ca8e 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -490,10 +490,8 @@ <string name="quick_settings_wifi_no_network">No Network</string> <!-- QuickSettings: Wifi (Off) [CHAR LIMIT=NONE] --> <string name="quick_settings_wifi_off_label">Wi-Fi Off</string> - <!-- QuickSettings: Wifi display [CHAR LIMIT=NONE] --> - <string name="quick_settings_wifi_display_label">Wi-Fi Display</string> - <!-- QuickSettings: Wifi display [CHAR LIMIT=NONE] --> - <string name="quick_settings_wifi_display_no_connection_label">Wireless Display</string> + <!-- QuickSettings: Remote display [CHAR LIMIT=NONE] --> + <string name="quick_settings_remote_display_no_connection_label">Cast Screen</string> <!-- QuickSettings: Brightness dialog title [CHAR LIMIT=NONE] --> <string name="quick_settings_brightness_dialog_title">Brightness</string> <!-- QuickSettings: Brightness dialog auto brightness button [CHAR LIMIT=NONE] --> |