SettingsBackupAgent will send out the notification itself instead of delegating it to WifiManager. Bug: 144218444 Test: Removed AP Band conversion check to always trigger notification when restoring from backup. Follow steps at: https://developer.android.com/guide/topics/data/testingbackup Verified that notification is displayed when restoring from backup. Verified that expanding notification by dragging down shows full notification text. Verified tapping on the notification opens the tethering Settings page, and also dismissed the notification. Change-Id: I729b1cbf443229687c086982d51b96f326b534e1
38 lines
1.7 KiB
XML
38 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/**
|
|
* Copyright (c) 2007, 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.
|
|
*/
|
|
-->
|
|
<resources>
|
|
<!-- Name of the activity for Settings storage. -->
|
|
<string name="app_label">Settings Storage</string>
|
|
|
|
<!-- A notification is shown when the user's softap config has been changed due to underlying
|
|
hardware restrictions. This is the notifications's title.
|
|
[CHAR_LIMIT=NONE] -->
|
|
<string name="wifi_softap_config_change">Changes to your hotspot settings</string>
|
|
|
|
<!-- A notification is shown when the user's softap config has been changed due to underlying
|
|
hardware restrictions. This is the notification's summary message.
|
|
[CHAR_LIMIT=NONE] -->
|
|
<string name="wifi_softap_config_change_summary">Your hotspot band has changed.</string>
|
|
|
|
<!-- A notification is shown when the user's softap config has been changed due to underlying
|
|
hardware restrictions. This is the notification's full message.
|
|
[CHAR_LIMIT=NONE] -->
|
|
<string name="wifi_softap_config_change_detailed">This device doesn\u2019t support your preference for 5GHz only. Instead, this device will use the 5GHz band when available.</string>
|
|
</resources>
|