Commit Graph

62939 Commits

Author SHA1 Message Date
Sunny Shao
9e4c753b30 Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
  switches in all pages of the special app access

Bug: 155288585
Test: make RunSettingsRoboTests
Merged-In: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
Merged-In: I0731057ec6e77c6a0867784c729c3f5812ef6170
Change-Id: I02c372423287366d0706bcdf7cdecff48db2e22a
2020-07-14 15:06:26 +00:00
Andras Kloczl
57154fbac3 Fix multi user crash when Add guest was tapped multiple times
When "Add guest" got tapped multiple times then the first click starts
the guest creation process which blocks the UI thread for around 2-3
seconds, then triggers the open guest details intent, and the second
tap event starts another guest creation, but it fails (since there
can't be more than 1 guest on the device) and returns null, and in the
openUserDetails we get NullPointerException.

Test: manual test
Video: http://shortn/_i4Dce33yhl
Bug: 160267016
Change-Id: I9a4f0a91295e336d246abe5f5470682a14cb510f
2020-07-14 14:34:57 +01:00
Bill Yi
a58e5de4c9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I3d7b397ba8a39c5f6a7ac75e0fa505be39b48775
2020-07-14 04:13:50 -07:00
Bill Yi
2532f0b32c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I30a4580a86030d499cdaa42ee082af185543ee6d
2020-07-14 02:03:30 -07:00
Sunny Shao
573599b628 Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
  switches in all pages of the special app access

Bug: 155288585
Test: make RunSettingsRoboTests
Merged-In: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
Merged-In: I85842db3faa558ea61bc878ca76ff6d8ce1a4b03
Change-Id: Id873bab7312226a9ea642a6241249c6754059a0b
2020-07-14 07:00:43 +00:00
Sunny Shao
5d73464b76 Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
  switches in all pages of the special app access

Bug: 155288585
Test: make RunSettingsRoboTests
Merged-In: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
Merged-In: I0731057ec6e77c6a0867784c729c3f5812ef6170
Change-Id: I0731057ec6e77c6a0867784c729c3f5812ef6170
2020-07-14 13:40:51 +08:00
Sunny Shao
c9dff4b097 Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
  switches in all pages of the special app access

Bug: 155288585
Test: make RunSettingsRoboTests
Merged-In: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
Change-Id: I0731057ec6e77c6a0867784c729c3f5812ef6170
2020-07-14 10:27:20 +08:00
TreeHugger Robot
8fca94f56c Merge "Restore original importance when unblocking notif channel" into rvc-qpr-dev 2020-07-13 23:34:13 +00:00
Julia Reynolds
2700b83c48 Restore original importance when unblocking notif channel
Test: atest
Fixes: 62355992
Change-Id: I5d764d0ade68b2ce5708ae79e9ef488ab57bb141
(cherry picked from commit e2a8266328)
2020-07-13 20:13:43 +00:00
Julia Reynolds
1a44a98f34 Update font family
For notification settings, to match the inline settings

Test: manual
Fixes: 153886531
Change-Id: Ie338080bd35a8dc2715330f3b82c272b0be81d54
(cherry picked from commit edb8dd0ec4)
2020-07-13 20:11:20 +00:00
Lucas Dupin
ffda931026 Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a am: 03edb83f56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974

Change-Id: Id71cee5d2db2623b3d66203075d4c34405322bed
2020-07-13 17:13:39 +00:00
Lucas Dupin
03edb83f56 Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974

Change-Id: I4fc62150f05b1d59bcd77fe7566dd334f1d8931d
2020-07-13 16:55:39 +00:00
Lucas Dupin
9b01b8510a Merge "Delete media feature flag" into rvc-dev 2020-07-13 16:44:15 +00:00
TreeHugger Robot
a1bd62eb2e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 8539f2ac35 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iee0af28a4ca9f2b681ded43a5a027998b62ed2c2
2020-07-10 22:47:58 +00:00
TreeHugger Robot
8539f2ac35 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-07-10 22:35:54 +00:00
TreeHugger Robot
35e0d32d0e Merge "Increase expand/collapse tap target" into rvc-qpr-dev 2020-07-10 21:54:53 +00:00
Bill Yi
d76e6deb71 [automerger skipped] Import translations. DO NOT MERGE am: d7102ca072 -s ours am: 046179f99d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6dae441fc496054f6b17587df5a382783ce495e0
2020-07-10 21:09:14 +00:00
Bill Yi
bb75ff2633 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I93a781244f823ee7229205de4865c2d05d8353d6
2020-07-10 14:04:22 -07:00
Bill Yi
046179f99d [automerger skipped] Import translations. DO NOT MERGE am: d7102ca072 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie91b8ab65774a191f4ac89c4c27680faa27faa5c
2020-07-10 20:55:28 +00:00
Julia Reynolds
0bdffb98c3 Increase expand/collapse tap target
Fixes: 157160901
Test: manual with voice a11y service
Change-Id: Ic1cdd3ee4f22d66d76718fae11304a0d6128def2
(cherry picked from commit bfab43571d)
2020-07-10 19:34:06 +00:00
Bill Yi
d7102ca072 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I1857033f45c9da5e4cc646d0e3f0afdc295cd71a
2020-07-10 11:54:14 -07:00
Sunny Shao
a4afb4742a Fix toggle widget can be switched under overlapped view am: 4794b798c4 am: cfffebd5c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562

Change-Id: I3d40e9a076e79bbf55eb81a616cfb9a583a8ea8c
2020-07-10 07:22:04 +00:00
Sunny Shao
cfffebd5c4 Fix toggle widget can be switched under overlapped view am: 4794b798c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562

Change-Id: I767f72eae29753c9936c505b6c6348650ef6b3c6
2020-07-10 07:09:34 +00:00
Sunny Shao
4794b798c4 Fix toggle widget can be switched under overlapped view
- ag/11612781 added filterTouchesWhenObscured to toggle widget
  can't prevent the click behavior pass through the overlapped view.
- Due to click events was handled by SwitchPreference instead of the
  toggle widget.
- Enable the filterTouchesWhenObscured attribute on all
  SwitchPreferences in all pages of the special app access.


Bug: 155288585
Test: manual test
Here is the test steps
  1.Create an overlapped view's app and launch it to overlap the
    other apps.
  2.Launch Settings
  3.Goto Apps & notification > Advanced > Special app access
  4.Click any toggle under Special app access to monitor it can be
    switched or not. It must be not switched.
Change-Id: I9c9cf4719153292ed03f55a6eb9d3a308677aee3
2020-07-10 06:11:24 +00:00
Lucas Dupin
42219fb395 Delete media feature flag
The feature will always be available, even for users who disabled it
on Beta 1.

Bug: 160826507
Test: manual
Test: MediaControlsParentPreferenceControllerTest
Test: MediaControlsPreferenceControllerTest
Change-Id: Ia2835e7c8156d753a8f8fbf248f2509003309fd2
2020-07-09 11:57:27 -07:00
Lyn Han
4d1ded8fba Merge "Vertical-center bubble preference button content" into rvc-qpr-dev 2020-07-09 17:04:47 +00:00
TreeHugger Robot
3879ddd019 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 1801f5247e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6cf2ea38f98ac282d0387c0142967b60db9220ed
2020-07-09 02:00:01 +00:00
TreeHugger Robot
1801f5247e Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-07-09 01:48:46 +00:00
TreeHugger Robot
34f5e2c07c [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: ce1c1d3767 -s ours am: c385028769 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0e949f9513e50f1a5d5fa7773abc1fb6eb20dbcb
2020-07-09 01:01:23 +00:00
TreeHugger Robot
c385028769 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: ce1c1d3767 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2195f10ee28ab969e107a3e78631754986eed8eb
2020-07-09 00:51:22 +00:00
TreeHugger Robot
ce1c1d3767 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-07-09 00:44:15 +00:00
Bill Yi
1ca49e59f9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I6c8b22ec45953bd3cf1e59a93258a81f5cffe69b
2020-07-08 17:27:24 -07:00
Bill Yi
042f3d1bf5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I060d248cade273ee2298f9bac0b95ab64aed1689
2020-07-08 15:15:50 -07:00
Lyn Han
3527730a64 Vertical-center bubble preference button content
Fixes: 160517101
Test: manual
Change-Id: I7a6ed455125a655e1199be95d954821dea5e0ace
2020-07-08 20:59:25 +00:00
TreeHugger Robot
76c4de9b32 Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429 am: ad90366eef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286

Change-Id: I68fc9122aa6ae1f98f57ef41503aee9be46d2269
2020-07-08 18:33:46 +00:00
TreeHugger Robot
ad90366eef Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286

Change-Id: I1319699912f7b7d332c0680670598179b5f8b522
2020-07-08 18:22:00 +00:00
TreeHugger Robot
28a5c00429 Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev 2020-07-08 18:09:09 +00:00
Jason Chiu
eaf1564d9f Guard against SecurityException of accessing to slice uri
- Sometimes unregistering a Slice callback will have no permission to
unpin the Slice uri and throw an exception.
- Guard against the exception as the first solution.

Bug: 159722324
Test: robotest
Change-Id: Ic227331fef64c3fa6fe3e4442fba2a9b754d520d
2020-07-08 11:28:33 +00:00
Zhen Zhang
f2c65caa4c Merge "Fix bug: "Hotspot & Tethering" preference doesn't get updated" into rvc-dev am: 05ae65b7b0 am: c570eb8c9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12052065

Change-Id: I20c9dc4af83fdf232db45990617c49d2283ad88f
2020-07-06 19:17:44 +00:00
Zhen Zhang
c570eb8c9a Merge "Fix bug: "Hotspot & Tethering" preference doesn't get updated" into rvc-dev am: 05ae65b7b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12052065

Change-Id: I5b0fbdb7f52f6570f273bc4510cd0fdecf2f7a63
2020-07-06 19:04:48 +00:00
Zhen Zhang
05ae65b7b0 Merge "Fix bug: "Hotspot & Tethering" preference doesn't get updated" into rvc-dev 2020-07-06 18:54:47 +00:00
TreeHugger Robot
031b9fe646 Merge "Fix sketchy bubble preference button" into rvc-qpr-dev 2020-07-06 13:43:52 +00:00
Jason Chiu
7ac5f24a1d Merge "Fix the exception of accessing an ArrayMap" into rvc-dev am: 98eedf79d5 am: 6417468179
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042287

Change-Id: Iab3cf8d2f65d676c9b254a8b4f47abc3bd28cfe4
2020-07-06 03:19:19 +00:00
Stanley Wang
be2838c636 Merge "Fix the bug of showing the "Smooth display" item in the search result." into rvc-dev am: 6458ea872c am: 2af4f657bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065563

Change-Id: Ie0b0ec0b4d11a2a8853504c47655173d07adc4e9
2020-07-06 03:19:03 +00:00
Jason Chiu
6417468179 Merge "Fix the exception of accessing an ArrayMap" into rvc-dev am: 98eedf79d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042287

Change-Id: I591401d5f239885d25ba43b99e962341f90bda1c
2020-07-06 03:03:50 +00:00
Stanley Wang
2af4f657bb Merge "Fix the bug of showing the "Smooth display" item in the search result." into rvc-dev am: 6458ea872c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065563

Change-Id: Iac0ec59e405443bc1edcb142f6c0f6f194b8ca30
2020-07-06 03:03:37 +00:00
Jason Chiu
98eedf79d5 Merge "Fix the exception of accessing an ArrayMap" into rvc-dev 2020-07-06 02:48:31 +00:00
Stanley Wang
6458ea872c Merge "Fix the bug of showing the "Smooth display" item in the search result." into rvc-dev 2020-07-06 02:45:51 +00:00
TreeHugger Robot
6488a3dccd [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: f2528db4de -s ours am: 32cca3cb83 -s ours am: 609664b8c4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I13455b4db6b77915d923c8d90ddcecbe9298d44a
2020-07-06 00:25:46 +00:00
TreeHugger Robot
609664b8c4 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: f2528db4de -s ours am: 32cca3cb83 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I04ee9c383b853e21da8e0fe93b2fabde40aab270
2020-07-06 00:16:45 +00:00