This fragment class is created to display Wifi tether settings, Usb
tether settings and bluetooth tether settings within the single "Hotspot &
tethering" screen. By creating a new fragemnt, we can safely change the
UI by replace fragment name in xml file.
Right now, it only supports wifi tether settings and mostly copied from
WifiTetherSettings.java.
Bug: 146447611
Test: AllInOneTetherSettingsTest is created and run.
Change-Id: Icdac0d4930451e6956dbf6ef0f4b65bce96fed3f
Add LinkifyUtilTest file to enlarge the test coverage in WiFi Settings.
Bug:147325788
Test: Add test file LinkifyUtilsTest to test LinkifyUtils function.
Change-Id: I6654432e7ce49dba7ffb10fa70c3ba968c1fa9f3
am skip reason: Change-Id I25cc9dc0912564b8d6f8b23b53f3eb20a51eea32 with SHA-1 bb53dd5f93 is in history
Change-Id: I4f5a0e92cf34f8a3cc27673f133f3730b10ec154
am skip reason: Change-Id Ib39ab1881484f65bc5a3834b2828c6ba98198cca with SHA-1 717e0765a5 is in history
Change-Id: Ie91fb45a508a24d6ceb7c9d31114cc848af9d6a7
* Updated FrameLayout of work profile lock in Settings to use GlifLayout
* Removed old background image of work profile lock
* Updated text for PIN, password and pattern
* Added enterprise logo to work profile lock
Bug: 141290838
Test: Manual testing
atest com.android.settings.password
Change-Id: Ie09974857b6c76a182a8075b9e1964a2e0af0de9
1. Replace the detection of screen on
2. Refactor updateCell method
Bug: 147263514
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=NetworkSelectSettingsTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=NetworkOperatorPreferenceTest
Change-Id: I1ae3ee4d1b62b488aeb2163f42878697b770be65
Replace getSimOperator() by having SubscriptionInfo
from ProxySubscriptionManager#getActiveSubscriptionInfo().
Bug: 144263441
Test: Manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ApnEditorTest
Change-Id: I132b352dfb50a9cd3a2ddd21b347177ac0332740
Merged-In: I25cc9dc0912564b8d6f8b23b53f3eb20a51eea32
Show scary dialog only once when toggle shortcut preference and use
service.
Fix: b/142532185
Test: manual test
Change-Id: Ic36fdd5eec8ec20ead79ce47cd5e5e19d2ef5768
Remove constant security type definition and use
Wificonfiguration.Authtype() to judage same Config or not
Bug: 147258501
Test: Just change constant, so only manually check.
Change-Id: Ib6397f9b6deeec3595b51b8243e35993867460e5
These controllers are responsible for persisting preference values and
managing the visibility and switch state. TetherEnabler will be
listening to changes of shared prefernce values and turn on/off
corresponding type of tethering when tethering is on at that time.
Bug: 146582865
Test: tests are created for each controller class.
Change-Id: I7e601b2bd693da59269517d2988bade7475e7f12
The checkbox position of shortcut preference is not consistent with
others internal components.
Bug: b/147270184
Bug: b/142530063
Fix: b/147270184
Test: manual test
Change-Id: Ie1c2e5909e814180ff731c5bf0b362f6f1489dec
Add the check condition in the getNonIndexableKeys to
check if the FaceManager exist or not.
Fixes: 147076221
Test: manual
Change-Id: I898c936403ce90869a9da28aa14297eb6bf5d730
- Implement onCheckboxClicked() to save shortcut key
- restore shortcut key when onViewCreated()
- Use preferredShortcutType to handle settings key
Bug: 142530063
Test: make -j52 RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityUtilTest
Change-Id: Iabe636641968d346e52becea19b6e201ea5bc1fb
This feature allows users to specify if a Wi-Fi network
will be auto connected after disconnection.
Bug: 136472407
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiAutoConnectPreferenceController2Test
Change-Id: I8a7c02ba3fc4cbfbfb431fa99c42279ca29e9492
- Top waste app is linux process not android process. Therefore
it doesn't contains application label. Fixed by return the process
name if packages label is empty.
Fixes: 146558570
Test: follow the steps:
1. adb shell settings put global battery_tip_constants test_low_battery_tip=true
2. Unplug usb. Go to Settings -> Battery, it should show an item
"Phone used more than usual"
3. Click "phone used more than usual" item, all the items should
have title and icon.
Change-Id: I85c232bc6a048b3104c4fce0fcec2b944e8ac1b4
Fixes: 144909960
Test: adb shell am start --user 10 -a
android.settings.USAGE_ACCESS_SETTINGS should start Settings and
focus on work tab.
Change-Id: I3473d74e73e3b9e8a8bbaf83065a28a4b964e8ac