Commit Graph

62886 Commits

Author SHA1 Message Date
Robert Luo
1633ae37e7 Apply BLUETOOTH_ADMIN permission for BluetoothDeviceDetailActivity
Bug: 156696236
Test: 1. Manual 2. make -j42 RunSettingsRoboTests
Change-Id: Icbc5879301fec9a7deacd7ee2896fd41b6feab7a
Merged-In: Icbc5879301fec9a7deacd7ee2896fd41b6feab7a
2020-06-09 18:56:46 +08:00
Sunny Shao
818fef48f3 Allows to launch only authenticator owned activities
- 3rd party developers can define himself-authenticator
  and use the accountPreferences attribute to load the
  predefined preference UI.
- If a developer defines an action intent to launch the
  other activity in xml and it would return true due
  to the true exported attribute and no permission.
- To avoid launching arbitrary activity. Here allows
  to launch only authenticator owned activities.

Bug: 150946634
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts
Test: PoC app
Change-Id: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
Merged-In: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
(cherry picked from commit d6d8f98844)
2020-06-09 10:11:04 +00:00
Sunny Shao
e2eab4e258 Allows to launch only authenticator owned activities
- 3rd party developers can define himself-authenticator
  and use the accountPreferences attribute to load the
  predefined preference UI.
- If a developer defines an action intent to launch the
  other activity in xml and it would return true due
  to the true exported attribute and no permission.
- To avoid launching arbitrary activity. Here allows
  to launch only authenticator owned activities.

Bug: 150946634
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts
Test: PoC app
Change-Id: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
Merged-In: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
(cherry picked from commit d6d8f98844)
2020-06-09 10:09:23 +00:00
Stanley Wang
0f96e7b527 Merge "Update "yes" string for German language." into rvc-dev am: 36dd53a0db am: 235b6d4bbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11788801

Change-Id: If800efd915bf3c83c28d932849e664ca1fa98de0
2020-06-09 10:07:28 +00:00
Sunny Shao
c8f92acbfb Allows to launch only authenticator owned activities
- 3rd party developers can define himself-authenticator
  and use the accountPreferences attribute to load the
  predefined preference UI.
- If a developer defines an action intent to launch the
  other activity in xml and it would return true due
  to the true exported attribute and no permission.
- To avoid launching arbitrary activity. Here allows
  to launch only authenticator owned activities.

Bug: 150946634
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts
Test: PoC app
Change-Id: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
Merged-In: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
(cherry picked from commit d6d8f98844)
2020-06-09 10:07:10 +00:00
Sunny Shao
addc1ea1b9 Allows to launch only authenticator owned activities
- 3rd party developers can define himself-authenticator
  and use the accountPreferences attribute to load the
  predefined preference UI.
- If a developer defines an action intent to launch the
  other activity in xml and it would return true due
  to the true exported attribute and no permission.
- To avoid launching arbitrary activity. Here allows
  to launch only authenticator owned activities.

Bug: 150946634
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts
Test: PoC app
Change-Id: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
Merged-In: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
(cherry picked from commit d6d8f98844)
2020-06-09 10:02:25 +00:00
Stanley Wang
235b6d4bbd Merge "Update "yes" string for German language." into rvc-dev am: 36dd53a0db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11788801

Change-Id: I201b697bc0da1473f669a8058054a2e14164797e
2020-06-09 09:49:44 +00:00
Stanley Wang
d1a7a5618e Add the "Smart Lock" item to dynamic index.
- The "Smart Lock" item is a trust agent which comes from
  TrustAgentManager, so add it to dynamic index.

Fixes: 148867137
Test: manual test the search result and run Settings robotest
Change-Id: I7cd3a9df89a9b9378fa49cc2cb2127c778b795f2
2020-06-09 17:48:43 +08:00
TreeHugger Robot
713049c75b Merge "Add extra summary string in cross profiles page" into rvc-dev am: debe9b3577 am: 4b8c7528f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11789922

Change-Id: Icf6279f2f9ce89fdb27fc944e23ac0572906c5c4
2020-06-09 09:38:28 +00:00
TreeHugger Robot
aa860a901a Merge "Add new description to Permission manager in settings" into rvc-dev am: c628df6914 am: a0c05f2651
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11797825

Change-Id: Ie47ecb201dbc6240af61e7f2e179a7fe1f8bcea1
2020-06-09 09:38:15 +00:00
Stanley Wang
36dd53a0db Merge "Update "yes" string for German language." into rvc-dev 2020-06-09 09:35:11 +00:00
TreeHugger Robot
4b8c7528f3 Merge "Add extra summary string in cross profiles page" into rvc-dev am: debe9b3577
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11789922

Change-Id: If0ffa3ba9ba779ad1a91e4b640d2e961d5fa600b
2020-06-09 09:24:52 +00:00
TreeHugger Robot
a0c05f2651 Merge "Add new description to Permission manager in settings" into rvc-dev am: c628df6914
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11797825

Change-Id: Iddab2668f7de47500cd37031389affc2651f5d71
2020-06-09 09:24:27 +00:00
TreeHugger Robot
debe9b3577 Merge "Add extra summary string in cross profiles page" into rvc-dev 2020-06-09 09:16:51 +00:00
TreeHugger Robot
c628df6914 Merge "Add new description to Permission manager in settings" into rvc-dev 2020-06-09 09:10:20 +00:00
Tim Peng
2b4f45574e Apply RangeBuilder amination for media transferring
-Replace transferring string with animation
-Set RANGE_MODE_INDETERMINATE mode when transferring
-Add padding parameter for indeterminate progress bar

Bug: 153615031
Test: make -j42 RunSettingsRoboTests
Change-Id: I11c99aaf0c9d585dc834b06919f062d44eefbf65
2020-06-09 06:48:07 +00:00
TreeHugger Robot
e7770d0bbb Merge "Add blob size to shared data dev options screens." into rvc-dev am: eef7b5e7e3 am: 7014feb9a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11764432

Change-Id: I3cce0bee52484922bba9198ecffbed08dbe53a29
2020-06-09 06:44:13 +00:00
TreeHugger Robot
7014feb9a7 Merge "Add blob size to shared data dev options screens." into rvc-dev am: eef7b5e7e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11764432

Change-Id: Id8ad9c5edcb475c26e3474af7c53ce1422d68291
2020-06-09 06:43:30 +00:00
TreeHugger Robot
eef7b5e7e3 Merge "Add blob size to shared data dev options screens." into rvc-dev 2020-06-09 06:36:21 +00:00
TreeHugger Robot
0a93295af2 Merge "Fix shortcut flags" into rvc-dev am: 01464a1bff am: cc2652c5e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11797526

Change-Id: Ia18605f157581a2c1baf9d2fabac9f8f0631243e
2020-06-08 22:26:28 +00:00
TreeHugger Robot
cc2652c5e9 Merge "Fix shortcut flags" into rvc-dev am: 01464a1bff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11797526

Change-Id: I9e00ad9c654ce922cd3d10803eabc71b0b6f37c1
2020-06-08 22:15:36 +00:00
TreeHugger Robot
01464a1bff Merge "Fix shortcut flags" into rvc-dev 2020-06-08 22:06:20 +00:00
Nate Myren
a1933458c5 Add new description to Permission manager in settings
Fixes: 158125093
Test: Navigate to "Permission manager" in settings (both in privacy, and
in apps & notifications), and verify the summary says "control app
access to your data".

Change-Id: I43f7f38dde119bad96ec9d30a43129e7cacf752a
2020-06-08 13:43:47 -07:00
Julia Reynolds
6534317317 Fix shortcut flags
Test: view the conversation detail page for a conversation
with a posted notification
Fixes: 158033229

Change-Id: I3c51d9565201cb39a5d76d8aaca75c026e630e51
2020-06-08 16:11:23 -04:00
Kholoud Mohamed
8fc0a24bc2 Add extra summary string in cross profiles page
Fixes: 158227594
Test: manual testing
Change-Id: Idd44c690c2a77503173e733a49bc59c1717cbdd5
2020-06-08 16:03:58 +01:00
Stanley Wang
543c9c6f2d Update "yes" string for German language.
Remove the double quote in the string.

Fixes: 156627009
Test: observe the UI
Change-Id: I4659aa88a8f43df2477d5fe7b3dd60869c65f80d
2020-06-08 19:33:51 +08:00
Jakub Pawlowski
56a1f8af20 Prevent overlay drawing on top of Bluetooth discovery request dialog am: c48d63752a am: e61467cd6c am: a44860c880 am: 8e5e16de15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11484059

Change-Id: I390c50aac9d3d497ea51ef7fc13e6ea28a89889a
2020-06-08 06:45:07 +00:00
Jakub Pawlowski
8e5e16de15 Prevent overlay drawing on top of Bluetooth discovery request dialog am: c48d63752a am: e61467cd6c am: a44860c880
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11484059

Change-Id: I62c1f20e1c356284143037088c91c7bc800502bb
2020-06-08 06:26:46 +00:00
Jakub Pawlowski
a44860c880 Prevent overlay drawing on top of Bluetooth discovery request dialog am: c48d63752a am: e61467cd6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11484059

Change-Id: Ib9bde83d8d0d5a81dcde8d7d6723a51d55663610
2020-06-08 06:12:33 +00:00
Jakub Pawlowski
e61467cd6c Prevent overlay drawing on top of Bluetooth discovery request dialog am: c48d63752a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11484059

Change-Id: I3572c16dd2b47189dc26ae4cd99f569d32b6ae2a
2020-06-08 05:55:40 +00:00
TreeHugger Robot
e821924378 Merge "Fix keyboard navigation work in Settings home page" into rvc-dev am: 8a2eb5e8bc am: 5520cb90ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11686086

Change-Id: I4913aa78e4603bb5db638277bb1d8abb668df116
2020-06-08 05:55:39 +00:00
TreeHugger Robot
5520cb90ac Merge "Fix keyboard navigation work in Settings home page" into rvc-dev am: 8a2eb5e8bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11686086

Change-Id: I0f08b2fd1008a50344d6078148247344c2a755b0
2020-06-08 05:43:11 +00:00
TreeHugger Robot
be5a74a808 Merge "Add a new method to set state description" into rvc-d1-dev am: 7d31298291
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11749642

Change-Id: I5ceebe848205ad252462c4c109fb1dd62779c8c5
2020-06-08 05:31:58 +00:00
TreeHugger Robot
8a2eb5e8bc Merge "Fix keyboard navigation work in Settings home page" into rvc-dev 2020-06-08 05:28:24 +00:00
TreeHugger Robot
7d31298291 Merge "Add a new method to set state description" into rvc-d1-dev 2020-06-08 05:18:20 +00:00
Varun Shah
c920a58d5f Add blob size to shared data dev options screens.
Bug: 156671006
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SharedDataPreferenceControllerTest
Test: manual (visual)
Change-Id: Ia98c3d9812f6225ee834b4d1b0f12a1a73a87598
2020-06-05 22:19:26 -07:00
Amy Hsu
b35b78b3b6 Add Smooth Display option to developer in Settings
Force to the highest refresh rate.

Bug: 137064289
Test:$ adb root
$ adb shell "echo 1 > /d/tracing/events/sde/enable"
$ adb shell "echo 1 > /d/tracing/tracing_on"
$ adb shell "cat /d/tracing/trace_pipe" | grep FPS

Change-Id: Ia1f804cbc7e297a85591e6b0f293ca1014301b74
2020-06-06 02:14:20 +08:00
TreeHugger Robot
dd2a87611f [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 03b20f864a -s ours am: 482d852deb -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11743863

Change-Id: I23b6d320506e044249bf667a5854346f097e12ae
2020-06-05 07:14:07 +00:00
TreeHugger Robot
9334270165 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 7dad6cf235 -s ours am: b835dbd0d3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11743867

Change-Id: I030c360851d94f574e65efbf7ce4732111d0948f
2020-06-05 07:14:01 +00:00
TreeHugger Robot
482d852deb [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 03b20f864a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11743863

Change-Id: I572075c34579ce58b9b77800b148d9e815c986aa
2020-06-05 07:01:58 +00:00
TreeHugger Robot
b835dbd0d3 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 7dad6cf235 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11743867

Change-Id: Ia93969192b2eed05da4ba447d9fb67d46695143b
2020-06-05 07:01:50 +00:00
Hugh Chen
2e5e04e79d Add a new method to set state description
- This CL add a new method setSeekBarStateDescription() to set
  the state of seek bar. Because in some case the description of
  seek bar is not align progress of seek bar.
- Add test case

Bug: 157629483
Test: make -j42 RunSettingsRoboTests
Change-Id: I432e6f9deef59756b0a41244d50aaada1ddac6a9
2020-06-05 15:00:45 +08:00
TreeHugger Robot
03b20f864a Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-05 07:00:05 +00:00
TreeHugger Robot
7dad6cf235 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-05 06:43:17 +00:00
Hiroki Sato
8870dcb421 Fix keyboard navigation work in Settings home page
Bug: 156196960
Bug: 156565546
Test: manually confirmed tab or arrow key moves input focus.
Change-Id: Ic2eb6395b490c97c8d82722ce1ba3a79d535ade2
2020-06-05 14:42:34 +09:00
TreeHugger Robot
0c6a063126 Merge "Use the plural format for "See all COUNT apps"" into rvc-dev am: dbec4552f7 am: 8d4fed1447
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11733195

Change-Id: Iac3af36aa3d9d83cff89a80231c4e75701fc9e90
2020-06-05 01:35:50 +00:00
TreeHugger Robot
8d4fed1447 Merge "Use the plural format for "See all COUNT apps"" into rvc-dev am: dbec4552f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11733195

Change-Id: Ibf45d3270e711d76585198c637c1a1b1b80dc782
2020-06-05 01:22:32 +00:00
TreeHugger Robot
dbec4552f7 Merge "Use the plural format for "See all COUNT apps"" into rvc-dev 2020-06-05 01:06:16 +00:00
tim peng
fc39f04709 Merge " “Bluetooth Audio Codec” is not getting listed while searching for it using “keywords” from settings search tab" into rvc-dev am: f4410d3d4e am: 974b242ed5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11700098

Change-Id: I7004865e58be6c4a2c6a3e5bbddad84960d73337
2020-06-05 00:41:15 +00:00
tim peng
974b242ed5 Merge " “Bluetooth Audio Codec” is not getting listed while searching for it using “keywords” from settings search tab" into rvc-dev am: f4410d3d4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11700098

Change-Id: I8efb8a2c906d5862b7d46ab765d1c848733d2f25
2020-06-05 00:14:09 +00:00