Commit Graph

52757 Commits

Author SHA1 Message Date
Mill Chen
9770a0bf4a Merge "Update listDivider for PreferenceFragmentCompat" into qt-dev
am: dcf21d4bd6

Change-Id: Id27cbd86701e207774690978538603cdde951fa1
2019-05-10 14:19:02 -07:00
Fan Zhang
7fee27bbcd Merge "Updating animation asset" into qt-dev
am: 5dd9850bf3

Change-Id: Iec18d34de3cb035ac8510eb6e47115db735c9d92
2019-05-10 14:13:28 -07:00
Brad Ebinger
4c032bc6cb Merge "Resolve the SIM call manager per subId" into qt-dev
am: 1350309ecc

Change-Id: I1da95b23f075e6a567737411345d8ed9c0714f3c
2019-05-10 14:02:20 -07:00
TreeHugger Robot
dcf21d4bd6 Merge "Update listDivider for PreferenceFragmentCompat" into qt-dev 2019-05-10 20:38:20 +00:00
Fan Zhang
5dd9850bf3 Merge "Updating animation asset" into qt-dev 2019-05-10 20:24:59 +00:00
Brad Ebinger
cf5a1bf326 Merge "Allow SimDialogActivity to be started for result" into qt-dev
am: d204d6c33f

Change-Id: I18fdce583b7301ab3edd322cdc8e2a4190fc60da
2019-05-10 13:23:28 -07:00
Brad Ebinger
1350309ecc Merge "Resolve the SIM call manager per subId" into qt-dev 2019-05-10 20:17:38 +00:00
Hai Shalom
3fc9dc3ada [WPA3] Fix connectivity issues with PSK-SAE Transtion mode
Fix two reported issues regarding PSK-SAE transition mode:
1. When phone supports SAE, creating a manual saved network with PSK
and manually connecting would cause the phone to connect but Settings
does not display any connected AP. Phone would not autoconnect.
2. When phone doesn't support SAE, phone cannot connect to an AP in
PSK-SAE Transition mode because the framework always targets the highest
security.

Bug: 132278271
Test: Connect to WPA2 network
Test: Connect to WPA3 network (w/capable phone)
Test: Connect to WPA2/3 Transition w/SAE capable phone
Test: Connect to WPA2/3 Transition w/SAE not-capable phone
Change-Id: I371bcb4b2cccfc8684ecb5db3a768524f7354598
2019-05-10 12:59:23 -07:00
Brad Ebinger
d204d6c33f Merge "Allow SimDialogActivity to be started for result" into qt-dev 2019-05-10 19:42:55 +00:00
hughchen
f004450033 Merge "Clear media switcher items when in phone call" into qt-dev
am: 12dcbe7c71

Change-Id: I148a12a79ea4ab36e7fd2d45576c59937bab7b98
2019-05-10 11:44:49 -07:00
Brad Ebinger
d206835fe3 Allow SimDialogActivity to be started for result
In Telephony, we sometimes need to be able to launch
the SIM pick dialog activity for SMS without setting
a new default (i.e. user chose "ask every time") for
default SMS subscription.

Adds the ability for the SimDialogActivity to be
called using startActivityForResult and not set the
user's choice as the default.

Bug: 130853716
Bug: 130567323
Test: run Telephony SmsManagerTestApp
Change-Id: If9f9ebbfe9b7b6718ed759937abbcfa6d22c6295
2019-05-10 18:29:54 +00:00
Beth Thibodeau
94d4f6ba34 Updating animation asset
Fixes: 132095489
Test: mp settingsg
Change-Id: Icda6eb54496356e2567e1d39ab0c718746e2442d
2019-05-10 14:28:43 -04:00
TreeHugger Robot
12dcbe7c71 Merge "Clear media switcher items when in phone call" into qt-dev 2019-05-10 18:14:02 +00:00
Arc Wang
ccd201bc13 Merge "Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"" into qt-dev
am: 41656de5d4

Change-Id: I2d3954b9f8b3854ca5fcb2995950e89b510fb7a0
2019-05-10 03:42:18 -07:00
lindatseng
5dc7541d0e Merge "Set panel launch mode to singleInstance and fix animation" into qt-dev
am: 04623e81b8

Change-Id: I1733af9f16786102039805e8c0c2015c0aeb7e43
2019-05-10 03:34:59 -07:00
Bill Yi
5d0fbc9f4e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 60252574a2 -s ours
am skip reason: subject contains skip directive

Change-Id: I96bd347be9f9360105c035f45f5174852ed629e0
2019-05-10 03:23:54 -07:00
Mill Chen
e3e966689d Update listDivider for PreferenceFragmentCompat
The support library uses preference_list_divider_material for its list
divider and its color is a hardcoded value. That's why the divider color
can't be applied to the PreferenceFragmentCompat in Settings when
updating the divider color in the device defaults theme level. To make
it so we set its listDivider to list_divider_material to facilitate updating
the divider color.

Bug: 129943610
Test: visual
Change-Id: Ie992b925fae0effd4e00682a911ad004ac3fc033
2019-05-10 17:23:49 +08:00
TreeHugger Robot
41656de5d4 Merge "Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"" into qt-dev 2019-05-10 09:09:25 +00:00
Kevin Chang
6f95358165 Merge "Override performClick method to eliminate redundant click" into qt-dev
am: 1915fe3b67

Change-Id: I355dec40050ca582ded49841d260a581b16f7aba
2019-05-10 01:43:57 -07:00
TreeHugger Robot
04623e81b8 Merge "Set panel launch mode to singleInstance and fix animation" into qt-dev 2019-05-10 08:41:12 +00:00
TreeHugger Robot
60252574a2 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-10 08:38:34 +00:00
Pengquan Meng
c981cf8446 Merge "Fixed network name for about/sim_status" into qt-dev
am: b73d3c70c8

Change-Id: Ie34af12037929038c17d72107ebb23c54bef24ce
2019-05-10 01:36:08 -07:00
Kevin Chang
245c323c4b Merge "Improve the Accessibility warning dialog with new design" into qt-dev
am: 35890fabae

Change-Id: I892f1ff393b82a7c7c4e877432662f991a6c5c8c
2019-05-10 01:21:27 -07:00
lindatseng
2943c1de7a Set panel launch mode to singleInstance and fix animation
Set panel launch mode to singleInstance to avoid panel can show up
infinite time when user keep launching panels (Easy repro by
pressing volume hard key > settings again and again).

After changing launch mode to singleInstance, we will need to do
some refactors, to avoid weirdness when adding/changing/closing
panels:
1. Move and refactor logic in SettingsPanelActivity#onCreate.
   We will need onNewIntent here to handle Panel launching, since
   we only have one instance of SettingsPanelActivity now.

   Also do refactor here to reuse the PanelFragment instead of
   creating one every single time, to better handle the exit
   animation, avoid janky exit behavior from the old PanelFragment

2. Move logic from PanelFragment#onCreateView, to reuse it when
   updating panel content.

   Also add exiting animation when we are transitioning the panel
   from one to another.  Also add alpha animation to make it move
   more smoothly.

3. Adding flags to launch see more intent in settings.

Fixes: 131225920
Fixes: 131254399
Test: manual
Change-Id: I93d3708bd02a2d736e38685475f2d9988ef62d31
2019-05-10 07:14:13 +00:00
Kevin Chang
1915fe3b67 Merge "Override performClick method to eliminate redundant click" into qt-dev 2019-05-10 06:32:25 +00:00
Arc Wang
454553ed52 Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"
We should make sure both 'Use location' & 'Wi-Fi scanning' are enabled
before calling setWifiWakeupEnabled.

Bug: 131777439
Test: manual
Change-Id: I602917cfa7c5581ecb414e8c44b4e20c8f9ea78d
2019-05-10 14:13:07 +08:00
Pengquan Meng
b73d3c70c8 Merge "Fixed network name for about/sim_status" into qt-dev 2019-05-10 06:10:48 +00:00
Kevin Chang
35890fabae Merge "Improve the Accessibility warning dialog with new design" into qt-dev 2019-05-10 05:49:59 +00:00
Bill Yi
993efb1707 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I297c9ea9b5d9d7efb166b4d94f29e7e167e5c2b2
2019-05-09 21:16:18 -07:00
Kevin Chang
d3496412f7 Override performClick method to eliminate redundant click
Bug: 132226328
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SwitchBar
Change-Id: I22987a7695dfc84e50d6419604a9512f98cf4d13
2019-05-10 11:52:24 +08:00
Kevin Chang
bb6395eb4a Improve the Accessibility warning dialog with new design
Create new Accessibility warning dialog based on the style of permission
dialog

Bug: 129788631
Test: Visual
Change-Id: I0ec693f9c29e6e85e17d5bd1a64a4c0fe9499f95
2019-05-10 11:46:19 +08:00
hughchen
095c5be448 Clear media switcher items when in phone call
- update test case

Bug: 132385707
Test: make -j42 RunSettingsRoboTests
Change-Id: I2bbd35e869e8ab5596d280d04fddc98f05629190
2019-05-10 10:27:26 +08:00
Fan Zhang
eff7d50acb Merge "Clean up homepage toolbar after setting transparent navbar." into qt-dev
am: 30a9392b21

Change-Id: I4666285c7abaf4894ce6b123f2106a8552a1e8b7
2019-05-09 18:23:16 -07:00
lindatseng
2b79d85a31 Merge "Fix NPE when launching MediaOutput Panel" into qt-dev
am: b0f641869b

Change-Id: I99c46f63a652147e114e4586ad16eb949f9cf549
2019-05-09 17:45:00 -07:00
Jonathan Scott
6c399bab1e Merge "Make ScreenPinningSettings behaviour consistent with LockTaskController." into qt-dev
am: c6ebdfe982

Change-Id: Ic3fee27bcab4590b46fd33a6d6a9e875adca8b41
2019-05-09 17:28:18 -07:00
TreeHugger Robot
30a9392b21 Merge "Clean up homepage toolbar after setting transparent navbar." into qt-dev 2019-05-10 00:27:34 +00:00
TreeHugger Robot
b0f641869b Merge "Fix NPE when launching MediaOutput Panel" into qt-dev 2019-05-09 23:58:16 +00:00
TreeHugger Robot
c6ebdfe982 Merge "Make ScreenPinningSettings behaviour consistent with LockTaskController." into qt-dev 2019-05-09 23:46:22 +00:00
Fan Zhang
d2eae19d4c Clean up homepage toolbar after setting transparent navbar.
Bug: 132182711
Test: rebuild
Change-Id: I212b665810f6713980eb749d34d26f27b7100160
2019-05-09 15:47:54 -07:00
Beth Thibodeau
0ed440fcbb Merge "Make preview image not selectable" into qt-dev
am: 43c09673ab

Change-Id: I9178a4ac5c53618646caa507aed1336c713f876a
2019-05-09 15:34:06 -07:00
Yanting Yang
d4123926dc Merge "Fix mirrored arrow issue for RTL" into qt-dev
am: a096b6d1f1

Change-Id: I1d3c4b0661edfeb76066aa3331a38d83bde87de7
2019-05-09 15:19:18 -07:00
Pengquan Meng
0ab776f69d Fixed network name for about/sim_status
The network name in sim status dialog is not the same as the one in the
about page. This CL use the carrier text which is resolved in
ServiceStateTracker as the network name, this keep the network name sync
with the status bar and the summary of sim status in the about page.

Bug: 31784938
Test: build & manual test
Change-Id: Ia741baabaa98ae447dbedf9e28fd2fda222e6d2e
2019-05-09 15:16:20 -07:00
TreeHugger Robot
43c09673ab Merge "Make preview image not selectable" into qt-dev 2019-05-09 21:22:18 +00:00
Ng Zhi An
44ec4832d5 Update string description in SAW unsupported screen
Bug: 132183451
Test: none
Change-Id: I3e2e5e24feaf4918e9c85d18bfa397c4cfc2cb36
2019-05-09 14:12:15 -07:00
lindatseng
33c5d72ffe Fix NPE when launching MediaOutput Panel
Add NP check when to avoid NPE when launching MediaOutput Panel

Fixes: 132366620
Test: Manual
Change-Id: I21a481907a5bca83404e59e08ba11ce5c55199a4
2019-05-09 14:03:15 -07:00
Zhi An Ng
3267345bc2 Merge "Update strings used in SAW unsupported screen" into qt-dev
am: ece299f902

Change-Id: I9b34151d457dfbbe77be33256b1941ebd28ea614
2019-05-09 14:02:30 -07:00
TreeHugger Robot
a096b6d1f1 Merge "Fix mirrored arrow issue for RTL" into qt-dev 2019-05-09 20:33:26 +00:00
Raff Tsai
5cf436aa65 Merge "Fix robolectric test error" into qt-dev
am: c617fa2e87

Change-Id: I567750bf40a6c8f5e7513dc24e0f284bdc24d61d
2019-05-09 13:28:26 -07:00
Zhi An Ng
ece299f902 Merge "Update strings used in SAW unsupported screen" into qt-dev 2019-05-09 19:29:33 +00:00
Ng Zhi An
6940466b52 Update strings used in SAW unsupported screen
Bug: 132183451
Test: adb shell am start-activity -a android.settings.action.MANAGE_OVERLAY_PERMISSION
Change-Id: Ia840b82838bed43234572c4a08bd56b97f391a5b
2019-05-09 19:28:49 +00:00