Commit Graph

8777 Commits

Author SHA1 Message Date
Tsung-Mao Fang
6182b3cb55 Merge "Update description when device allows guest user" into rvc-dev am: 6b82df2603
Change-Id: Ibc05d7eb541606347e4b3961c13c013a8436e9e3
2020-05-06 09:30:39 +00:00
Tsung-Mao Fang
6b82df2603 Merge "Update description when device allows guest user" into rvc-dev 2020-05-06 09:11:30 +00:00
tim peng
bb12a6425d Merge "Add 12dp padding above the first slice item" into rvc-dev am: 4ed5c3aac4 am: ffe907b29c am: 2b8ebacb02 am: 3cbbd6c8ca
Change-Id: Icf66012189bfbb395e0a8a0ccb3a6193bb1cef7f
2020-05-06 05:51:06 +00:00
tim peng
2b8ebacb02 Merge "Add 12dp padding above the first slice item" into rvc-dev am: 4ed5c3aac4 am: ffe907b29c
Change-Id: Ie58f422242ab9843c61a67cf3f52cf148a4a6f19
2020-05-06 05:21:47 +00:00
tim peng
abbedab72e Merge "Add 12dp padding above the first slice item" into rvc-dev am: 4ed5c3aac4
Change-Id: Id12ae06654eb66e481ff42452fad3643e941e3f5
2020-05-06 05:09:46 +00:00
tim peng
4ed5c3aac4 Merge "Add 12dp padding above the first slice item" into rvc-dev 2020-05-06 05:00:36 +00:00
Tsung-Mao Fang
4cca8db28c Update description when device allows guest user
If device supports guest user mode, app pinning
recommends guest feature to user.

Test: Rebuilt rom and see correct string in app pinning.
Fix: 151332926
Change-Id: I6c03ecfe075fba2f4dedca18f65893f328e680aa
2020-05-06 12:17:23 +08:00
Treehugger Robot
37c9c5b514 Merge "Revise strings as per string UX review" am: 110d7ff721
Change-Id: I523fe708d2ff6cacafec362c05e227ae5dda07c8
2020-05-06 03:23:40 +00:00
Treehugger Robot
110d7ff721 Merge "Revise strings as per string UX review" 2020-05-06 03:06:40 +00:00
Tim Peng
2f47d771fb Add 12dp padding above the first slice item
-Add an extra padding in adapter for dedicated panels
-Add test cases

Bug: 154181365
Test: manual test
make -j50 RunSettingsRoboTests
"adb shell am start -a android.settings.panel.action.INTERNET_CONNECTIVITY"

Change-Id: I65bc26c23ca5a7f1b433c36ac7ddf1a658793719
2020-05-06 09:04:25 +08:00
Amit Mahajan
46ada586e2 Remove hard-coding cellbroadcastreceiver package name.
Test: manual
Bug: 154436403
Change-Id: Id634a88060c63d57316cb8cdb923966a8409db78
2020-05-06 00:16:36 +00:00
Kevin Maurin
5e27487a53 Display "Android Auto" in Connected Devices summary text. am: 6fb790b092 am: 4d66ddb35d am: 3c8d70626c am: 6b609961e1
Change-Id: Ia7f07d8909f82886f260cd18dc1d8de20ddf4452
2020-05-05 23:39:21 +00:00
Kevin Maurin
4d66ddb35d Display "Android Auto" in Connected Devices summary text. am: 6fb790b092
Change-Id: Ia66712b9070df48f9406ad19fc57861d84a5841c
2020-05-05 22:50:18 +00:00
Kevin Maurin
6fb790b092 Display "Android Auto" in Connected Devices summary text.
Android Auto will be exposing a Settings tile under Connected Devices -> Connection Preferences.
If the Setting tile is available, then the summary text will reflect that.

Tested with additional unit tests and manually validated the scenarios by
flashing crosshatch-eng and disabling/enabling the relevant features.

Fix: 153896447
Test: Added unit coverage for new scenarios
Test: make RunSettingsRoboTests
Test: manually verified by flashing crosshatch-eng and disabling/enabling relevant components
Change-Id: I05e0bca1b4c05939114703f868b1c71b76410532
2020-05-05 14:05:05 -07:00
TreeHugger Robot
49be35bcdc Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev am: 4bad98ff09 am: 0fdb52dec8 am: 3f40a2f912 am: 063bf40be9
Change-Id: Iab9b7b2230812865937abf4d1792d3b4eac7291d
2020-05-05 07:22:10 +00:00
TreeHugger Robot
3f40a2f912 Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev am: 4bad98ff09 am: 0fdb52dec8
Change-Id: Ibb2cac35c51e89297a7e3942af9add592e63c04e
2020-05-05 07:00:43 +00:00
TreeHugger Robot
ba3a8b5f27 Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev am: 4bad98ff09
Change-Id: I24002c7786f0cb69922474fa17f1f4828e67f86f
2020-05-05 06:46:28 +00:00
TreeHugger Robot
abd2155a04 Merge "Add a keywords for "Pair new deivce"" into rvc-dev am: d29dd6ca5e am: a8f2a858b8 am: 24b5722d89 am: e44da825c9
Change-Id: Ia047df9b4ad06ffa2e3ea2710b9b166a4e1dfc6b
2020-05-05 06:46:03 +00:00
TreeHugger Robot
4bad98ff09 Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev 2020-05-05 06:42:30 +00:00
TreeHugger Robot
24b5722d89 Merge "Add a keywords for "Pair new deivce"" into rvc-dev am: d29dd6ca5e am: a8f2a858b8
Change-Id: I0b2cbfab0066ff289f889460dc6f21a41524d0cf
2020-05-05 06:14:04 +00:00
TreeHugger Robot
edec7354c6 Merge "Add a keywords for "Pair new deivce"" into rvc-dev am: d29dd6ca5e
Change-Id: Ie48622ecc3976b8517d8e91ebb484b703e2dac9c
2020-05-05 05:58:40 +00:00
TreeHugger Robot
d29dd6ca5e Merge "Add a keywords for "Pair new deivce"" into rvc-dev 2020-05-05 05:39:29 +00:00
Tsung-Mao Fang
67fd2e916d Add a keywords for "Pair new deivce"
In new search version, our search won't show summary anymore.
So, we should add a new keyword so that search can find this
setting with "bluetooth" query.

Test: Rebuilt rom and see "Pair new device" in search
Fix: 15575560
Change-Id: I50b5ab10aafcab423f24341229f69c06b0176643
2020-05-05 12:03:15 +08:00
Tim Peng
40111a5988 Update "Play <APP> to" to "Play <APP> on"
-design changes

Bug: 155345595
Test: build pass
Change-Id: I860673d22c57477bd2505360f0034731b28c7208
2020-05-05 11:01:03 +08:00
Arc Wang
3a1965ec55 Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev am: 032f77052b am: 955ff8831c am: 7acc3f411d am: 34a9e0456d
Change-Id: Ib75386e0b85cdfb36c7895a7112046f8fe644a81
2020-05-05 02:05:58 +00:00
Arc Wang
7acc3f411d Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev am: 032f77052b am: 955ff8831c
Change-Id: I27e9dcac6ea6c8d5927769db26c87f060cc7ebfb
2020-05-05 01:33:07 +00:00
Arc Wang
2a1515ac9b Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev am: 032f77052b
Change-Id: I4444ead097f2c63c6c21be92ca442e0479d0af93
2020-05-05 01:21:40 +00:00
Arc Wang
032f77052b Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev 2020-05-05 01:02:05 +00:00
Julia Reynolds
f17658e703 Update some notification strings am: 9bb55e1084 am: 5e1fc5ecf5 am: cfe2924395 am: 37dc376e8d
Change-Id: I21f56811d99021a159fdc7281ed8a75e72dae3ff
2020-05-04 20:21:41 +00:00
Julia Reynolds
cfe2924395 Update some notification strings am: 9bb55e1084 am: 5e1fc5ecf5
Change-Id: Id041d481dad03b20e70158ec752fa17214b44d4e
2020-05-04 19:45:38 +00:00
Julia Reynolds
9da53fe3b2 Update some notification strings am: 9bb55e1084
Change-Id: I967cf8a9a6b7eac95bab8e1ee90160c282ac2bcc
2020-05-04 19:27:01 +00:00
Marco Ballesio
cb96685c8f Developer option for the app freezer
The app freezer allows the system to suspend execution for cached apps.
Without it an app can receive CPU time even if cached, so this option
will allow developers to test their code when frozen while their apps
are cached.

The new developer option will present a list of alternatives for the
freezer operating mode:

"device default": use device/system settings to determine whether the
                  freezer is to be enabled or not. This is the current
                  behavior, and default value for the option.
"enabled": force freezer on
"disabled": force freezer off

A dialog prompting the user to reboot is presented upon freezer mode
change. The device is automatically rebooted if the user decides to
proceed.

Bug: 155465196
Change-Id: I857b77cc4fc1ad766e8d5825ada9b271d3e1ab3a
Test: manually verifued the option works as intendend when this patch is
applied with its companion CLs

Change-Id: I26450b7b7ea2b345fd3661d4869fbc74ae38c0c9
2020-05-04 11:29:10 -07:00
Julia Reynolds
9bb55e1084 Update some notification strings
Test: manual
Fixes: 155516603
Fixes: 155516894
Change-Id: I86058ebdb473890239236d30414cb05787832311
2020-05-04 10:25:57 -04:00
Lucas Dupin
ef6db613e2 Merge "Create QS media player setting" into rvc-dev am: 7dc7252c15 am: c716801a8d am: d0e6d5421d am: f966f6449a
Change-Id: If04212840be902047e00bea9cb83ae3e399d07bf
2020-05-04 04:48:28 +00:00
Lucas Dupin
d0e6d5421d Merge "Create QS media player setting" into rvc-dev am: 7dc7252c15 am: c716801a8d
Change-Id: I9cd6189b7386b4e0174911219b4fd31f1b8a2686
2020-05-04 04:18:17 +00:00
Lucas Dupin
8c568f2bc2 Merge "Create QS media player setting" into rvc-dev am: 7dc7252c15
Change-Id: I9114fa317a937a6dd39eee4383988aa5dead582e
2020-05-04 04:08:22 +00:00
Lucas Dupin
7dc7252c15 Merge "Create QS media player setting" into rvc-dev 2020-05-04 03:59:28 +00:00
Lucas Dupin
665c36eae2 Create QS media player setting
Test: make RunSettingsRoboTests ROBOTEST_FILTER=QuickSettingsMediaPlayerPreferenceControllerTest
Test: manual
Fixes: 155315021
Change-Id: I2583b985710898d0480f599fc9b5a2451c8950a7
2020-04-30 12:04:23 -07:00
TreeHugger Robot
3062c949bd Merge "Add keyword for app pinning setting" into rvc-dev am: 6debb6a775 am: 631944fe1d am: 45775e72b4 am: e347559116
Change-Id: Ie83f389a5f4935ff60777372491ae49822df5551
2020-04-30 16:58:48 +00:00
TreeHugger Robot
45775e72b4 Merge "Add keyword for app pinning setting" into rvc-dev am: 6debb6a775 am: 631944fe1d
Change-Id: I3700b532220fe0a3e421b58a260bd66740e36220
2020-04-30 16:26:33 +00:00
TreeHugger Robot
503685b948 Merge "Add keyword for app pinning setting" into rvc-dev am: 6debb6a775
Change-Id: I86f6aa578c2224c8069333b5ebf593b5415b1459
2020-04-30 16:07:57 +00:00
TreeHugger Robot
6debb6a775 Merge "Add keyword for app pinning setting" into rvc-dev 2020-04-30 15:49:19 +00:00
Tsung-Mao Fang
d3b4b1043b Add keyword for app pinning setting
We change the "screen pinning" to "app pinning",
and we still want to let user can get same search result
when they query "screen pinning".

Test: Open search and query "screen pinning", see the app pinning result
Bug: 151332926
Change-Id: Ice49d6db39ce89aa84508587262d9529df726784
2020-04-30 21:24:53 +08:00
TreeHugger Robot
74633a27ab Merge "A new ui flow for screen pinning feature" into rvc-dev am: 8da9374ace am: b97b9a1906 am: a382556868 am: e63713e62b
Change-Id: Id2ff912ba2e34be2de088ddeb26da52a8ad1e5e1
2020-04-30 13:08:39 +00:00
TreeHugger Robot
b97b9a1906 Merge "A new ui flow for screen pinning feature" into rvc-dev am: 8da9374ace
Change-Id: Ib6dc8fe0cc36ddce8249e00af7a57664853afdb3
2020-04-30 12:31:26 +00:00
TreeHugger Robot
8da9374ace Merge "A new ui flow for screen pinning feature" into rvc-dev 2020-04-30 12:09:54 +00:00
Jason Chiu
40c474f2a3 Merge "Refine contextual Bluetooth card behavior when Bluetooth is off" into rvc-dev am: 5b260b0bd1 am: e2c798b8a7 am: f2af47b09a am: 5c6132a83c
Change-Id: I2a905847f0c1cecf75a4b342927163040ce8eff0
2020-04-30 11:43:31 +00:00
Jason Chiu
e2c798b8a7 Merge "Refine contextual Bluetooth card behavior when Bluetooth is off" into rvc-dev am: 5b260b0bd1
Change-Id: I7da9e14073cd3e153f2b06432cf85fbe1ae1ff00
2020-04-30 10:57:07 +00:00
Jason Chiu
5b260b0bd1 Merge "Refine contextual Bluetooth card behavior when Bluetooth is off" into rvc-dev 2020-04-30 10:44:06 +00:00
Tsung-Mao Fang
ae661a0782 A new ui flow for screen pinning feature
The purpose of this change is to resolve a number of security issue
around screen pinning.
See more detail go/screen-pinning-allows

There're a few change for Settings app.

- Rename the screen pinning to app pinning.
- Change the string description for app pinning.
- Pop up a warning dialog while user is enabling this feature.

Test: Rebuilt rom and see new ui flow.
Bug: 151332926
Change-Id: Ife07d7b95ab5dccb2aed7f2bc8fa32f97763bd63
2020-04-30 17:28:05 +08:00