TreeHugger Robot
4bcece8863
Merge "Fix testGetDeviceOwnerDisclosure test case fail" into sc-dev am: bcc49f1fe0
am: ecaf8796c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980886
Change-Id: I034df24e063e171660d90c0246f57c318a6b5768
2021-06-16 10:30:48 +00:00
TreeHugger Robot
bcc49f1fe0
Merge "Fix testGetDeviceOwnerDisclosure test case fail" into sc-dev
2021-06-16 10:06:12 +00:00
Kevin Chyn
0b121f260d
Merge "Convert biometrics to RestrictedPreference" into sc-dev am: 24b81dcffb
am: 0f6dac59c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14926710
Change-Id: Ib153b57a8285a590d9e344cfda0c8ef4360a3bde
2021-06-16 06:46:17 +00:00
Kevin Chyn
24b81dcffb
Merge "Convert biometrics to RestrictedPreference" into sc-dev
2021-06-16 06:13:04 +00:00
Sunny Shao
794a894aa7
Fix testGetDeviceOwnerDisclosure test case fail
...
- Remove the learn more part which already include in the FooterPreference.
Fixes: 190889944
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.enterprise.EnterprisePrivacyFeatureProviderImplTest
Change-Id: Ia6b7962019a3ec30b72ca6d64159811ab98fc13b
2021-06-16 13:40:55 +08:00
Kevin Chyn
9af27677e9
Convert biometrics to RestrictedPreference
...
Bug: 188847063
Test: adb shell settings put secure com.android.settings.biometrics.ParentalControlsUtils.always_require_consent 1
Preference becomes gray with an info icon
Test: atest ParentalControlsUtilsTest
Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER=CombinedBiometricStatusPreferenceControllerTest
Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER=FingerprintStatusPreferenceControllerTest
Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER=FaceStatusPreferenceControllerTest
Change-Id: I929c11606eec76063f7b060fdc5cb2b5f60a80e2
2021-06-15 19:57:04 -07:00
Kweku Adams
0c451aab4d
Add OWNERS file for TARE robotests.
...
Bug: 189850067
Test: N/A
Change-Id: Idf19cbc56c7c797f53e35faedab1c9ebde66f490
2021-06-15 11:32:55 -07:00
TreeHugger Robot
8b12824554
Merge "Integrate One handed mode shortcut preference" into sc-dev am: bfe1d39958
am: f499ee9d0c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934755
Change-Id: Ieed86b5852ccf3d41b2d5bea88dcd60cfb0bde49
2021-06-15 15:31:20 +00:00
TreeHugger Robot
bfe1d39958
Merge "Integrate One handed mode shortcut preference" into sc-dev
2021-06-15 15:25:13 +00:00
TreeHugger Robot
5d587bfb79
Merge "[GAR] fix spoke a percentage number is not the same as displayed content" into sc-dev am: 153c3a1dc2
am: 033a6c3eec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14956530
Change-Id: I9114c64261818c7628dae0f78e3b88b2f2979db3
2021-06-15 09:31:47 +00:00
TreeHugger Robot
153c3a1dc2
Merge "[GAR] fix spoke a percentage number is not the same as displayed content" into sc-dev
2021-06-15 09:11:18 +00:00
ykhung
64112f65fd
[GAR] fix spoke a percentage number is not the same as displayed content
...
in the Battery Saver and Battery Share, we have customized rule to map
the seekbar progresss to another displayed percentagge value, which
cause the a11y will speak the incorrect state, since the state is
referenced the original progress value. we add a method to override it
into our cusromized value.
Bug: 187780942
Bug: 190958777
Test: make SettingsGoogleRoboTests
Change-Id: Ie630ac03e66c2f8da1df00d6d2616b2e6979aa3e
2021-06-15 08:09:17 +00:00
Wesley Wang
027d900daf
Merge "Make App info page support new battery entry" into sc-dev am: f2a884b8be
am: f294981a7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14800151
Change-Id: Ia289536f84e1b0d6423c9dda42de5c52aeb0ef15
2021-06-15 05:12:05 +00:00
Wesley Wang
f2a884b8be
Merge "Make App info page support new battery entry" into sc-dev
2021-06-15 04:41:16 +00:00
TreeHugger Robot
bd4ea47f6d
Merge "Changes to 'Alarms & reminders' permission setting" into sc-dev am: 052ae78759
am: e919947ad0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14939788
Change-Id: I61d13da7ba7f6edb6a19b790efc9543065b15c28
2021-06-15 01:26:45 +00:00
TreeHugger Robot
052ae78759
Merge "Changes to 'Alarms & reminders' permission setting" into sc-dev
2021-06-15 00:57:46 +00:00
Jason Chang
3ab0d7b1b9
Merge changes from topic "OHM-newUI-Sys-Gesture" into sc-dev am: 5213fbced1
am: 7e61c806e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14804130
Change-Id: I0ba93c73c85b9c8120ed23fa3642921fe73fe87f
2021-06-12 12:06:55 +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
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
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
7bba656513
Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 8dca5ab699
am: 14594156b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928761
Change-Id: I5afa0971ae60ea78706c736e5fd5916ad436a1a4
2021-06-11 01:56:13 +00:00
TreeHugger Robot
8dca5ab699
Merge "Fix Learn more link placement is wrong problem" into sc-dev
2021-06-11 01:23:43 +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
TreeHugger Robot
bc0da34026
Merge "Check in auto rotate settings summary for rotation resolver service" into sc-dev am: ad84b3dd39
am: 9004a9797c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14830090
Change-Id: Ia8ae5456b0830fb89ec6ea0dab3f52d5a47e7778
2021-06-10 19:40:30 +00: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
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
TreeHugger Robot
ad84b3dd39
Merge "Check in auto rotate settings summary for rotation resolver service" into sc-dev
2021-06-10 18:35:43 +00:00
Abel Tesfaye
5131c691b5
Check in auto rotate settings summary for rotation resolver service
...
Fixes issue where summary text would not properly describe the state of
camera based auto rotation when permission is missing or when another state is blocking the feature
Bug: 190095500
Test: locally with flame & make RunSettingsRoboTests -j$(nproc) ROBOTEST_FILTER=SmartAutoRotatePreferenceControllerTest
Change-Id: I7609ca87658e08831f3bc37c839f00f63946ddec
2021-06-10 17:31:39 +00:00
Dmitri Plotnikov
4f2465b209
Merge "Fix missing time-in-foreground and time-in-background for some apps" into sc-dev am: 6c09370c43
am: 57a55c9be1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14911672
Change-Id: Ib96c88a68ff34951f78aaedd766241f9281d87de
2021-06-10 16:38:13 +00:00
Dmitri Plotnikov
6c09370c43
Merge "Fix missing time-in-foreground and time-in-background for some apps" into sc-dev
2021-06-10 16:10:42 +00:00
YUKAI HUNG
0c930affaf
Merge "Ignore the flaky test in the ConvertUtils first to investigate" into sc-dev am: 394211dd75
am: a9d833f6ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928763
Change-Id: I3ef02087aa44ed37fc877cad8bd76d49ef8d8674
2021-06-10 12:42:13 +00:00
YUKAI HUNG
394211dd75
Merge "Ignore the flaky test in the ConvertUtils first to investigate" into sc-dev
2021-06-10 12:18:53 +00:00
Sunny Shao
a6eb37b215
Fix Learn more link placement is wrong problem
...
- Use the new style of the FooterPreference.
Fixes: 189389674
Test: Robo test
Change-Id: I1529952181cca0eccd18f911eaa265b19dbb97f7
2021-06-10 20:14:56 +08:00
ykhung
671405b6d3
Ignore the flaky test in the ConvertUtils first to investigate
...
Bug: 190689531
Test: make SettingsRoboTests
Change-Id: Icf4fdd98d087f3e693a33d63030bec880648c356
2021-06-10 17:33:08 +08:00
Kholoud Mohamed
387ce6027f
Merge "Fix failing tests" into sc-dev am: 4ee8d6de71
am: 1f9329d010
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14881549
Change-Id: Iabfb988437d0afeb47280c86692e3e3e6f9c81be
2021-06-10 09:25:19 +00:00
Kholoud Mohamed
4ee8d6de71
Merge "Fix failing tests" into sc-dev
2021-06-10 08:55:12 +00:00
TreeHugger Robot
ba0325cbae
Merge "Fix broken tests for main clear pages" into sc-dev am: 554eaf72b0
am: 4868bf6f2e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912505
Change-Id: Ia7a5fc2ab423078ddfc05eee96637c7bd60a3585
2021-06-10 07:50:48 +00:00
TreeHugger Robot
554eaf72b0
Merge "Fix broken tests for main clear pages" into sc-dev
2021-06-10 07:22:38 +00:00
Dmitri Plotnikov
1afe9c0ddc
Fix missing time-in-foreground and time-in-background for some apps
...
The gist of the issue is that many apps have two UIDs associated
with them: a regular, "real" UID, e.g. 10123, and a shared group GID,
e.g. 50123, which is used for multiuser support.
Prior to this fix, the code in BatteryAppListPreferenceController,
would go over the list of all UidBatteryConsumers and would randomly
encounter either the "real" UID or the shared GID for each app first.
The UidBatteryConsumer for a shared GID does not have all of the
properties of the real UID, so some information, such as
time-in-foreground and time-in-background would be lost with
a high probability.
After this fix, we process "real" UIDs before shared GIDs ensuring
that time-in-* and other properties such as package names are obtained
for the real UID. When we later encounter a shared GID for the same app,
we just add the consumed power and time-in-* durations to the real UID's
BatteryEntry.
Bug: 188656360
Test: make RunSettingsRoboTests
Test: make RunSettingsGoogleRoboTests
Change-Id: I4bfea813ac5eb8f866804b2c4a9153eb877fb325
2021-06-10 05:58:15 +00:00
TreeHugger Robot
29d0c3c5dc
Merge "Fix shifting problem in location services page" into sc-dev am: c547c43977
am: 86233cd3ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912504
Change-Id: I420a1816d466a88b85e936922fac3e45dfdb0213
2021-06-10 05:52:55 +00:00
TreeHugger Robot
c547c43977
Merge "Fix shifting problem in location services page" into sc-dev
2021-06-10 05:25:16 +00:00
Tsung-Mao Fang
cbf5ccab0e
Fix shifting problem in location services page
...
Controller generates the injection location settings
in updateState() which happens in onResume.
That's the primary reason why we observed the shifting issue.
In a good practice, we generate preference in displayPreference(),
and then update the setting state in updateState().
In this cl, we create a base controller class to encapsulate
most implementation, and developer need to inject location
services in child class.
Test: Add work profile, and see correct services list.
Bug: 183169265
Change-Id: I5735ba974da87ad83b56791abd8a8637c2317571
2021-06-10 11:26:23 +08:00
Julia Reynolds
0718ee6309
Merge "Update method name" into sc-dev am: a2c2889c78
am: 77b60fb6c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14919903
Change-Id: I1af02eea2b6f94341b4e61807a89a67af05061f5
2021-06-09 18:45:26 +00:00
Julia Reynolds
a2c2889c78
Merge "Update method name" into sc-dev
2021-06-09 17:33:23 +00:00
TreeHugger Robot
469caaf49e
Merge changes from topic "free_up_space_card_preference" into sc-dev am: a23533cbdd
am: 0dc2fde11e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14909652
Change-Id: Id9975e632d7eb3f0159aa4f1aa80ce92b7db5d78
2021-06-09 17:19:55 +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
kholoud mohamed
be0a96bd23
Fix failing tests
...
Fixed failing tests in InteractAcrossProfilesDetailsTest and removed
unused code in InteractAcrossProfilesSettingsTest.
Test: atest com.android.settings.applications.specialaccess.interactacrossprofiles.InteractAcrossProfilesDetailsTest
Test: atest com.android.settings.applications.specialaccess.interactacrossprofiles.InteractAcrossProfilesSettingsTest
Fixes: 190186823
Change-Id: I52c498b9eb9c09401548e557770cd6434de49a2c
2021-06-09 14:11:56 +00:00
Julia Reynolds
b70d3d5c13
Update method name
...
Test: RoboTests
Bug: 184709662
Change-Id: I3a998a151f9647efae00909e2b4f88fa27d645eb
2021-06-09 09:53:09 -04:00
YUKAI HUNG
1699b39562
Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508
am: 3cc2a79f44
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493
Change-Id: I069690c8c4ec0cf09a79184d843c935b1337b4b6
2021-06-09 12:11:26 +00:00
YUKAI HUNG
4248531508
Merge "Resolve locale not update issues in the chart view" into sc-dev
2021-06-09 11:43:41 +00:00