Commit Graph

51486 Commits

Author SHA1 Message Date
Fan Zhang
c4083cecd7 Merge "Update search bar background drawable for dark mode" into qt-dev 2019-04-13 00:01:12 +00:00
Fan Zhang
4ce0bf7336 Merge changes from topic "Hide notification channel slice" into qt-dev
* changes:
  Log interacted package from ContextualNotificationChannelSlice
  Hide notification channel slice that is interacted
2019-04-12 23:38:27 +00:00
Jordan Liu
ac4e5dfa53 Merge "Make RadioInfo settings menu work for mSIM" into qt-dev 2019-04-12 23:27:45 +00:00
Fan Zhang
5f27727f42 Merge "Misc bug fixes around search bar in app list UI." into qt-dev
am: 24c02bb50f

Change-Id: Ia2dc1569c15c824a7aa9b964001cf1ed151d841f
2019-04-12 16:25:19 -07:00
lindatseng
1d7db47f2f Merge "Update panel logging to include all hide page cases" into qt-dev
am: 878236f318

Change-Id: I02a6d2f7d3508c4544856af469a96923da203d47
2019-04-12 16:23:11 -07:00
Fan Zhang
7df6445c3e Clean up DND slice in search.
- Remove the controller in SoundSettings, just use the common one.
- Update a bunch of IDs so ZenModeSliceBuilder maps to the toggle
  button in zen_mode_settings.xml

This is needed so the slice intent (left target when shown in search)
is the same as what we index from search side. Previously the search
indexer is finding zen_mode from sound page but the slice itself is
reporting a deep link into zenModeSettings page.

Fixes: 130437726
Test: robotest

Change-Id: Ic41d2d93afa1f748e3282e23010199a0fa078645
2019-04-12 16:11:31 -07:00
Antony Sargent
8eb1660da7 Update intent in SimNotification
When you add/remove a SIM, telephony notifies settings and we pop up a
notification. Tapping on that notification was still leading to our old
SIM cards page, but should instead lead to the Network & internet page
where we've added a bunch of new UI for doing the same sorts of
operations.

Bug: 128859223
Test: manual (remove a SIM or add a SIM in DSDS mode; a notification
telling you that sim cards have changed should pop up, clicking that
should lead to Network & internet page in settings)

Change-Id: I9c1e656dcc3e8fc9147bb99861d8fdc15ed09be9
2019-04-12 16:10:52 -07:00
Lei Yu
2f90dd784f Hide app usage time in high usage dialog
Also update strings a little bit

Bug: 112285389
Test: Manual
Change-Id: I5c4f3e2de635eb0b880d2d3d5a1550e1af41d931
2019-04-12 22:39:44 +00:00
TreeHugger Robot
24c02bb50f Merge "Misc bug fixes around search bar in app list UI." into qt-dev 2019-04-12 22:33:33 +00:00
TreeHugger Robot
878236f318 Merge "Update panel logging to include all hide page cases" into qt-dev 2019-04-12 22:33:24 +00:00
Maurice Lam
ea28576e7a Merge "Set the theme in BiometricEnrollIntroduction" into qt-dev am: 76ffb2df02
am: e1e52f7940

Change-Id: Ic428560fa9ddd4d748d1269987bd076c67b37077
2019-04-12 15:01:29 -07:00
Jordan Liu
85f1d2a704 Make RadioInfo settings menu work for mSIM
Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

Due to b/117555407, the same PhoneStateListener object can not be used
to register on different subIds, so we workaround this by recreating
the PhoneStateListener when reregistering.

Test: manual test (on single sim)
Fixes: 128033739
Change-Id: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5
2019-04-12 15:00:05 -07:00
cosmohsieh
1a5bd24d58 Merge "Fix null App name in Wi-Fi scanning prompt dialog" into qt-dev
am: ab3fed9b69

Change-Id: Ifb497131b4bab035840e23b14987eb40f7088810
2019-04-12 14:55:23 -07:00
Jordan Liu
24ed72f830 Make RadioInfo settings menu work for mSIM
Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

Due to b/117555407, the same PhoneStateListener object can not be used
to register on different subIds, so we workaround this by recreating
the PhoneStateListener when reregistering.

Test: manual test (on single sim)
Fixes: 128033739
Change-Id: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5
2019-04-12 14:54:41 -07:00
Lei Yu
0bc39338c1 Merge "Disable icon for NetworkOperatorPreference" into qt-dev am: a55af7ea34
am: bb94324293

Change-Id: Ia79f4a84ea5acb527339c4fdb182290a452ffbba
2019-04-12 14:30:25 -07:00
TreeHugger Robot
ab3fed9b69 Merge "Fix null App name in Wi-Fi scanning prompt dialog" into qt-dev 2019-04-12 21:27:37 +00:00
Fan Zhang
270fd6c872 Misc bug fixes around search bar in app list UI.
- Turn off DEBUG log flag, it's spammy and is a potential PII risk.
- Save search bar expand state so it stays open during screen rotation.
- Introduce a intent extra so callers can deep link into this UI with
  search bar pre-expanded.

Fixes: 130422388
Test: robotest
Change-Id: Ib81080733707306de516c49340571c543e70874e
2019-04-12 13:50:54 -07:00
Maurice Lam
e1e52f7940 Merge "Set the theme in BiometricEnrollIntroduction" into qt-dev
am: 76ffb2df02

Change-Id: I5a6c0aa2689ac171f832dce3464603640b44bf80
2019-04-12 12:48:32 -07:00
Lei Yu
bb94324293 Merge "Disable icon for NetworkOperatorPreference" into qt-dev
am: a55af7ea34

Change-Id: Iff4fb149a8b9a18d79524c76056fc3ec1eb37a8d
2019-04-12 12:40:38 -07:00
lindatseng
79957c3217 Update panel logging to include all hide page cases
The old logging only include see_more, done, and clicked_out when hiding
the panel page.  We were missing many cases that user might use back
button, app switch button to close the page.

Update the hide page keys to change the clicked_out to others to
include all the other cases which hide the page.

Test: Manual verification
Test: atest PanelFragmentTest SettingsPanelActivityTest
Fixes: 130169553
Change-Id: Icede9a8dcb84565cba183963c9fb554507631c98
2019-04-12 11:33:41 -07:00
Maurice Lam
76ffb2df02 Merge "Set the theme in BiometricEnrollIntroduction" into qt-dev 2019-04-12 17:59:42 +00:00
Lei Yu
a55af7ea34 Merge "Disable icon for NetworkOperatorPreference" into qt-dev 2019-04-12 17:44:59 +00:00
Jordan Liu
e431f6337f Do not reuse phonestatelistener
Due to b/117555407, the same PhoneStateListener object can not be used
to register on different subIds, so we workaround this by recreating
the PhoneStateListener when reregistering.

Fixes: 129989656
Test: manual
Change-Id: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I7630e74a9361093d8cbe72fa72c14aaaab9fcc17
2019-04-12 17:26:10 +00:00
cosmohsieh
b0aee6abd0 Fix null App name in Wi-Fi scanning prompt dialog
App name of the dialog msg is null because getCallingPackage() is null
when calling activity does not use startActvitiyForResult().

Bug: 112248584
Test: manual
Change-Id: If5ba9eb62f895c66ac1839b4be5c372ecba6699c
2019-04-12 17:02:22 +00:00
cosmohsieh
6938ad1630 [PasspointV2] Clear feature flag settings_wifi_details_saved_screen
Clear feature flag settings_wifi_details_saved_screen

Bug: b/128369527
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ib8fc9c9eb52bee12d6501a2041c32aa60c80e70e
2019-04-13 00:58:23 +08:00
Yanting Yang
21f9a0f6c9 Update search bar background drawable for dark mode
Bug: 129996634
Test: visual

Change-Id: I1657b1b570bf79ad776ae80b2f2878e4f4d72481
2019-04-12 20:42:08 +08:00
pastychang
fa68ec4f56 Set suw description textview to fixed id
Heavy theme supports to costomize description text style. Modify it to fixed id
that can be customized by partner resource.

Heavy theme screenshot: https://screenshot.googleplex.com/TL4M7wmTaPg
Set fixed id screenshot: https://screenshot.googleplex.com/CA6QHoNTQBZ

Test: atest
Bug: 121988926
Change-Id: I8882acd49e7d57f24afa9dd6f3e9abfd06556053
2019-04-12 09:20:12 +00:00
Yanting Yang
b29e53a450 Log interacted package from ContextualNotificationChannelSlice
Fixes:129726858
Test: visual, robotests
Change-Id: Ife4043fe0bcb52445e8e2efec20781ce43c54fef
2019-04-12 15:28:29 +08:00
Yanting Yang
78e097f239 Hide notification channel slice that is interacted
- Ignore interacted package in ContextualNotificationChannelSlice.
- Regularly clear package record with background worker.

Bug:129726858
Test: visual, robotests

Change-Id: I94661a53bcbbe4a15479224c33cfb2eff345aa67
2019-04-12 15:27:49 +08:00
TreeHugger Robot
106874fc2f Merge "Import translations. DO NOT MERGE" 2019-04-12 06:45:57 +00:00
Bill Yi
f043fdf12e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: db7f321526 -s ours
am: e8a33f25ff -s ours
am skip reason: subject contains skip directive

Change-Id: If0551c9c09ba9a746e9cac4b18e12c956a45455a
2019-04-11 23:30:56 -07:00
Bill Yi
e8a33f25ff [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: db7f321526 -s ours
am skip reason: subject contains skip directive

Change-Id: I96647d998ac8bc8d05cbd851003b0a593509112e
2019-04-11 23:26:52 -07:00
TreeHugger Robot
db7f321526 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-12 06:11:17 +00:00
Bill Yi
010a39219b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3f2592d8b31abc79f4bf4edc54f05ff24edede32
2019-04-11 20:47:23 -07:00
Jordan Liu
7d1f5e5d8e [automerger skipped] Merge "fix merge [DO NOT MERGE]" into qt-dev-plus-aosp
am: 26b7c81411 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifb9e3a8894f7b8d03d797f5013e8c41ae3157dbe
2019-04-11 20:28:27 -07:00
Arc Wang
3ef032d2a4 Merge "Fix Wi-Fi QR code scanning icon disappears problem" into qt-dev am: ff0db2f26b
am: 1785625089

Change-Id: I0fb1ad5aa152d239412b054430a8d593d391d346
2019-04-11 20:28:04 -07:00
Arc Wang
5ec396c14c Merge "Fix can't share WEP Wi-Fi network via Wi-Fi QR code generator" into qt-dev am: 982e46fe6c
am: 54d5b05d69

Change-Id: I290732e2c88aacdf64d44721cc6133602b492b24
2019-04-11 20:26:06 -07:00
Jordan Liu
26b7c81411 Merge "fix merge [DO NOT MERGE]" into qt-dev-plus-aosp 2019-04-12 03:12:04 +00:00
Jordan Liu
9291bfad0f fix merge [DO NOT MERGE]
ag/7020248 defined mSelectPhoneIndexHandler twice,
this fix removes the double definition

Change-Id: I749ab26dc71f269fd322d51b94a4809cecfd0df1
2019-04-12 03:07:33 +00:00
Pasty Chang
8b6dc2057d Merge "Increasing char limited of skip dialog title to 48" into qt-dev am: 326da4b510
am: 986bede1f1

Change-Id: Ifaa4632043753f8e95860f4b579f8227e0675e89
2019-04-11 20:04:51 -07:00
Bill Yi
1aede69cc2 Import translations. DO NOT MERGE
Change-Id: Ib2ff27bf05090080800f355d58e967775f4157db
Auto-generated-cl: translation import
2019-04-11 20:04:44 -07:00
Arc Wang
1785625089 Merge "Fix Wi-Fi QR code scanning icon disappears problem" into qt-dev
am: ff0db2f26b

Change-Id: I6a6160f28ef0474f965701b88c186800a962a8ea
2019-04-11 19:56:32 -07:00
Arc Wang
ff0db2f26b Merge "Fix Wi-Fi QR code scanning icon disappears problem" into qt-dev 2019-04-12 02:44:33 +00:00
Arc Wang
54d5b05d69 Merge "Fix can't share WEP Wi-Fi network via Wi-Fi QR code generator" into qt-dev
am: 982e46fe6c

Change-Id: I6b4b4e594bd1e62fb1bd927dd2e399838aca4a49
2019-04-11 19:41:13 -07:00
Arc Wang
982e46fe6c Merge "Fix can't share WEP Wi-Fi network via Wi-Fi QR code generator" into qt-dev 2019-04-12 02:36:21 +00:00
Pasty Chang
986bede1f1 Merge "Increasing char limited of skip dialog title to 48" into qt-dev
am: 326da4b510

Change-Id: I61cbefa73255d0dd65ea253005d4dee866c66a88
2019-04-11 18:27:48 -07:00
Colin Cross
e2abf3f5c6 Update Settings for guava 27.1
Futures.addCallback now requires an Executor argument.

Bug: 130306229
Test: m checkbuild
Change-Id: I1958918e26eff6c0966c7a6bcf3dec6029003162
2019-04-11 18:21:41 -07:00
Pasty Chang
326da4b510 Merge "Increasing char limited of skip dialog title to 48" into qt-dev 2019-04-12 01:13:24 +00:00
Jordan Liu
e677810e7d Merge "Do not reuse phonestatelistener" into qt-dev-plus-aosp
am: 79a2693dfe

Change-Id: Ida5c874937a87521a79638e97e733fff10df513f
2019-04-11 17:50:35 -07:00
Nate Jiang
47b9292fde Merge "[CLEANUP] Clean up unused permissions from Settings" 2019-04-12 00:35:57 +00:00