Commit Graph

64987 Commits

Author SHA1 Message Date
Edgar Wang
e1186254d4 Add new Always on display slice
Currently we create Always on Display slice through
AmbientDisplayAlwaysOnPreferenceController. However, as the Always on
Display is merged into Idle lock screen, the conversion won't work
properly anymore when devices support the aware sensor.

Hence, we create another custom slice for this purpose.

Bug: 145920511
Test: manual & robotest

Change-Id: Ifd90e2de5219bd4e97aa13b5855fdab95ff6c4d0
2020-06-17 07:52:01 +00:00
Mark Chien
56b98ca21e Merge "Get entitlement configuration from intent extra" into rvc-dev am: 481816a97d am: 9b626fce11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11524847

Change-Id: I292081bbb95489c9210a037842ca820b649ad168
2020-06-17 06:37:33 +00:00
Mark Chien
9b626fce11 Merge "Get entitlement configuration from intent extra" into rvc-dev am: 481816a97d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11524847

Change-Id: I496104d3aff4f6937cf4445c7b0eef272d12e5df
2020-06-17 06:24:22 +00:00
Tim Peng
620253c196 Align Slice Row title icon with Panel icon in output switcher panel am: 7084631b4b am: 38168ef519
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11882401

Change-Id: I72a47cce2ea61afb442f8c8354e4e845a922d994
2020-06-17 06:12:27 +00:00
Mark Chien
481816a97d Merge "Get entitlement configuration from intent extra" into rvc-dev 2020-06-17 06:07:52 +00:00
Tim Peng
38168ef519 Align Slice Row title icon with Panel icon in output switcher panel am: 7084631b4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11882401

Change-Id: I7ef704688ca82229f110e82441213d8344883bea
2020-06-17 05:59:06 +00:00
markchien
e22bd7a2e8 Get entitlement configuration from intent extra
Tethering resource configuration is move from framwork to tethering
module. The resource would not be accessible from outside of tethering
module.
List the replacements of framework resources usage and intent extra:
1. R.string.config_mobile_hotspot_provision_response
    --> android.net.extra.TETHER_PROVISIONING_RESPONSE.
2. R.string.config_mobile_hotspot_provision_app_no_ui
    --> android.net.extra.TETHER_UI_PROVISIONING_APP_NAME
3. R.array.config_mobile_hotspot_provision_app
    --> android.net.extra.TETHER_SILENT_PROVISIONING_ACTION
Besides, the current active subId would put in
android.net.extra.TETHER_SUBID

Note: They are not APIs because of API freeze. Now both tethering module
and Settings define these strings independently. Will replace hard code
string as tethering module-lib APIs in b/159085857.

Also move the entitlement response intent registeration from onCreated
to onStartCommand, this can avoid wrong intent registeration if subId
changed between onCreate and when the intent arrived.

Bug: 146918263
Test: atest TetherServiceTest
      atest TetherProvisioningActivityTest

Change-Id: I3d06df01302a9c1f0893712d9250fe394dc66588
2020-06-17 05:47:17 +00:00
Tim Peng
7084631b4b Align Slice Row title icon with Panel icon in output switcher panel
-Icon size changes and padding needs to be updated
-Apply padding to output switcher panel
-Remove padding from generic slider panel

Bug: 159179348
Test: manual test
Change-Id: I063926f4b22f6aaa1187b78efa570009fe02d5c4
2020-06-17 12:02:26 +08:00
Mark Chien
cb57d2247d Merge "Remove isProvisioningNeededButUnavailable usage" into rvc-dev am: 5bd41e573b am: bb8f08013b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11716805

Change-Id: Ie3a9e582c1dce1e714c2f40f137333fd9eec52f3
2020-06-17 02:58:21 +00:00
Mark Chien
bb8f08013b Merge "Remove isProvisioningNeededButUnavailable usage" into rvc-dev am: 5bd41e573b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11716805

Change-Id: I3c59ccf36d2912c96ef9a2267ebf4742f4765e52
2020-06-17 02:47:31 +00:00
Mark Chien
5bd41e573b Merge "Remove isProvisioningNeededButUnavailable usage" into rvc-dev 2020-06-17 02:29:35 +00:00
Mehdi Alizadeh
dfe74931a5 Merge "Allows IndicatorView to have a different size than Settings Activity" into rvc-dev am: b50512b69a am: 634e0ac8b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11835166

Change-Id: I70f11a1461405518604e9bd1baaa856026927067
2020-06-16 23:27:30 +00:00
Mehdi Alizadeh
29e6eb0513 Merge "Allows IndicatorView to have a different size than Settings Activity" into rvc-dev am: b50512b69a am: eab293354a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11835166

Change-Id: I5e603aa831d709daa4de6a886b2e607410023c48
2020-06-16 23:27:05 +00:00
Mehdi Alizadeh
634e0ac8b3 Merge "Allows IndicatorView to have a different size than Settings Activity" into rvc-dev am: b50512b69a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11835166

Change-Id: I55f36a667b7ce3d790a2a886a59c8add2e26b80c
2020-06-16 23:09:51 +00:00
Mehdi Alizadeh
eab293354a Merge "Allows IndicatorView to have a different size than Settings Activity" into rvc-dev am: b50512b69a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11835166

Change-Id: I022be22ccde5c45748b4e54e6974d1ccb41f3820
2020-06-16 23:09:36 +00:00
Mehdi Alizadeh
b50512b69a Merge "Allows IndicatorView to have a different size than Settings Activity" into rvc-dev 2020-06-16 22:53:25 +00:00
Alex Johnston
eebf47cdec Merge "Wifi details - handle no profile owner" into rvc-dev am: dd1d9c4db0 am: 1a9820c415
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11866803

Change-Id: Iadf29f6056d7563cee6fd943291d42ea5320657f
2020-06-16 19:47:18 +00:00
Alex Johnston
28e4b34ec7 Merge "Wifi details - handle no profile owner" into rvc-dev am: dd1d9c4db0 am: ec64a1d562
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11866803

Change-Id: I67cf0cf480b4baede6e47b8d7958d842282d8714
2020-06-16 19:47:02 +00:00
Alex Johnston
ec64a1d562 Merge "Wifi details - handle no profile owner" into rvc-dev am: dd1d9c4db0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11866803

Change-Id: I6fccaa22cd0c09008619b59a1b6c342c40d869f7
2020-06-16 19:21:58 +00:00
Alex Johnston
1a9820c415 Merge "Wifi details - handle no profile owner" into rvc-dev am: dd1d9c4db0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11866803

Change-Id: I3bb56b01b0a2459bf2c02f23723cc81b0f828cbe
2020-06-16 19:21:53 +00:00
Alex Johnston
dd1d9c4db0 Merge "Wifi details - handle no profile owner" into rvc-dev 2020-06-16 19:06:52 +00:00
TreeHugger Robot
f1363f7809 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: c622fdc7a9 -s ours am: 7032886561 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I02788250d6562d3c15812c4215608ead77984088
2020-06-16 18:18:26 +00:00
TreeHugger Robot
55bc4d6226 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: c622fdc7a9 -s ours am: aa702e7b68 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I335e69f62cb863d5c48cc806c38f92246e9306b5
2020-06-16 18:10:21 +00:00
TreeHugger Robot
ea905acab7 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 565af5abcf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I30407fda8fed7bbcc5ebc7784662471072590d10
2020-06-16 18:10:04 +00:00
TreeHugger Robot
aa702e7b68 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: c622fdc7a9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I95e75a17db6e1dc47c7f258ed09223660ee363bb
2020-06-16 18:02:35 +00:00
TreeHugger Robot
7032886561 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: c622fdc7a9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I98cfcd706acd8f45cd80cfda62993316f03dfbbf
2020-06-16 18:02:26 +00:00
TreeHugger Robot
565af5abcf Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-06-16 17:59:57 +00:00
TreeHugger Robot
c622fdc7a9 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-16 17:40:13 +00:00
Chihhang Chuang
786e814706 Launch WallpaperPicker in a new task[Part2]
Didn't notice com.android.settings.Settings$WallpaperSettingsActivity was also change unexpectedly, we should only add new task for CustomizationPickerActivity only.

Test: Manually
Fixes: 158642941
Change-Id: I9b271d0fbf124d2d38bc52fa99c2c17b0bfc658c
2020-06-16 18:38:04 +08:00
Alex Johnston
10c970c571 Wifi details - handle no profile owner
* If there is no profile owner, then do
  no call DPM method getProfileOwnerAsUser

Bug: 158284193
Test: manual testing
      make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiDetailPreferenceController2Test
Change-Id: Ief1f0b3aa6805d69fc14da8f87a90c9b12bef8c6
2020-06-16 11:05:33 +01:00
Sunny Shao
a92deac94d Workaround for Recent app icon disappear
- Use the ic_home_xxxx.xml to replace the original icon.

Bug: 157623047
Test: manual review
Change-Id: Iffd084cac6a0a40d13d9fd1a8944ef957db450c6
Merged-In: I7a78ba47a0383a5e4c65bd461a15a8425beb1acb
2020-06-16 17:30:32 +08:00
Chihhang Chuang
d4ddbed638 Launch WallpaperPicker in a new task am: 8bed8d3454
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11862433

Change-Id: I074094686a8fabb286573dcc3329b706dd038635
2020-06-16 09:07:04 +00:00
Chihhang Chuang
8bed8d3454 Launch WallpaperPicker in a new task
Wallpaper does not support multi window mode, but launching from
Settings will make it support multi window because the root activity
supports.

Solution: Launch WallpaperPicker in a new task

Test: Manually
Fixes: 158642941
Change-Id: I93a6eaa8c0292e99c54d5278274482075ed007d5
2020-06-16 15:20:59 +08:00
Bill Yi
fe86f916e0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ib4ba0aa1024ba329e8877bd9ddbcb6f8f13db5ee
2020-06-16 05:26:00 +00:00
Bill Yi
22ed18f516 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Id87befbf347bce2fd31a66551b132a40b94f1edd
2020-06-16 04:45:42 +00:00
Chen Xu
ad3d76d953 update description for string transaltion for IT-CMAS requirement am: 88e4c39e83 am: 3d2b11114c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11874284

Change-Id: I2cc07476db21dafeddeb367403928d836adfb93c
2020-06-16 00:45:54 +00:00
Chen Xu
9dbb0177e6 update description for string transaltion for IT-CMAS requirement am: 88e4c39e83 am: 440939d8d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11874284

Change-Id: I74a79be92e1f6fb708efe62d79b7b95fbc2156be
2020-06-16 00:45:17 +00:00
Chen Xu
3d2b11114c update description for string transaltion for IT-CMAS requirement am: 88e4c39e83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11874284

Change-Id: Ief61c9b120b69baeac985af1cfe60fdfc64bcf62
2020-06-16 00:30:03 +00:00
Chen Xu
440939d8d3 update description for string transaltion for IT-CMAS requirement am: 88e4c39e83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11874284

Change-Id: I873fb84c0a0ff3c543f3037c9137300de4f3bc8b
2020-06-16 00:29:56 +00:00
Chen Xu
88e4c39e83 update description for string transaltion for IT-CMAS requirement
Bug: 159062066
Test: Build
Change-Id: I14945535145721c3d035113c3fcba3222fc614b3
2020-06-15 15:42:53 -07:00
Mehdi Alizadeh
2552dffe6e Allows IndicatorView to have a different size than Settings Activity
The transparent IndicatorView need to be immersive fullscreen, while the
underneath activity should not cover the status bar or the nav bar.

Bug: 157747505
Test: Manual test to verify status bar and nav bar are visible.
Change-Id: I6d5a3f53dd3768524700c3e33135fa7dfde839f1
2020-06-15 14:30:39 -07:00
Automerger Merge Worker
569b3b1057 Merge "Merge "Add Smooth Display option to developer in Settings" into rvc-dev am: f9a021511e am: 12471d9484" into rvc-d1-dev-plus-aosp 2020-06-15 09:00:13 +00:00
Automerger Merge Worker
efa8cb6206 Merge "Merge "Add Smooth Display option to developer in Settings" into rvc-dev am: f9a021511e am: 156d912ce2" into rvc-d1-dev-plus-aosp 2020-06-15 09:00:08 +00:00
Amy Hsu
4f3e18d2a0 Merge "Add Smooth Display option to developer in Settings" into rvc-dev am: f9a021511e am: 12471d9484
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11544217

Change-Id: I3f5ccd580d36f2d3573ff5599c4df1c70b85d6a5
2020-06-15 09:00:07 +00:00
Automerger Merge Worker
a8176f3fb2 Merge "Merge "Remove password shards from memory" into rvc-dev am: 01bd0fcaf7 am: 82e9a3d251" into rvc-d1-dev-plus-aosp 2020-06-15 09:00:05 +00:00
Amy Hsu
ae9df5d621 Merge "Add Smooth Display option to developer in Settings" into rvc-dev am: f9a021511e am: 156d912ce2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11544217

Change-Id: I3b2cc86858be209e64c8da37dd1b37552146cfd7
2020-06-15 09:00:03 +00:00
Rubin Xu
ea37b8e32d Merge "Remove password shards from memory" into rvc-dev am: 01bd0fcaf7 am: 82e9a3d251
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11838400

Change-Id: I048d817372f138dd95cfbba76ed637caca9671df
2020-06-15 09:00:00 +00:00
Rubin Xu
634cdf3825 Merge "Remove password shards from memory" into rvc-dev am: 01bd0fcaf7 am: 087ec3447d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11838400

Change-Id: Ibb118e229475324815744c17a98b66eb33ecaa99
2020-06-15 08:59:52 +00:00
Amy Hsu
12471d9484 Merge "Add Smooth Display option to developer in Settings" into rvc-dev am: f9a021511e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11544217

Change-Id: I06f91490e2adea3e9e3347790036730eec4a3ace
2020-06-15 08:46:02 +00:00
Rubin Xu
82e9a3d251 Merge "Remove password shards from memory" into rvc-dev am: 01bd0fcaf7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11838400

Change-Id: I2ff8a9463851852845940ab75fe3202c7739b9a4
2020-06-15 08:45:53 +00:00