Jason Chang
691a29062a
Remove redundant swipe down notification and one handed sub settings am: 1c310ef44b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14797789
Change-Id: I255e03fe5dafd7282ca580d6278d5460919d084c
2021-06-12 11:59:06 +00:00
Jason Chang
5213fbced1
Merge changes from topic "OHM-newUI-Sys-Gesture" into sc-dev
...
* changes:
Update key visual changes for one handed mode settings
Remove redundant swipe down notification and one handed sub settings
2021-06-12 11:49:16 +00:00
TreeHugger Robot
4c99db9747
Merge "Update wallpaper summary of homepage for AOSP" into sc-dev am: 08a59454cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934759
Change-Id: I75a606264ac83d5411681a829662c2323fdbacf0
2021-06-12 10:40:58 +00:00
Hai Shalom
f3e31d47fb
Remove "Require all non-trusted certificate statuses" option
...
Remove the "Require all non-trusted certificate statuses" OCSP
option. The underlying software stack does not support this
option and therefore it should not be presented to the user.
Bug: 190830812
Test: Verify option is not displayed
Change-Id: I909634dee37de4342cb3e6f9a4a53adeb448bbff
2021-06-11 10:21:10 -07:00
Bill Lin
3ae771d04a
Integrate One handed mode shortcut preference
...
1) Update AccessibilityShortcutPreferenceFragment extends
DashboardFragment
2) OneHandedSettings extends AccessibilityShortcutPreferenceFragment
for shortcut feature
3) Add General Category above shortcut preference
Test: Settings > System > Gesture > One handed mode
Test: Settings > A11y > System Controls > One handed mode
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings
.OneHandedShortcutPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings
.OneHandedShortcutPreferenceFragmentTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings
.OneHandedActionPullDownPrefControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings
.OneHandedActionShowNotificationPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings
.OneHandedSettingsUtilsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings
.AccessibilityShortcutPreferenceFragmentTest"
Bug: 182425480
Change-Id: I653388beea422e9bf47fd3240367fb374d6f0025
2021-06-11 16:13:59 +08:00
Midas Chien
007175d3cf
Change strings for force highest refresh rate in Developer options
...
Difference devices can support different refresh rates. Therefore the
highest refresh rate may be different. Change strings to 'peak' to be
more generic.
Bug: 189441749
Test: Check UI string
Change-Id: Ib3bab5e374a976dd651838d6c5fc9f120156cd31
2021-06-11 16:04:24 +08:00
Yanting Yang
7d7be0bd7d
Update wallpaper summary of homepage for AOSP
...
Fixes: 190585430
Test: robotests & visual
Change-Id: Idd51d7988dc6664b7a8936bcbb9c7174c20580eb
2021-06-11 14:31:47 +08:00
Suprabh Shukla
3f5bd0931e
Changes to 'Alarms & reminders' permission setting
...
Not showing apps that are targeting SDK < 31, because the change is not
enabled for them.
Now alarm manager service manages killing the process whenever the
permission gets revoked, so we don't need to do it here.
This also lets us kill the app on "Reset app preferences" if needed.
Adding the preference under "Advanced" in the app info page so it
appears for apps that have requested this permission.
Test: atest SettingsUnitTests:AppStateAlarmsAndRemindersBridgeTest
make -j64 RunSettingsRoboTests \
ROBOTEST_FILTER="AlarmsAndRemindersDetailsTest|
AlarmsAndRemindersDetailPreferenceControllerTest"
Manually:
- There should be no observable difference in behavior when
toggling the setting. ActivityManager logs should still indicate that
the app is killed when the permission is revoked.
- "Alarms & Reminders" should appear under "Advanced" when looking at
the app info detail of an app that appears under "Alarms & reminders"
special app access page.
Bug: 179541791
Bug: 190070171
Change-Id: I2d437cec10ee10e4326fb25b2820de9ef9c31c67
2021-06-10 22:53:05 -07:00
TreeHugger Robot
3b5db22a49
Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev am: 9faa566ea0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912503
Change-Id: I95a12f764c2c92c4b351fdcbf6cc88867fa6c205
2021-06-11 02:56:10 +00:00
TreeHugger Robot
9faa566ea0
Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev
2021-06-11 02:42:52 +00:00
Hugh Chen
32c4253047
Remove the divider on "Pair new device".
...
Screenshot:
https://screenshot.googleplex.com/58zWxM3qqoNHerD.png
https://screenshot.googleplex.com/mgW69gQSKNeRNhW.png
Bug: 190563744
Test: manually test
Change-Id: I40e6e07d54417ccdcf2bce5e499ebb20a2d997e9
2021-06-11 10:42:26 +08:00
Peter Wang
d79015628a
Use BC theme for ChooseSimActivity
...
Uploading for beccamilman@
Bug: 190430469
Test: Local
Change-Id: If762380040f64266b34b1d62658010b80e8c0405
2021-06-10 19:27:46 -07:00
Yanting Yang
fe242896ff
Merge "Left aligned the dropdown list of ManageApplications" into sc-dev am: 391c121920
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934750
Change-Id: I65990a17bf6365ee16c18ad71c2e47e0ac80f7dc
2021-06-11 01:37:40 +00:00
Yanting Yang
391c121920
Merge "Left aligned the dropdown list of ManageApplications" into sc-dev
2021-06-11 01:29:28 +00:00
Wesley.CW Wang
e1b1f67681
Make App info page support new battery entry
...
- Add new battery entry to app info battery preference, support both
legacy and new args, controlled by P/H
- Add a method to check is work profile app or not, use owner context to
query correct context for feature provider
- Add string for new args
Bug: 178197718
Test: make RunSettingsRoboTests
Change-Id: Ic93142a0c5e2851917cb3e224340a6e3e81fd801
2021-06-11 04:41:12 +08:00
Jason Chang
1c310ef44b
Remove redundant swipe down notification and one handed sub settings
...
1. Remove "Swipe down for notification" item code.
2. Remove "Exit when switching apps & "Timeout" items code.
Bug: 175851783
Test: build & verify Settings > System > Gestures
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedEnablePreferenceControllerTest"
Change-Id: I77be5ff5542f6310fa0b9649ddfc1d3c16fa4261
2021-06-11 03:30:10 +08:00
Jason Chang
76d6d66353
Update key visual changes for one handed mode settings
...
Follow new visual UI to change the design.
Bug: 175851783
Bug: 188868459
Bug: 189001678
Test: manual verified on Settings > System > Gesture page
> System controls page
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedEnablePreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedMainSwitchPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedActionPullDownPrefControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedActionShowNotificationPrefControllerTest"
Change-Id: I86535fd9f49726c7234353032b950640346a02c5
2021-06-11 03:30:10 +08:00
Edgar Wang
581789b298
Merge "Moving progressBarHorizontalStyle to SettingsLib" into sc-dev am: aeb2c1d8fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891915
Change-Id: I87ab04ff14db933b54a23348a6ce661d5d1d3d80
2021-06-10 13:11:28 +00:00
Edgar Wang
aeb2c1d8fa
Merge "Moving progressBarHorizontalStyle to SettingsLib" into sc-dev
2021-06-10 12:56:21 +00:00
Yanting Yang
467c7e81ea
Left aligned the dropdown list of ManageApplications
...
Based on the Android S design, left aligned the dropdown list of
ManageApplications, e.g., All apps, App notifications
Bug: 178774987
Test: visual
Change-Id: I04143798475d20319980396d6bd755193ae2b1f0
2021-06-10 20:18:51 +08:00
Alex Johnston
892e1d5dcc
Merge "RequestManageCredentials Material Next Spec" into sc-dev am: cf5bb13576
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14881531
Change-Id: Ia9915695d981d9f7249ce86948832700590112e1
2021-06-10 09:50:30 +00:00
Alex Johnston
6a1fd88860
Merge "RequestManageCredentials landscape mode" into sc-dev am: 17101d6ebe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14874757
Change-Id: Ie8ab9ae28855e7b1c5498a2e02d28c4925325044
2021-06-10 09:50:25 +00:00
Alex Johnston
12a4f45c57
Merge "Credential management app UI tweaks" into sc-dev am: e2f5b87c14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14817109
Change-Id: Ieda17041b5818f632c0586800d4cc98b3ff15974
2021-06-10 09:50:17 +00:00
Alex Johnston
cf5bb13576
Merge "RequestManageCredentials Material Next Spec" into sc-dev
2021-06-10 09:38:35 +00:00
Alex Johnston
17101d6ebe
Merge "RequestManageCredentials landscape mode" into sc-dev
2021-06-10 09:38:29 +00:00
Alex Johnston
e2f5b87c14
Merge "Credential management app UI tweaks" into sc-dev
2021-06-10 09:38:15 +00:00
Peter_Liang
3e06c2e599
Update the Lottie images for Accessibility features.
...
Features:
1.Magnification
2.Color Inversion
Bug: 188625240
Test: manual test
Change-Id: I51c1c230d5f230eb3d933c98253f0d9d2bf30d37
2021-06-10 14:53:39 +08:00
Peter_Liang
db1d3d2a47
Update the material next style for AnimatedImagePreference.
...
Bug: 179451422
Test: manual test
Change-Id: I7c54a1bddb26a4f5039e1ce543866d9dbd16da3b
2021-06-10 14:53:24 +08:00
Mill Chen
491bc21fd4
Remove the duplicated skip lock screen setting
...
Fix: 187366696
Test: robotests
Change-Id: I063ef7c1a43e16aee6d141389896cadecfd3738f
2021-06-10 14:20:44 +08:00
TreeHugger Robot
f6d3b406b4
Merge "Adjust size/position of face education illustrations" into sc-dev am: 0a111093bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14922977
Change-Id: I29eb0e6131cb2d861b29f1f48ef749f727ef26b6
2021-06-10 02:02:16 +00:00
TreeHugger Robot
0a111093bd
Merge "Adjust size/position of face education illustrations" into sc-dev
2021-06-10 01:38:21 +00:00
Curtis Belmonte
2f2acef17a
Adjust size/position of face education illustrations
...
Increase the size of the Lottie animation and adjust the margins of both
illustrations shown on the Face Unlock enrollment education screen.
Test: Start face enroll, press accessibility button on education screen
Fixes: 189725079
Change-Id: I40fc174c2ae574ed1a2919e8fab8a62ce90c8d0e
2021-06-09 17:31:56 -07:00
Curtis Belmonte
4f9906769e
Merge "Remove intro text from Face Unlock Settings screen" into sc-dev am: ac84b879dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14922390
Change-Id: I487a6d0dd1bdfb331c765b2e75b8d784bbc22e79
2021-06-09 21:52:51 +00:00
Curtis Belmonte
ac84b879dc
Merge "Remove intro text from Face Unlock Settings screen" into sc-dev
2021-06-09 21:41:19 +00:00
TreeHugger Robot
9f76510d0f
Merge "Apply android accent color" into sc-dev am: 40f65961a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14918673
Change-Id: I1a08bc2ecf340a8a5dfe906bf19a7b35a6308587
2021-06-09 19:36:14 +00:00
TreeHugger Robot
40f65961a2
Merge "Apply android accent color" into sc-dev
2021-06-09 19:12:14 +00:00
Curtis Belmonte
f097ad4100
Remove intro text from Face Unlock Settings screen
...
Removes the intro text from the top of the Face Unlock Settings screen,
since it is now redundant with the help text shown in the footer of this
screen.
Test: Open Face Unlock Settings, ensure intro text is gone
Fixes: 190622232
Change-Id: Ie7880a2e5b1405bf1298e3b9160b7d534fabd1c2
2021-06-09 10:59:06 -07:00
TreeHugger Robot
5ccaa61a2f
Merge changes from topic "free_up_space_card_preference" into sc-dev am: a23533cbdd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14909652
Change-Id: I181cc7e6385a87f40d8632db84e98f4e9b279206
2021-06-09 17:04:12 +00:00
TreeHugger Robot
a23533cbdd
Merge changes from topic "free_up_space_card_preference" into sc-dev
...
* changes:
Tweak UI of CardPreference and ContextualCard
'Free up space' uses CardPreference
2021-06-09 16:45:54 +00:00
Sunny Shao
20efc0ce3e
Fix button is not fully rounded corner issue am: d769667e09
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880641
Change-Id: I5bb8d0590937d8544cc0eaf50705314d4bfdad07
2021-06-09 15:41:23 +00:00
Sunny Shao
d769667e09
Fix button is not fully rounded corner issue
...
Fixes: 189903078
Test: manual test
Change-Id: I498e2a9050255801c8c2613c4a933d8a713a0d55
2021-06-09 21:42:06 +08:00
Tsung-Mao Fang
27927f3cb7
Apply android accent color
...
We should add android accent color to get the correct color.
Test: Icons show up in screen lock page. And see correct color in SUW
flow.
Fix: 190582618
Change-Id: I0d1062288228772fa2ea45103512c8e46793ae9d
2021-06-09 19:51:15 +08:00
PETER LIANG
575ae9574e
Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310
Change-Id: I76e0436b02f078a750562f434bb28e3f81644644
2021-06-09 11:01:22 +00:00
PETER LIANG
d2c4944cbb
Merge changes I99fb2ed2,Iba18bfab into sc-dev
...
* changes:
Support the lottie image file for the banner in Accessibility Settings.
Fixing the animation of drawable couldn't play automatically for the banner.
2021-06-09 10:44:10 +00:00
Peter_Liang
3ce3a93e71
Support the lottie image file for the banner in Accessibility Settings.
...
Action:
Currently, the ImageView component couldn’t handle the lottie image from raw resource folder, so temporarily using the LottieAnimationView from settingsLib to support lottie image for the banner of Accessibility settings.
Bug: 186065724
Bug: 179451422
Test: atest AnimatedImagePreferenceTest
Change-Id: I99fb2ed26085c73bc262c58001de8dec3078e1d0
2021-06-09 10:11:23 +00:00
Arc Wang
bdb70b1078
Tweak UI of CardPreference and ContextualCard
...
- CardPreference uses settingslib_preference
layout to fix title/summary alignment issue.
- Remove stroke for CardPreference and ContextualCard.
- Set colorSurface as default card background color.
Bug: 188599776
Test: manual visual
Change-Id: Id0ee40be60de1f7605849490ee43eae4b9420abb
2021-06-09 17:43:43 +08:00
Arc Wang
7b85f2af24
'Free up space' uses CardPreference
...
For material next style.
Bug: 188599776
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CardPreferenceTest
Change-Id: Ibaf4d11ab44017453498676db00cff1e49c83b9d
2021-06-09 17:35:33 +08:00
Alex Johnston
7db8142435
Credential management app UI tweaks
...
Credential management app Settings screen
* Add uninstall certificates button
* Reformat summary
* Remove dividing lines
Request manage credentials screen
* Make requesting app name bold
Manual testing
* Install TestDPC and select 'Request to
manage credentials'
* Verify app name is bold and select allow
* Install a certificate as the cred mng app
via TestDPC
* Go to Setting > Security > Encryption
& Credentials > Credential Management App
* Verify screen looks like mocks
* Select 'Remove certificates' and
verify all certificates installed by the
cred mng app are removed
Settings screen: https://screenshot.googleplex.com/C6n9bnwkw843jgf
Request screen: https://screenshot.googleplex.com/5qH44NXKKGRsdHs
Bug: 189416800
Test: manual testing
CredentialManagementAppControllerTest
CredentialManagementAppFragmentTest
CredentialManagementAppButtonsControllerTest
CredentialManagementAppHeaderControllerTest
RequestManageCredentialsTest
Change-Id: I71334b231ae7cefbc055e2575eda5418da2548b4
2021-06-09 10:13:53 +01:00
Alex Johnston
848a388a71
RequestManageCredentials Material Next Spec
...
* Update buttons to have rounded corners
and more padding
* Update text colour of buttons
* Update floating action button background
and text colour
Manual Testing via TestDPC
* Light mode https://screenshot.googleplex.com/8MxZZjftRFMXJhM
* Dark mode https://screenshot.googleplex.com/3vgWrEJnCbzUdhh
* Floating action button https://screenshot.googleplex.com/5H4nfTWz7sNJJmT
* Landscape
Bug: 189193577
Test: Manual testing
RequestManageCredentialsTest
Change-Id: Iba8b4b6af655abfdab6216e6042ee222c3f745dd
2021-06-09 08:09:54 +00:00
Weng Su
8af8dfd83a
[Provider Model] Update the no internet unavailable icon
...
- Show the no internet unavailable icon when Airplane mode is turned on
Bug: 189205157
Test: manual test
Change-Id: I0f630708fa60fe85177b23a833d40321fcfbffda
2021-06-09 16:07:11 +08:00