Commit Graph

62148 Commits

Author SHA1 Message Date
Fabian Kozynski
5a91550b9d Merge "Use PackageManager.FEATURE_CONTROLS to decide availability" into rvc-dev am: 43527ef8f4
Change-Id: If7d9bc00bffb5faaaa8541ea37c145d8d0f7a1fe
2020-06-01 20:38:19 +00:00
Fabian Kozynski
43527ef8f4 Merge "Use PackageManager.FEATURE_CONTROLS to decide availability" into rvc-dev 2020-06-01 20:21:36 +00:00
Julia Reynolds
e32e6cc981 Some text polish
- Update styles and alignment

Test: manual
Fixes: 157769522
Change-Id: I92113b5e7a918e1ec31acb64aa10457f4c762760
2020-06-01 14:57:30 -04:00
TreeHugger Robot
a1e25f1424 Merge "Hide header if no items present" into rvc-dev am: 729c6c64a9 am: 101209195e
Change-Id: Ide10a7a98bd35e08f41c4fb134be9438e9adeec2
2020-06-01 16:39:50 +00:00
TreeHugger Robot
101209195e Merge "Hide header if no items present" into rvc-dev am: 729c6c64a9
Change-Id: I8d4d7931e5c33c31126cd734ab496e6365a4dd29
2020-06-01 16:27:43 +00:00
TreeHugger Robot
729c6c64a9 Merge "Hide header if no items present" into rvc-dev 2020-06-01 16:16:53 +00:00
TreeHugger Robot
03d79f43ae Merge "Improve multi user functionality for restricted users" into rvc-dev am: f1fbba45d3 am: 48e8670c1f
Change-Id: Ia2470cc6c6ec219b841c9970da83b6a64ff736f5
2020-06-01 15:52:48 +00:00
TreeHugger Robot
48e8670c1f Merge "Improve multi user functionality for restricted users" into rvc-dev am: f1fbba45d3
Change-Id: Ic63b42684105818f922240262d2b1dc684a167e6
2020-06-01 15:41:31 +00:00
TreeHugger Robot
f1fbba45d3 Merge "Improve multi user functionality for restricted users" into rvc-dev 2020-06-01 15:29:34 +00:00
TreeHugger Robot
609e603554 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 5231e5f532 -s ours am: 96b38691f2 -s ours
am skip reason: subject contains skip directive

Change-Id: I836b24dc640185b19ec30f0bf54f6dbda11c77cd
2020-06-01 14:54:48 +00:00
TreeHugger Robot
8c73f862ca [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 071a6c3f45 -s ours am: e2b3a09ede -s ours
am skip reason: subject contains skip directive

Change-Id: I4f8079dbeb957aa65ec85c683b5fd9cd87863df4
2020-06-01 14:54:04 +00:00
TreeHugger Robot
96b38691f2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 5231e5f532 -s ours
am skip reason: subject contains skip directive

Change-Id: I56bd9393b988209e819594bd2fcca4a339f7afd1
2020-06-01 14:42:36 +00:00
TreeHugger Robot
e2b3a09ede [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 071a6c3f45 -s ours
am skip reason: subject contains skip directive

Change-Id: Iab64f47da2a749f3541c57f39de6365f0736a3e9
2020-06-01 14:42:28 +00:00
TreeHugger Robot
5231e5f532 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-01 14:28:15 +00:00
TreeHugger Robot
071a6c3f45 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-01 14:25:34 +00:00
Julia Reynolds
2545b4aa3d Hide header if no items present
Test: atest
Fixes: 157093918
Change-Id: If4f86ff71fc5e961e36e5485186d247546355174
2020-06-01 09:24:18 -04:00
Yi-Ling Chuang
3e9fb7c765 Remove High usage battery tip from Settings homepage.
Remove this card since it is not actionable.

Fixes: 157131344
Test: robotests
Change-Id: I562e4bec84429f885911bd99461edbe10bad537a
2020-06-01 19:06:16 +08:00
Hugh Chen
bf1de21131 Fix output switch will show empty slice
Use MediaDevice in the list to add row instead of use connectedDevice.
Becauae connectedDevice that got from getCurrentConnectedMediaDevice()
could be null.

Bug: 157611605
Test: make -j42 RunSettingsRoboTests
Change-Id: Ib51e3e436e65a9aaa5a35488191b8b2ad9cb6a4b
2020-06-01 16:31:52 +08:00
SongFerng Wang
893107fc60 Revert "EnabledNetworkModePreferenceController Remove AllowedNetworkType"
This reverts commit 259e6288c9.

Reason for revert: Sooraj will implement another API for power manager.
Bug: 156709797
Change-Id: I15ee2799574cdf0318e593500f0dbfbf135d71f8
2020-06-01 06:25:13 +00:00
Bill Yi
078dbf10d3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I8d1ab464e892ee0446a62b204589751393f16785
2020-06-01 01:13:16 +00:00
Bill Yi
b595029a27 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I2f3778b1f3d68560e9f6878c3187aaa16c379697
2020-06-01 00:34:19 +00:00
Julia Reynolds
cba4ebdf85 Merge "Only show Bubbles link for messaging apps" into rvc-dev am: 73b6bfc1e8 am: 9be31ce9ef
Change-Id: I5ce3c87da0932c5cf261d7e54ea707df1956331e
2020-05-31 19:21:40 +00:00
Julia Reynolds
9be31ce9ef Merge "Only show Bubbles link for messaging apps" into rvc-dev am: 73b6bfc1e8
Change-Id: Ied54b377c639d4beeff1d0f576f426f55b110fdc
2020-05-31 19:08:20 +00:00
Julia Reynolds
73b6bfc1e8 Merge "Only show Bubbles link for messaging apps" into rvc-dev 2020-05-31 18:57:41 +00:00
Robert Luo
9851295961 Fix RTL alignment issue in the "How it works" page of Contactless
payment settings

Bug: 156717675
Screenshot: https://screenshot.googleplex.com/RpqdmjhmTaP.png
Test: make -j42 RunSettingsRoboTests
Change-Id: I12064adb2c510d281358f22e6ee1de9682079fcd
2020-05-31 13:41:54 +08:00
Julia Reynolds
4c3c1bd21b Add a bubbles content description am: 4029f92f12 am: ff85c188d8
Change-Id: Iadf9904e2e633e2dcf203984bf118cb4077e6f5e
2020-05-29 22:38:15 +00:00
Julia Reynolds
ff85c188d8 Add a bubbles content description am: 4029f92f12
Change-Id: I2bb8406aca20a1052379b6c4cf06608785363ee9
2020-05-29 22:25:38 +00:00
Julia Reynolds
4029f92f12 Add a bubbles content description
Test: manual with a11y service
Fixes: 155262236
Change-Id: Ib4c9650e1d90c4681ca721df3fde58ffc9430078
2020-05-29 20:47:40 +00:00
TreeHugger Robot
80d380642a Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: 6edf2c6880
Change-Id: Ic575e76cec73fa88a5e8b37ade85c573b9d33a43
2020-05-29 19:35:10 +00:00
TreeHugger Robot
6edf2c6880 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d
Change-Id: I6796116ad2492780d55355b10c52469b3123bf14
2020-05-29 19:18:18 +00:00
TreeHugger Robot
b7c1c4e30d Merge "Update DND add bypassing app string" into rvc-dev 2020-05-29 19:06:22 +00:00
Julia Reynolds
3d613bb6c9 Only show Bubbles link for messaging apps
Apps that have sent at least one valid conversation

Test: manual, atest
Fixes: 156033178
Change-Id: If4fff6810f2e390ba0ad0f7587b8d8c2d5819c93
2020-05-29 14:51:06 -04:00
Fabian Kozynski
d0d07ddceb Use PackageManager.FEATURE_CONTROLS to decide availability
Using this features, some of the Preference in Power Menu Settings can
change their availability and their summary.

Test: Robotest Settings
Fixes: 157244528
Change-Id: I704438dda181aa6347c3f168ac5ef6bd16148993
2020-05-29 13:12:08 -04:00
Beverly
77f8c4add6 Update DND add bypassing app string
Test: manual
Bug: 153363351
Change-Id: I521b2e0ef1b17afa353e3a0a187366d59774a75f
2020-05-29 12:53:57 -04:00
Andras Kloczl
106431e525 Improve multi user functionality for restricted users
- Restricted users can change their name
- Improved App&Content access screen
- Remove "Turn on phone calls" from restricted user detail page

Doc: http://shortn/_Prb3SJ3xJ3
Bug: 142798722
Test: Run robo tests with this command:
  make -j64 RunSettingsRoboTests
Change-Id: I2aadf32aef52ba5ad0db7aa0cd83bac9d9941589
(cherry picked from commit f4759e00d5)
2020-05-29 12:55:18 +00:00
TreeHugger Robot
014dfa68b1 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1
Change-Id: Ibff5f4f7b700f8b59295ae859c2ef9bae2c7bcf3
2020-05-29 12:13:22 +00:00
TreeHugger Robot
3d735f0aa1 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641
Change-Id: Ifc9b6dbdf16b9d8f92ffdbfacf62fff3351a52a8
2020-05-29 12:01:23 +00:00
TreeHugger Robot
ff35a3e641 Merge "Fix the janky transition of contextual cards." into rvc-dev 2020-05-29 11:51:51 +00:00
TreeHugger Robot
e9f3f563d2 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949
Change-Id: I0cbc5cb536d588f5e6a160ebe220cc227e11650b
2020-05-29 11:25:51 +00:00
Rubin Xu
430afe19cb Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17
Change-Id: Ia8f9f5395dc7ea63e9a3407a842965b1fd6c82af
2020-05-29 11:25:40 +00:00
TreeHugger Robot
609a4aa949 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
Change-Id: I6e99a73c8c0eb5745b39f592cae2d4f3d9e71bd1
2020-05-29 11:10:34 +00:00
Rubin Xu
085509cb17 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
Change-Id: I1539235ffb0b4776a4b521c96e69d637ae9603e1
2020-05-29 11:09:46 +00:00
TreeHugger Robot
1e0bb9f528 Merge "Cleanup notification channel slice" into rvc-dev 2020-05-29 10:55:53 +00:00
Rubin Xu
c3b12c3b00 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev 2020-05-29 10:44:18 +00:00
Yi-Ling Chuang
bed0f23940 Fix the janky transition of contextual cards.
When contextual cards are being laid out, there are two separate layout
transitions, which brings users the feeling of slowness.

In the current design, we bind slices in the adapter's
onBindViewHolder(), where slice's binding is acutally done in the
background thread and it's time consuming. So before getting the
callback from the slice framework to have actual contents, the view is
empty but the viewholder is already created. So the RecyclerView would
treat it as completed and starts to lay them out. This introduces the
first time transition. Once we get the actual slice content, the view
will be refreshed and laid out, which is the second time transition.

To tackle this, this CL caches slices that are created at pre-check
time, and use them to render before getting updated slices to fill up
the gap.

Fixes: 156372414
Test: robotest and launch settings to see the transition being smooth.
Change-Id: Ic0a27ff36f1824de499b75ec73b2635de9cbe6b5
2020-05-29 18:28:45 +08:00
Jason Chiu
d06333167d Cleanup notification channel slice
Fixes: 144897605
Test: robotest

Change-Id: I1b654f31c6b001ef6f1eed95a87ca0b2dd1afc2e
2020-05-29 17:35:22 +08:00
Bonian Chen
fb4a0c25e0 [Settings] Avoid crash when switch SIM during PIN lock
PIN lock status are stored without subscription ID mapping on it.
Which makes SIM status change can't be processed correctly.

Through storing the subscription ID for PIN lock screen, dialog can be
reset when SIM status changed and crash can be avoided.

Bug: 155852345
Test: manual
Change-Id: Ic520bc34c5a460b4fcd199cd524b180d307e9ab4
2020-05-29 17:09:04 +08:00
TreeHugger Robot
424c5ad859 Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: ef95b4781b
Change-Id: Ib171336f52c20fc7434cc8adb449df14d7ca9a91
2020-05-29 07:15:25 +00:00
TreeHugger Robot
5e9d33f731 Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: 29e0d389bf
Change-Id: Ia55db34ee4d7facbfabc46f7133703569cb172fc
2020-05-29 07:14:59 +00:00
TreeHugger Robot
ef95b4781b Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20
Change-Id: Ie3409d93df4c63857cfdbd8bf5d5b263f4bd390c
2020-05-29 06:50:02 +00:00