Weng Su
7686bf26dc
Merge "[Provider Model] View airplane mode networks button"
2021-01-15 08:32:59 +00:00
Weng Su
ee414fdc81
[Provider Model] View airplane mode networks button
...
- Airplane mode message
- WiFi Disable: “Airplane mode is on”
- WiFi Enabled: “Viewing airplane mode networks”
- “View airplane mode networks” button
- WiFi Disable: “View airplane mode networks”
- WiFi Enabled: hide button
- Screenshot
https://screenshot.googleplex.com/7PuKwaJMLpiDdKh
Bug: 177155647
Test: manual test
- atest ViewAirplaneModeNetworksLayoutPreferenceControllerTest
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I3222cb04a66d07681709cc95b729b5ecdf999298
2021-01-15 07:10:57 +00:00
Stanley Wang
b87ddba6cd
Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings.
...
To log Settings metrics, the MainSwitch extends MainSwitchBar and
replace the SwitchBar in SettingsActivity.
Bug: 175181773
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: I3add3702e9058ad9192b5172c7cf0e2ccfb55a70
2021-01-14 22:48:31 +08:00
Zoey Chen
cadf1b0267
[Provider Model] Modify the title and summary of airplane mode networks
...
Bug: 171874190
Test: manual
Change-Id: I7acd483616295c41bddc491145cbd5b1637e9b0c
2021-01-13 20:59:02 +08:00
Ben Chung
613ad3f88b
Merge "Accessibility settings interaction controls category restructure, add system controls fragment for related accessibility services."
2021-01-13 11:19:57 +00:00
Ben Chung
29ace16b35
Accessibility settings interaction controls category restructure, add system controls fragment for related accessibility services.
...
Bug: 174829936
Test: atest SystemControlsFragmentTest, atest AccessibilitySettingsTest
Change-Id: I609207c8c7bf0e5cb4beda0d5c578669bcd005a4
2021-01-13 16:29:44 +08:00
TreeHugger Robot
bfcb1dc2c4
Merge "Extend character limit for accessibility_toggle_primary_mono_summary"
2021-01-13 03:04:59 +00:00
Edgar Wang
e451e03694
Extend character limit for accessibility_toggle_primary_mono_summary
...
Bug: 165016056
Change-Id: Icef2807767656e5c4e83b4c52c28c5160521a490
Test: rebuild
2021-01-13 01:08:35 +00:00
Stanley Wang
57098f4589
Use SettingsLib's MainSwitchPreference to replace the Switches which use
...
LayoutPreference.
Bug: 175181773
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: I4588d1fc3004970b174e7c5c5d1aa7745f774985
2021-01-12 23:12:01 +08:00
TreeHugger Robot
adcd4f165d
Merge "Add inline toggle for Prevent Ringing gesture."
2021-01-12 15:03:32 +00:00
Yi-Ling Chuang
b058221b62
Add inline toggle for Prevent Ringing gesture.
...
- Fork sound_settings_v2 for dev.
- Replace Preference with PrimarySwitchPreference for the Prevent
Ringing entry.
- When the toggle is on, only show the status text without the on/off
info.
- Remove unused codes.
Bug: 174964721
Test: robotests
Change-Id: I990f5c778436c8058d4a5953c7f15a9a7eb580d8
2021-01-12 12:48:41 +08:00
Ben Chung
dfe1977044
Accessibility settings interaction controls category restructure, add tap assistance fragment for related accessibility services.
...
Bug: 174829936
Test: atest TapAssistanceFragmentTest, atest AccessibilitySettingsTest
Change-Id: I39c4eba8ec807248eb11371fab2466cf7d7553ef
2021-01-11 17:21:14 +08:00
Julia Reynolds
25bb0b9e6c
Increase char count
...
Test: manual
Fixes: 176998789
Change-Id: I396fb41ed016cc608509200b950b1bc650e6303e
2021-01-08 15:20:47 -05:00
TreeHugger Robot
6f74b9a5dd
Merge "Update the message for FingerprintEnrollIntroduction"
2021-01-08 05:34:46 +00:00
Julia Reynolds
60633f6253
Merge "Allow notification filtering per listener."
2021-01-08 03:14:52 +00:00
TreeHugger Robot
76c649968f
Merge "Add a empty page to host Safety/emergency settings"
2021-01-07 22:39:06 +00:00
Fan Zhang
9b1fb77b54
Add a empty page to host Safety/emergency settings
...
The page will eventually be displayed on settings root. It's currently
disabled to avoid QA/dogfood confusion, as the page is pretty empty at
this point.
Bug: 175158310
Test: manual only. Skipped robolectric because the page is pretty empty.
Will add more test as we build business logic.
Change-Id: I80f193f6e90b89ab0c37d0f23f7174e4ba86c091
2021-01-07 10:56:32 -08:00
Mill Chen
7dc12ac274
Update the message for FingerprintEnrollIntroduction
...
Seperate the original message into top info and footer info.
Bug: 176856169
Test: visual verified
Change-Id: I9f79619f84949cd88e1f80024d8689033ab4304a
2021-01-08 01:41:52 +08:00
Julia Reynolds
eb2b36a5e2
Allow notification filtering per listener.
...
Test: atest
Bug: 173052211
Change-Id: I54c740e9755f18339c59aad4f1f5aecd8c734892
2021-01-07 10:01:08 -05:00
TreeHugger Robot
12a5868126
Merge "Only show the schedule text for the night display and dark theme"
2021-01-07 10:30:46 +00:00
Tsung-Mao Fang
acab1a0364
Only show the schedule text for the night display and dark theme
...
In Android S design, night display and dark theme only show
schedule text for summary.
- Rmove redundant string resource.
- Remove redundant method in night display formatter.
- Refactor the code in dark mode preference and night display
controller.
Test: See the correct behavior in screen.
Fix: 174964139
Change-Id: I658b3073a0a6ed83f589103999c711e5430eaeb7
2021-01-07 16:17:20 +08:00
Tsung-Mao Fang
d159567fc4
Add toggle for auto brightness feature
...
- Use the primary toggle preference.
- Remove the empty subtext.
Test: See toggle preference on auto brightness feature
Bug: 174964139
Change-Id: Ic5105730c7a2075d61cdde42395e41712bb468a7
2021-01-07 15:09:31 +08:00
Ben Chung
cfedc19ab9
Merge "Accessibility settings display category restructure, add text and display fragment for related accessibility services."
2021-01-07 01:28:17 +00:00
Peter Kalauskas
f22eb5971d
Merge "Update icons and text for guest user"
2021-01-06 17:41:26 +00:00
Julia Reynolds
c68b4be047
Merge "Migrate NLS access to preferencecontrollers"
2021-01-06 15:42:49 +00:00
Julia Reynolds
d41f2db9ec
Migrate NLS access to preferencecontrollers
...
In preparation for some new settings
Test: RoboTests
Bug: 173052211
Change-Id: I57c692d7ff0a1a8e36fb9e3f6c159263997fdc71
2021-01-06 14:23:59 +00:00
Tsung-Mao Fang
c6a63916d1
Merge "Rearrange settings in Display page"
2021-01-06 13:57:44 +00:00
Ben Chung
3e2e4407cf
Accessibility settings display category restructure, add text and display fragment for related accessibility services.
...
Bug: 174829936
Test: atest TextAndDisplayFragmentTest, atest AccessibilitySettingsTest
Change-Id: Ie2cf147de53385ae0c626c8472306f1b85317686
2021-01-06 18:26:43 +08:00
Tsung-Mao Fang
aee0cb58e6
Rearrange settings in Display page
...
Based on the Android S design,
- Group similar settings in a category.
- Set name for each category.
- Remove the "advanced" button design.
- Put settings into "Others" category" if settings are advanced/not
useful.
Test: Rebuilt rom and see the screen
Bug: 174964139
Change-Id: I80194aa8deb7a554188290935a8c790b410c6e1d
2021-01-06 16:58:59 +08:00
TreeHugger Robot
e0f2957e49
Merge "[Provider Model] Internet Panel UI update"
2021-01-06 06:55:24 +00:00
Weng Su
e9f4928ef1
[Provider Model] Internet Panel UI update
...
- Add gear icon to connected non-carrier network
- Update "View airplane mode networks" wording
- Update "Turn off airplane mode" wording
- Check WiFi disable to show airplane mode message
- Screenshot
https://screenshot.googleplex.com/BRjcKyMaMS4ujYN
Bug: 173413889
Test:
- Manual Test
- adb shell am start -a
android.settings.panel.action.INTERNET_CONNECTIVITY
Change-Id: Icf7b77e514cffa68cf103dbc9e7df93d58f9f762
2021-01-06 02:11:46 +00:00
SongFerngWang
114b6c496e
Change provider model slice's wording
...
Bug: 176457592
Test: Build pass and manual test(review UI wording)
Change-Id: I66361cc6830aea96c55cdef737a9c5c3b8bd1b47
2021-01-05 12:25:45 +08:00
Peter Kalauskas
0fa7edbb02
Update icons and text for guest user
...
Test: As Guest, open Settings > System > Multiple users
Test: As Owner, open Settings > System > Multiple users
Bug: 169783558
Change-Id: I42c0b46fd895267b7556f3f308957b6dd17d92c4
2020-12-30 17:43:14 -08:00
SongFerng Wang
a12003a9ac
Merge changes from topic "Slice of Provider Model"
...
* changes:
Slice of Provider Model: add slice structure
The helper for slice of carrier and non-Carrier, used by ProviderModelSlice.
2020-12-23 18:47:15 +00:00
SongFerngWang
a97b4faa67
The helper for slice of carrier and non-Carrier, used by ProviderModelSlice.
...
create a helper file.
create a res/drawable/ic_signal_strength_zero_bar_no_internet.xml
create string at res/values/strings.xml
Bug: 173971144
Test: atest ProviderModelSliceHelperTest
Change-Id: I7f63a6b04784325989e776cb140017314ebde4ce
2020-12-22 21:50:40 +08:00
Hugh Chen
3354e9dc12
Update String
...
Remove brackets.
Bug: 176106404
Bug: 167403112
Test: build pass
Change-Id: Ib9a3c4fa3c6ea1ca54244d672bdc3e12d51a719f
2020-12-22 14:26:44 +08:00
TreeHugger Robot
852a19b7a6
Merge "Fix phishing attacks over Bluetooth due to unclear warning message"
2020-12-17 08:46:03 +00:00
Hugh Chen
db9175015a
Fix phishing attacks over Bluetooth due to unclear warning message
...
Before this CL, there is a possible phishing attack allowing a malicious
BT device to acquire permissions based on insufficient information
presented to the user in the consent dialog. This could lead to local
escalation of privilege with no additional execution privileges needed.
User interaction is needed for exploitation.
This CL add more prompts presented for users to avoid phishing attacks.
Bug: 167403112
Test: send intent to test right prompts message is pop up. make -j42 RunSettingsRoboTests
Change-Id: Idc6ef558b692115bb82ea58cf223f5919b618633
2020-12-17 11:29:31 +08:00
Peter Wang
5eb94b4a00
Merge "Added an option in reset menu in Settings to enable resetting Euicc data only"
2020-12-16 20:03:25 +00:00
Peter Wang
ecd856eeeb
Added an option in reset menu in Settings to enable resetting Euicc data
...
only
Bug: 159650638
Fix: 159650638
Test: Local
Change-Id: Ia260b47a4dd0ddf0363740891b5e1d818c8631b7
2020-12-15 18:27:34 -08:00
Wesley.CW Wang
0306871503
Update Battery Defender tips title am: ee1d07d59b am: 421cbc63ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13223683
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I25a3e0f2e6f0bb2369149c02009262ef89c315e0
2020-12-15 19:09:58 +00:00
Wesley.CW Wang
421cbc63ad
Update Battery Defender tips title am: ee1d07d59b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13223683
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib651d0c708471af6cac52255b25159730269843e
2020-12-15 18:48:30 +00:00
Wesley.CW Wang
ee1d07d59b
Update Battery Defender tips title
...
Bug: 175662315
Test: make SettingsRoboTests
Change-Id: I13ba773ea4402c5ae54260a8b8cbea4620eed535
2020-12-15 10:21:06 +00:00
TreeHugger Robot
92107059b1
Merge "Add a developer option to enable / disable location indicators."
2020-12-14 20:16:23 +00:00
Wei Wang
edbe2cca13
Add a developer option to enable / disable location indicators.
...
Also bundled location related developer options into the location
category.
Bug:175357420
Test: Manual && make RunSettingsRoboTests ROBOTEST_FILTER=LocationScanningPreferenceControllerTest
Change-Id: Ic33ad6e70d258c9afc2cefba70ab6e7b2bafd16a
2020-12-13 21:33:56 -08:00
Jeremy Goldman
7a16e45290
Update string for discarding changes to a particular APN's settings.
...
Previously was unclear whether the changes, or the entire APN was
being discarded. The word "Cancel" more closely implies that the most
recent changes to the screen will be discarded rather than the entire
APN.
This only changes the resource for english. However, many other
languages have a menu_cancel string that seems much closer
to "Cancel" than "Discard" as well.
i.e. http://cs/android/packages/apps/Settings/res/values-zu/strings.xml?l=1029&rcl=a7397bec91183a7a32561fd8d67b0478af6c65bb
http://cs/android/packages/apps/Settings/res/values-es/strings.xml?l=1029&rcl=a7397bec91183a7a32561fd8d67b0478af6c65bb
Bug: 171538880
Test: N/A
Change-Id: I80fde04dbc36078d5c53e68231fcc4e5c3cf94e6
2020-12-14 02:57:39 +00:00
Zoey Chen
e05e21bfe7
Merge "[Provider Model] Should show "No SIM" if there is no SIM in the device."
2020-12-11 14:55:51 +00:00
Zoey Chen
44559badaf
[Provider Model] Should show "No SIM" if there is no SIM in the device.
...
Bug: 172053880
Test: atest NetworkProviderCallsSmsControllerTest#getSummary_noSim_returnNoSim
Change-Id: I31fd8b4b6928ef8aa7c45ac7651fa26e0b08446e
2020-12-11 20:29:13 +08:00
TreeHugger Robot
e6768c1776
Merge "[Provider Model] Saved networks Settings UI change"
2020-12-09 09:23:53 +00:00
Xiao Ma
b48fffc33b
Merge "Update the Warning text about the visibility of device name." into rvc-qpr-dev am: a63d8db293
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13170053
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib822c372af03860a63533ec44638389fb25e2ffb
2020-12-08 00:37:18 +00:00