Commit Graph

100968 Commits

Author SHA1 Message Date
Alan Huang
f1ecb4fb48 Add setting page for the Spatial audio
The Spatial audio settings page control the state for the phone speaker
and the wired headphones

Test: make RunSettingsRoboTests

Bug: 220811398
Change-Id: I49e3fab48186d09357a8481652bdccb4aa5d044a
2022-03-08 02:06:09 +00:00
Chaohui Wang
45a0eb3483 Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e am: da41990efb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: I4b2f2d7731eb275e35dd3346c167e1df26c5c63e
2022-03-07 14:32:21 +00:00
Chaohui Wang
05bf0dcd6b Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: If7386dd2208592387d6e2d8cba015c70b29b7951
2022-03-07 14:10:56 +00:00
Chaohui Wang
da41990efb Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Icc04050787294eda3076b3368415a85cfcc02163
2022-03-07 14:07:03 +00:00
Chaohui Wang
768a07fb9e Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: I77465e94b94f274117f7555f580fc74fe9fb2762
2022-03-07 13:36:16 +00:00
Chaohui Wang
64774540f2 Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Icd2c470bbbc7144404b513beef5c6785eab8ca86
2022-03-07 13:06:22 +00:00
Chaohui Wang
18e2057de2 Merge "Fix Other default preferences alignment" am: c73dfdb858
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Ifa8dfd7f0d452b9e8e47e719eefadf26eee4309f
2022-03-07 12:41:09 +00:00
Chaohui Wang
c73dfdb858 Merge "Fix Other default preferences alignment" 2022-03-07 12:21:12 +00:00
Chaohui Wang
71f2d6d44c Fix Other default preferences alignment
Bug: 222333696
Change-Id: Icdcfff728c891b81d3976f3d625aa93b5154198c
Test: Manual on Pixel device
2022-03-07 09:36:14 +00:00
SongFerng Wang
3da26e1ce8 Merge "In E+E, the user can't enable the PSIM" into tm-dev am: bdd37ce348 am: b5e8c78adb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092188

Change-Id: I3f6ad6b92a8f9c4a37f70527c0e278a27bcbfd4c
2022-03-07 08:18:47 +00:00
SongFerng Wang
3254fc9703 Merge "In E+E, the user can't enable the PSIM" into tm-dev am: bdd37ce348
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092188

Change-Id: I2adc398e5c374cb9efd55778da1ff8c64ee96cfb
2022-03-07 07:56:40 +00:00
SongFerng Wang
b5e8c78adb Merge "In E+E, the user can't enable the PSIM" into tm-dev am: bdd37ce348
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092188

Change-Id: I001b72a18faa2a29279cf74a2fec1f633d3f7451
2022-03-07 07:55:29 +00:00
SongFerng Wang
bdd37ce348 Merge "In E+E, the user can't enable the PSIM" into tm-dev 2022-03-07 07:32:57 +00:00
TreeHugger Robot
19cd7f97b4 Merge "p2p: Close the channel when onStop is called." into tm-dev am: 8f8e9c98f4 am: e2daf9fe76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986446

Change-Id: I4c912034e04b6dc73f2defc8c14f3c8784b9089e
2022-03-07 07:24:50 +00:00
TreeHugger Robot
838fe4fe3c Merge "p2p: Close the channel when onStop is called." into tm-dev am: 8f8e9c98f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986446

Change-Id: Ic323b7acee01ff8c7526ea10804de1395bd92f93
2022-03-07 07:00:55 +00:00
TreeHugger Robot
e2daf9fe76 Merge "p2p: Close the channel when onStop is called." into tm-dev am: 8f8e9c98f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986446

Change-Id: Ie6c1ac6d7df31802f8b4e791bd01bf0abd587697
2022-03-07 06:59:41 +00:00
Stanley Wang
4da5ad1405 Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05 am: 0b84af4f7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: Id91e253decf27c9e430a16b0440cc2b2666ad4cd
2022-03-07 06:49:57 +00:00
TreeHugger Robot
8f8e9c98f4 Merge "p2p: Close the channel when onStop is called." into tm-dev 2022-03-07 06:40:05 +00:00
Stanley Wang
0b84af4f7d Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: Id21ed0f41820ff296c9d46099857edb2ad49a5f5
2022-03-07 06:28:39 +00:00
Stanley Wang
9fe433e219 Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: I164e93b8d1db1ce5032ac83fb6ff6ea59bf9c3dd
2022-03-07 06:28:28 +00:00
Stanley Wang
96d82e3d05 Merge "Fix the problem that the autofill could be searched." into tm-dev 2022-03-07 06:11:52 +00:00
SongFerngWang
68cfaafe73 In E+E, the user can't enable the PSIM
In the E+E and there is the empty slot, the user can't enable PSIM.
Since the settings can't set the correct simSlotMapping.

Bug: 222231991
Test: atest UiccSlotUtilTest (All passes) and Build pass
Change-Id: Ia261e3b41c6c4a43a5429815d93ae9f6ff16f0ec
2022-03-07 12:44:00 +08:00
Jimmy Chen
78a0f6f98e p2p: Close the channel when onStop is called.
P2P dialog is moved to an indenpendent activity, it will push Settings
to background and trigger onPause(). As P2P dialog is a Dialog Activity,
it won't trigger onStop, but SoftAp and NAN activity will. Moving
channel closing to onStop to adapt to new P2P dialog design.

Bug: 219406778
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest
      create a p2p connection between 2 devices with this build.
Change-Id: I2fab5aa1021ec1a993f811c7310079db9d7f03c0
2022-03-07 10:44:04 +08:00
PETER LIANG
cff01f86ae Merge "Move the "Dark theme" preference into the "Color and Motion" page." into tm-dev am: a92e6d8987 am: 3aae0b58d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050402

Change-Id: I9adc3117f979dbda390f19675691ddf46af41b34
2022-03-06 17:08:51 +00:00
PETER LIANG
7e8bb4619b Merge "Move the "Dark theme" preference into the "Color and Motion" page." into tm-dev am: a92e6d8987
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050402

Change-Id: I15c8fc71a54898a0ee8207f910d24fa088df605a
2022-03-06 16:46:47 +00:00
PETER LIANG
3aae0b58d9 Merge "Move the "Dark theme" preference into the "Color and Motion" page." into tm-dev am: a92e6d8987
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050402

Change-Id: Id7daa4a35a37fc52804532a65c0775ff1ba879b2
2022-03-06 16:45:33 +00:00
PETER LIANG
a92e6d8987 Merge "Move the "Dark theme" preference into the "Color and Motion" page." into tm-dev 2022-03-06 16:23:08 +00:00
TreeHugger Robot
bd0f0e127c Merge "Remove no reference code" into tm-dev am: 73b858db47 am: d39dbd2bf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17071790

Change-Id: Ifca138abd22e36d62df8f5272b6bafe6d9b7d0cb
2022-03-05 08:06:56 +00:00
TreeHugger Robot
b8fe10e1b1 Merge "Remove no reference code" into tm-dev am: 73b858db47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17071790

Change-Id: Ifd9ce6c876105fa1db0256b33ef308ae7e65b1da
2022-03-05 07:42:19 +00:00
TreeHugger Robot
d39dbd2bf9 Merge "Remove no reference code" into tm-dev am: 73b858db47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17071790

Change-Id: I8dde2311841502b7a803a26d84df86dbcff5b3e0
2022-03-05 07:41:07 +00:00
TreeHugger Robot
73b858db47 Merge "Remove no reference code" into tm-dev 2022-03-05 07:16:22 +00:00
TreeHugger Robot
6723980f66 Merge "Apply proper icon tinting to dream icons" into tm-dev am: ccf275d55c am: 0bd1cdbee2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17086911

Change-Id: Ib0eeb282d22e52a8564821fc5c35e2a0a7ab44fe
2022-03-05 01:44:47 +00:00
TreeHugger Robot
0bd1cdbee2 Merge "Apply proper icon tinting to dream icons" into tm-dev am: ccf275d55c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17086911

Change-Id: I99bd75c2e1ec33bd523f44bcefdd4a53f11332f8
2022-03-05 01:22:56 +00:00
TreeHugger Robot
c0d5dc01d5 Merge "Apply proper icon tinting to dream icons" into tm-dev am: ccf275d55c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17086911

Change-Id: I50f660d919be39e696c61b414fcb7780de21d30f
2022-03-05 01:22:50 +00:00
TreeHugger Robot
ccf275d55c Merge "Apply proper icon tinting to dream icons" into tm-dev 2022-03-05 00:53:57 +00:00
Lucas Silva
05bb13f94e Fix bug where dream preview image s not reset. am: eddf2b1345 am: f044d6a4e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17083780

Change-Id: I5c58b6dbd11bd79cc7baf246ce37843bdb738b14
2022-03-04 23:19:36 +00:00
Lucas Silva
f044d6a4e6 Fix bug where dream preview image s not reset. am: eddf2b1345
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17083780

Change-Id: I64bbedb1ca48abf2c15857ea9f5418620e417f5d
2022-03-04 22:56:36 +00:00
Lucas Silva
213ffe1c3b Fix bug where dream preview image s not reset. am: eddf2b1345
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17083780

Change-Id: I4e0bbcd4648ab313679faff06f61161098f5d244
2022-03-04 22:56:21 +00:00
Lucas Silva
cf7338c1cf Apply proper icon tinting to dream icons
Test: locally on device
Bug: 222754771
Change-Id: I2998a37db4221f6beaeca591532ccc35d0992b86
2022-03-04 17:50:56 -05:00
Lucas Silva
eddf2b1345 Fix bug where dream preview image s not reset.
When the view is recycled, there may be an old preview image in the view
which should be cleared.

Bug: 222705951
Test: locally on device
Change-Id: I4bb1c176a9a6d04fd41780fa2da09ca685b87d26
2022-03-04 15:35:26 -05:00
Taran Singh
e57896bb4a Merge "Introduce developer option for Stylus handwriting" into tm-dev am: a10dc5280d am: f4a312d1c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972176

Change-Id: Ie542956d9da05857c925643f7c536e658f0c5e06
2022-03-04 18:54:55 +00:00
Taran Singh
f4a312d1c5 Merge "Introduce developer option for Stylus handwriting" into tm-dev am: a10dc5280d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972176

Change-Id: Id0eb05463067ae69cddca56e2ffa80f8d62f4152
2022-03-04 18:32:29 +00:00
Taran Singh
2c52b9d3de Merge "Introduce developer option for Stylus handwriting" into tm-dev am: a10dc5280d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972176

Change-Id: I7ee37918aa8ae20fd7ba5520a522b569e0f43d2c
2022-03-04 18:32:17 +00:00
Taran Singh
a10dc5280d Merge "Introduce developer option for Stylus handwriting" into tm-dev 2022-03-04 18:21:20 +00:00
TreeHugger Robot
21d7d18a41 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-03-04 17:00:07 +00:00
Tsung-Mao Fang
6af43b1412 Remove no reference code
- Remove ControllerTask and ControllerFutureTask.
- Remove ControllerTaskTest and ControllerFutureTaskTest.

Fixes: 222661474
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.dashboard
Change-Id: I36f4e723c40aa59ecb3b087cab11f2a744540812
2022-03-04 20:28:28 +08:00
Xiao Ma
28beed394e Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f am: 60dfd4e89f am: 602ea501a6 am: 1bf408cb37
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: I069d27ad15e199a7061928350d36c0b25ded3f9e
2022-03-04 09:46:06 +00:00
Xiao Ma
c82d7c9d22 Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f am: 60dfd4e89f am: 602ea501a6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: I5a7d5891529db39df54a9a02cdae5d86ae86bac2
2022-03-04 09:24:27 +00:00
Xiao Ma
1bf408cb37 Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f am: 60dfd4e89f am: 602ea501a6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: I6985a37c4ac53638c4c663f5f3c0a7d386a3a390
2022-03-04 09:23:14 +00:00
Xiao Ma
602ea501a6 Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f am: 60dfd4e89f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: Ide96b958cd24eb08aac39fd58d6d9d681b9686b0
2022-03-04 09:01:52 +00:00