ykhung
b3c7bb02c4
Merge original AOSP chart into battery usage with runtime switchable am: 33115020ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14215688
Change-Id: I2f8b577b5ace58923ae1acbb697cb1b51b0c874c
2021-04-18 16:22:04 +00:00
ykhung
33115020ba
Merge original AOSP chart into battery usage with runtime switchable
...
This patch is merged from ag/14111128 and seperate two different chart
design between isChratGraphEnabled() method, but we drop the options
menu in the both versions to align the new material next design.
Bug: 185187718
Bug: 185187591
Bug: 177406865
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Ie88df6a94abf5d1652440fe35392b9f47c447537
2021-04-18 15:59:43 +00:00
ykhung
6fe3ad2787
Support badged icon for work profile mode and add system checking am: 5aa3c23535
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14215687
Change-Id: I279ad55d915c81970e77a04071fe751b153fb502
2021-04-17 17:27:29 +00:00
ykhung
5aa3c23535
Support badged icon for work profile mode and add system checking
...
Bug: 184807417
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Iebe458b364ab02eaf595bfc3b1a455e5be7d3d9d
2021-04-17 13:29:07 +00:00
ykhung
c0f9c69402
Purge low percentage BatteryDiffEntry from indexed usage map am: 3cdf60c016
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14209652
Change-Id: Ib669083c6959f19e7fbfaca93e729af616cced9f
2021-04-17 11:56:23 +00:00
ykhung
3cdf60c016
Purge low percentage BatteryDiffEntry from indexed usage map
...
Bug: 184807417
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I943e224147ccbfa80578511d6cb0d6adf6f8da0f
2021-04-17 10:22:11 +00:00
Evan Severson
5087e71b59
Update mic/camera toggles api
...
Test: Build
Bug: 181681375
Change-Id: I8c2cdc76490424e1bcaac93daefb3676e51de8ca
2021-04-16 14:14:12 -07:00
Arc Wang
7a43ffde90
Update storage usage progress bar summary text
...
Shows a simplified version, e.g., 24GB / 32% used of 64 GB
Bug: 174964885
Test: manual visual
Change-Id: I39cdc5efa1d562c339525fa23456c71b726b9e1a
2021-04-16 21:46:19 +08:00
YUKAI HUNG
b98ea3430d
Merge "Refine logic and add simple test for BatteryChartPreferenceController" into sc-dev am: edfa085b2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14199745
Change-Id: Ie7a2005de7660e962f474eb26d0a824ec8fcd3c8
2021-04-16 09:13:26 +00:00
ykhung
ab5e180139
Refine logic and add simple test for BatteryChartPreferenceController
...
Bug: 177406865
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Ie218cf967c6f30c6eadcdfe6bfd3f37ccdc2276e
2021-04-16 07:02:04 +00:00
Jeremy Goldman
abc82d2606
If the proider model is enabled, the User cannot create insecure VPNs
...
Additionally, existing secure vpns cannot have their type changed to an
insecure type.
Existing insecure VPNs can be edited, but once the type is changed to a
secure type, it cannot be set to an insecure type again.
Note that devices without FEATURE_IPSEC_TUNNELS still have the ability
to make insecure VPNs at the moment. What to do about these devices will
be addressed in a future change.
Recall video with this Change: https://recall.googleplex.com/projects/a801b0cf-91a5-414e-973b-3c1c8fb5e7be/sessions/bc54e4f2-0205-4822-a51a-382e54f3a956
Test: atest -c SettingsUnitTests
Bug: 176821216
Change-Id: Icf87419650c934a783b01f4d2907b7f704d139b8
2021-04-16 13:11:31 +08:00
Ryan Lin
272ebbb9fe
Merge "Extract the logic of MagnificationMode to the controller" into sc-dev am: 3a34a5767b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14065249
Change-Id: Ia6ee7f90e2aa4f7751fd7c3e26384b0485699396
2021-04-16 03:54:47 +00:00
TreeHugger Robot
a8b81fabbc
Merge "Fix Wi-Fi tips disappeared issue in airplane mode" into sc-dev am: 3b179a8930
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14173740
Change-Id: I965ea58e7adaa4834b19f910ee4a4aeafe68af7a
2021-04-16 03:54:40 +00:00
Ryan Lin
3a34a5767b
Merge "Extract the logic of MagnificationMode to the controller" into sc-dev
2021-04-16 03:50:27 +00:00
TreeHugger Robot
3b179a8930
Merge "Fix Wi-Fi tips disappeared issue in airplane mode" into sc-dev
2021-04-16 03:32:02 +00:00
Curtis Belmonte
f6da4da32c
Merge "Add a config for the face enroll introduction activity" into sc-dev am: 025bb7cab5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14191889
Change-Id: I2b2d4259adc013cd004c4b8f392e72ef973cdd34
2021-04-16 00:39:39 +00:00
Curtis Belmonte
025bb7cab5
Merge "Add a config for the face enroll introduction activity" into sc-dev
2021-04-16 00:13:13 +00:00
Mill Chen
e545bff7da
Apply the correct style to Battery and Storage page
...
Since some pages were styling the action bar programmatically before, the
color of collapsing toolbar will be overridden. Removing them will fix
the problem with inconsist color. This change also fixed some pages with
inconsist theme.
Bug: 185444608
Test: visual verified
1) Settings -> Battery / Storage
2) Scrolling the collapsing toolbar and make it collapsed
3) Observe and see if the color of toolbar is different from the one of
status bar
Change-Id: I5e792747ea3f4deb05428ea5afe6a64f29f9da89
2021-04-16 00:25:50 +08:00
Biswarup Pal
940cb585fa
Merge "Implement controller to disable transcoding cache" into sc-dev am: acb5bebb3d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14186626
Change-Id: If620a754483bc848c5b5eb5ec68e80cafc00854a
2021-04-15 11:37:22 +00:00
Biswarup Pal
acb5bebb3d
Merge "Implement controller to disable transcoding cache" into sc-dev
2021-04-15 11:24:27 +00:00
ryanlwlin
8e5e4dec12
Extract the logic of MagnificationMode to the controller
...
To move the preference to the upper layer, we extract all logics
to its controller.
We move all tests to the test files and add server tests to
verify the behaviour of edit shortcut dialog.
Bug: 182992338
Test: atest MagnificationModePreferenceControllerTest
Change-Id: I34c4361e2e116a22c3e34bd35c8ac8cac752ab96
2021-04-15 18:41:44 +08:00
TreeHugger Robot
609f4e6cd7
Merge "Hide Wireless Emergency Alerts on unsupported devices" into sc-dev am: 089c56520d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14167803
Change-Id: I18bfc73f6483455ff10e1d6b03d0cef83c289290
2021-04-15 10:01:30 +00:00
Marie Matheson
01cff09972
Merge "Make host type in ChangeScreenLockPreferenceController more generic." into sc-dev am: bcf3fc6272
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14186646
Change-Id: I60319debbb9b6e39e581e62ef9b762454a5bccb6
2021-04-15 10:01:26 +00:00
YUKAI HUNG
4bcdd3123b
Merge "Add cache mechanism to improve icon and label loading performance" into sc-dev am: 98ad383e5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14187767
Change-Id: I7a895aa1011ce79f1e8d7d564ec8758572a2190c
2021-04-15 10:01:17 +00:00
TreeHugger Robot
089c56520d
Merge "Hide Wireless Emergency Alerts on unsupported devices" into sc-dev
2021-04-15 08:49:36 +00:00
Marie Matheson
bcf3fc6272
Merge "Make host type in ChangeScreenLockPreferenceController more generic." into sc-dev
2021-04-15 08:44:09 +00:00
YUKAI HUNG
98ad383e5b
Merge "Add cache mechanism to improve icon and label loading performance" into sc-dev
2021-04-15 08:40:26 +00:00
Jeremy Goldman
9c69df3b82
Check if the SubscriptionsChangeListener has been started before stop
...
calling mContext.unregisterReceiver on an unregistered broadcast
receiver will result in an exception. To make the
SubscriptionsChangeListener safe from this kind of error, add a check to
see whether start has been called before implementing stop's
functionality.
Bug: 184662284
Bug: 184521296
Test: atest -c SettingsUnitTests
Change-Id: Ie901ac6d89f954749793e95923a4a1b1945b9999
2021-04-15 14:33:40 +08:00
TreeHugger Robot
fdfe60d87e
Merge "Cleanup Storage Settings" into sc-dev am: fce594ad7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14182146
Change-Id: I2871f2febd498e3f71e264327bbe6d911b8d4dd5
2021-04-15 02:44:40 +00:00
Peter Wang
ee77615343
Merge "Change DSDS dialog confirm text from "Continue" to "Yes"" into sc-dev am: 1812aabcec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14187494
Change-Id: I9af0712b79fb6c248e091bbadd560fc0f5cb72b5
2021-04-15 02:44:14 +00:00
TreeHugger Robot
fce594ad7f
Merge "Cleanup Storage Settings" into sc-dev
2021-04-15 02:28:35 +00:00
ykhung
b2674eb5be
Add cache mechanism to improve icon and label loading performance
...
Bug: 185207505
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I73dba5e40783f9ef4cfc0c4c33ea56b12754535d
2021-04-15 02:20:14 +00:00
Peter Wang
1812aabcec
Merge "Change DSDS dialog confirm text from "Continue" to "Yes"" into sc-dev
2021-04-15 01:49:12 +00:00
YUKAI HUNG
10cd1cd6e6
Merge "Load application icon and label for UID battery consumer type" into sc-dev am: a73e40cb74
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14185087
Change-Id: I890e8b75650f31dd0e285615bf40a2fcc91047ff
2021-04-15 01:24:27 +00:00
YUKAI HUNG
a73e40cb74
Merge "Load application icon and label for UID battery consumer type" into sc-dev
2021-04-15 01:04:00 +00:00
Curtis Belmonte
91f88d6186
Add a config for the face enroll introduction activity
...
Test: manual
Bug: 185426108
Change-Id: I42e1f8dd5a20e8066fbd1374283acc1228427d45
2021-04-14 17:39:02 -07:00
Peter Wang
6e61073864
Change DSDS dialog confirm text from "Continue" to "Yes"
...
Bug: 131169645
Bug: 184769109
Test: N/A
Change-Id: Ide709c83459ec955739daa0f23167aa72a5665a9
2021-04-14 13:43:26 -07:00
Julia Reynolds
d843a380f6
Merge "Restyle notif history to beter match shade" into sc-dev am: a12666a3ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14188053
Change-Id: If7957ff584e3ac15e0360b3307cd4f9104612030
2021-04-14 19:15:02 +00:00
TreeHugger Robot
7593e5b717
Merge "Toggle Power + Volume chord with long press power to assist setting" into sc-dev am: d41c4d3c8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14172389
Change-Id: I62276685b7caed1346f39bd5648a587c0ea4a080
2021-04-14 19:14:44 +00:00
Julia Reynolds
a12666a3ad
Merge "Restyle notif history to beter match shade" into sc-dev
2021-04-14 19:06:33 +00:00
TreeHugger Robot
d41c4d3c8c
Merge "Toggle Power + Volume chord with long press power to assist setting" into sc-dev
2021-04-14 18:49:31 +00:00
Kevin Chyn
f2df938c69
Merge "Revert "Set ConfirmDeviceCredentialActivity non-external in FRP"" into sc-dev am: a328111013
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14172320
Change-Id: I6b0237c99dafb8520eaa92dc7cd621cee7ce0d12
2021-04-14 18:26:04 +00:00
Dmitri Plotnikov
ffbf5d71c8
Merge "Remove references to POWER_COMPONENT_USAGE and TIME_COMPONENT_USAGE" into sc-dev am: 3ac49f0a9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14078240
Change-Id: Ida4310282710b182529e038724a825e5dfd102de
2021-04-14 18:04:56 +00:00
Kevin Chyn
a328111013
Merge "Revert "Set ConfirmDeviceCredentialActivity non-external in FRP"" into sc-dev
2021-04-14 17:56:14 +00:00
Dmitri Plotnikov
3ac49f0a9b
Merge "Remove references to POWER_COMPONENT_USAGE and TIME_COMPONENT_USAGE" into sc-dev
2021-04-14 17:50:25 +00:00
Biswarup Pal
4da3dd1458
Implement controller to disable transcoding cache
...
This is to provide users with control over whether to disable
transcoding cache or not.
By default we keep the transcoding cache enabled.
The controller resides within the Media transcoding settings under
Developer Options.
Test: Manual. Unit tests added.
Bug: 185246580
Change-Id: I5cc85e4a254c87b5c84c32a303e8294c918748c2
2021-04-14 17:15:22 +00:00
Jernej Virag
f74f1dbbc0
Toggle Power + Volume chord with long press power to assist setting
...
Power + Volume chord setting should be toggled together with LPP setting. The LPP setting still remains the source of truth with Power + Volume chord being dependant on it.
Bug: 179673796
Bug: 185205501
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.gestures.*"
Flash image on actual device and manually test toggling.
Change-Id: Ie19ae55db7c6c07533ea6347e0a4e1e4505423e2
2021-04-14 17:03:46 +00:00
Sally Yuen
5e89a42c2a
Merge "Call ColorDisplayManager for Extra Dim/RBC state" into sc-dev am: 182c812b1b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14172316
Change-Id: Id1e92c5cbaae8438d25aefe33ba3d88f9d29cc79
2021-04-14 16:29:45 +00:00
Julia Reynolds
9a238e5124
Restyle notif history to beter match shade
...
Test: manual
Fixes: 184695659
Fixes: 183949048
Fixes: 184695652
Fixes: 185271315
Change-Id: I79a937d7d64e6bdf0014ce3f939e6e96690556b9
2021-04-14 12:28:16 -04:00
ykhung
59da7ab7b1
Load application icon and label for UID battery consumer type
...
Bug: 185187669
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Idb77a1bd48f7f4b66b86ff12c166a204d17bd9ec
2021-04-14 16:16:33 +00:00