Commit Graph

51312 Commits

Author SHA1 Message Date
Arc Wang
a7d67bc2a6 Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev am: d50bb09876
am: ce9e61ee8e

Change-Id: Id0da8742a507462e16f549afeae2b36dd47f0fc3
2019-04-09 04:07:33 -07:00
Clown SHEN
9671f4f3fc Merge "Redraw WiFi detail page's header icon" into qt-dev am: 740dd43700
am: 31d150d16b

Change-Id: I16d6185e6321a3d39120e09aa0b7575a157dec89
2019-04-09 03:32:43 -07:00
Hai Zhang
b56125843e Merge changes from topic "role-replace" into qt-dev am: 0aa0d665c0
am: b3299e654e

Change-Id: Iea7316880d6edb7b29d976f7caf54746add9b096
2019-04-09 03:28:48 -07:00
Fan Zhang
d532430fc6 Merge "Add null check in UserPreference" into qt-dev am: c11f792795
am: 9e9fccd707

Change-Id: Ib08b3d7dfb140a22ae7661f89291999c51e5553d
2019-04-09 03:27:55 -07:00
Arc Wang
787e37b962 Merge "Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator" into qt-dev am: 48ed84ebf4
am: 01a26124d7

Change-Id: I7dc26c8ebd15fc07c994e97b0eff4d4108f59b75
2019-04-09 03:26:56 -07:00
Yi-Ling Chuang
734d826117 Remove viewFlipper used in contextual card dismissal.
- Use view's visibility to control which view we should show.
- Slice view can be built with normal height after removing viewFlipper.

Bug: 129438972
Bug: 128689305
Test: robotests
Change-Id: If7e9bd30d5cb5bcd3b9ff9f09cc2eae36543b9e9
2019-04-09 10:24:10 +00:00
Arc Wang
fa977e12db Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev am: 73f539d296
am: ee55582d8b

Change-Id: I653420aafabd30107b0f6f05b2cfc44978b2506b
2019-04-09 03:22:37 -07:00
Yi-Ling Chuang
dc2b2c7929 Inflate dismissal background instead of drawing while swiping
- Only swipe the foreground out to have the background revealed.
- Inflate dismissal_swipe_background.xml while swiping.
- Fix the fly-in transition.
- Fix the overlapping problem.

Bug: 129742618
Test: robotests
Change-Id: I5311e50332d0ea0437d1693d075d5c3a2176a443
2019-04-09 10:21:14 +00:00
Yi-Ling Chuang
21ffc13e5a Only enable feedback dialog in debuggable build.
Bug: 129881534
Test: robotests
Change-Id: I0dbd8c06f650cc7b3c32697f0c3af055912fab59
2019-04-09 18:07:50 +08:00
Arc Wang
ce9e61ee8e Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev
am: d50bb09876

Change-Id: I172943a14dffbde595440f9586598b5564e526c2
2019-04-09 01:54:36 -07:00
TreeHugger Robot
d50bb09876 Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev 2019-04-09 08:30:33 +00:00
Clown SHEN
31d150d16b Merge "Redraw WiFi detail page's header icon" into qt-dev
am: 740dd43700

Change-Id: Ie615a11fbbe0a033d789ec265a1ef2a3f3c0880f
2019-04-09 00:35:10 -07:00
Cn Chen
65c3be84f4 Merge "Fix fingerprint screens from "Anything else" screen not applying Stencil theme" into qt-dev am: 6b5d0230b4
am: cbd00c32c9

Change-Id: I5e54ab39143ea95859083a85f53da9a56556ee15
2019-04-09 00:31:59 -07:00
Hai Zhang
b3299e654e Merge changes from topic "role-replace" into qt-dev
am: 0aa0d665c0

Change-Id: Ia95fc53c0e322b07f85ac2166a6c532f22b7b6f7
2019-04-09 00:26:01 -07:00
clownshen
9762652115 Add icon for sign in
Bug: 130188624
Test: manual test
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I58a6c411a31e5cb0fe05eba486ba38774c078070
2019-04-09 06:56:16 +00:00
Clown SHEN
740dd43700 Merge "Redraw WiFi detail page's header icon" into qt-dev 2019-04-09 06:45:49 +00:00
lindatseng
083243df76 Fix panel slices title not updated when locale changed
When calling getSliceData from SliceDataConverter, we were returning
the old version of List<SliceData> if there's one already existed.
So when the Locale get changed and we are re-indexing data, we
are still inserting the old List<SliceData> in database.  We should
reconstruct the List of SliceData instead of reusing the old
version here, since we only call SliceDataConverter#getSliceData
when we need to reindex.

Test: Manual verification
Fixes: 126732022
Change-Id: I42a3cf93dc313efefe50a34faabac9e1d616ef6c
2019-04-09 05:41:23 +00:00
Fan Zhang
9e9fccd707 Merge "Add null check in UserPreference" into qt-dev
am: c11f792795

Change-Id: I54c1d0317b93851f1951330028e3c600ba5bd02e
2019-04-08 22:39:28 -07:00
TreeHugger Robot
0aa0d665c0 Merge changes from topic "role-replace" into qt-dev
* changes:
  Remove old default apps code and use roles instead.
  Move default payment app to special app access.
2019-04-09 05:33:21 +00:00
Arc Wang
01a26124d7 Merge "Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator" into qt-dev
am: 48ed84ebf4

Change-Id: I4c6a63ec36bcbc209e3b67ae94070d9c8a003e28
2019-04-08 22:31:59 -07:00
Arc Wang
e2b4bccbf1 Should not decode Wi-Fi QR code after onPause
Bug: 130141694
Test: manual
      atest WifiDppQrCodeScannerFragmentTest

Change-Id: I412fb7c06220c23bddc7b3c448fcc72a00bdecc3
2019-04-09 13:30:59 +08:00
Hai Zhang
22f8d48df0 Remove old default apps code and use roles instead.
Default apps are moved into PermissionController.

Bug: 124452117
Bug: 124457823
Test: presubmit & manual
Change-Id: I5f68e5b77cd6163d093590185314270706d75391
2019-04-09 13:30:31 +08:00
Hai Zhang
470ec69461 Move default payment app to special app access.
Bug: 124452117
Bug: 124522992
Test: build
Change-Id: I58e7127920d939dc3635bcc2e608cee6baa21998
2019-04-09 13:30:14 +08:00
TreeHugger Robot
c11f792795 Merge "Add null check in UserPreference" into qt-dev 2019-04-09 05:24:21 +00:00
TreeHugger Robot
99c95a3a77 Merge "Implement context menu for ConnectedAccessPointPreference" 2019-04-09 04:49:50 +00:00
Arc Wang
ee55582d8b Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev
am: 73f539d296

Change-Id: I24cae0f576594cd281cd3662cd07f2240c549423
2019-04-08 21:19:30 -07:00
TreeHugger Robot
48ed84ebf4 Merge "Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator" into qt-dev 2019-04-09 04:18:09 +00:00
Cn Chen
cbd00c32c9 Merge "Fix fingerprint screens from "Anything else" screen not applying Stencil theme" into qt-dev
am: 6b5d0230b4

Change-Id: Ifac076a03821ebcf85d2742d47426f65a6100cf7
2019-04-08 21:12:12 -07:00
Arc Wang
4a5ff58511 Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator
When scanned a no password ZXing QR code, add both open network &
enhanced open network to configured Wi-Fi network list because this kind
of QR code may refer to a open network or an enhanced open network.

Bug: 124131581
Test: manual
Change-Id: Id9f85ef8dcdf72347be8106938437aecd0eed9f5
2019-04-09 10:36:07 +08:00
Malcolm Chen
9d307ec77c [automerger skipped] Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED." am: bf857c7374 am: d6875ddf82 -s ours
am: e0bc974553 -s ours
am skip reason: change_id I008e5346ff1e015d1aa57ca31844426e33bd99b8 with SHA1 a05e6f8182 is in history

Change-Id: I31d6921282ee8fe5ad80ba88bd5faa57ba97d81b
2019-04-08 19:32:03 -07:00
Bill Yi
1335004812 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 00846385a5 -s ours
am: b8678ee1e4 -s ours
am skip reason: subject contains skip directive

Change-Id: I945bbaa5e3b67fabc81b6daab62040d375c23e89
2019-04-08 19:25:25 -07:00
clownshen
6ef1eec2e2 Redraw WiFi detail page's header icon
Tint 87% dark in day mode and 100% white for night mode

Bug: 129413562
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Test: manual test
Change-Id: Ia31231ca7871ac4efcea5e1232690ff4374df5b3
(cherry picked from commit 86f65ef488)
2019-04-09 02:20:32 +00:00
cosmohsieh
9f8522565a Implement context menu for ConnectedAccessPointPreference
1) User wants to long press ConnectedAccessPointPreference to forget network if this
is a captive portal network.
2) Change context menu string

Bug: 113756562
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: If5c45c45fe126f627eeb53a6c1873a070ad23ae8
2019-04-09 10:17:20 +08:00
pastychang
e82540f174 Add strings used for setupwizard lockscreen skip dialog
Test: atest
Bug: 124028212
Change-Id: I9f65022f6bbc70606a40b5b20e9484731376d203
2019-04-09 01:56:58 +00:00
Arc Wang
73f539d296 Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev 2019-04-09 01:39:35 +00:00
Xiangyu/Malcolm Chen
568b24f0a2 Merge "Revert switchBar if enable / disable subscription fails." into qt-dev am: 81f31ef4d3
am: 9106454fbd

Change-Id: I22c19ba2475250bb7e6a02954ff4f210d3ac2062
2019-04-08 18:28:29 -07:00
Lei Yu
fef0c2ae71 Merge "Settings: [BT] Wrong Pairing Popup is shown on new pairing request." into qt-dev am: 8f45be526d
am: afffd04568

Change-Id: I714de85d897b5430e69e795cb2b9a745900fb479
2019-04-08 18:27:36 -07:00
Cn Chen
6b5d0230b4 Merge "Fix fingerprint screens from "Anything else" screen not applying Stencil theme" into qt-dev 2019-04-09 01:27:01 +00:00
Andrew Sapperstein
0ac8d0f83b Merge "Delete carrier entry from mobile network details page." into qt-dev am: b93761d252
am: 4bbd1e867b

Change-Id: I723dc4d67d16726c8b41cdc137f27dfb80b0b589
2019-04-08 18:26:47 -07:00
Clown SHEN
530438261b Merge "Redraw WiFi detail page's header icon" 2019-04-09 00:52:57 +00:00
Malcolm Chen
e0bc974553 [automerger skipped] Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED." am: bf857c7374
am: d6875ddf82 -s ours
am skip reason: change_id I008e5346ff1e015d1aa57ca31844426e33bd99b8 with SHA1 a05e6f8182 is in history

Change-Id: Ib81c4db615e06e621c92527413a08a1754c7716f
2019-04-08 17:21:41 -07:00
Bill Yi
b8678ee1e4 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 00846385a5 -s ours
am skip reason: subject contains skip directive

Change-Id: If5996274be37c73be9453d120e48f487ecf8135f
2019-04-08 17:14:23 -07:00
TreeHugger Robot
6a270547e5 Merge "Import translations. DO NOT MERGE" 2019-04-08 23:43:30 +00:00
TreeHugger Robot
00846385a5 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-08 23:37:53 +00:00
Lei Yu
4350317580 Move bitmap recycle to onDestroy()
If we recycle it in OnStop() and this page isn't destoried,
it will crash when we revisit it.

Fixes: 130185099
Test: RunSettingsRoboTests
Change-Id: I4d3c1c12debcccb1ee7d676a1c5accece0b42e09
2019-04-08 16:25:47 -07:00
Antony Sargent
4646fe8e63 Use active instead of available subscriptions in 2 places
In a couple of places we were showing DSDS UI using the list of
*available* subscriptions instead of the list of *active* ones. This
difference is relevant for instance if you have multiple eSIM profiles -
in typical hardware only one of those can be active at one time. This CL
fixes that problem in two places:

1) The header at the top of the Network & internet page

2) The ListPreference's on the mobile network detail page for selecting
   the default subscription for Calls / SMS.

Fixes: 129673046
Test: make RunSettingsRoboTests
Change-Id: I891c856bdd4516286fcee1067684d9161ceaca80
2019-04-08 16:22:55 -07:00
Malcolm Chen
d6875ddf82 Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED."
am: bf857c7374

Change-Id: I2422f31d45e1b7242f8f73decd7eab5d4f33da3d
2019-04-08 16:06:13 -07:00
Suprabh Shukla
d3864daebd Treat mode_default as denied for install_unknown_apps
Test: atest SettingsRoboTests
Bug: 123700348
Change-Id: Ieeb6456854cc3d0faa0e9c407accd94f56a25813
2019-04-08 15:23:03 -07:00
Xiangyu/Malcolm Chen
9106454fbd Merge "Revert switchBar if enable / disable subscription fails." into qt-dev
am: 81f31ef4d3

Change-Id: I50d58d53ecd2f56fbd43bb616253c0433085d1c6
2019-04-08 15:09:40 -07:00
Lei Yu
afffd04568 Merge "Settings: [BT] Wrong Pairing Popup is shown on new pairing request." into qt-dev
am: 8f45be526d

Change-Id: I5e22c3368f2a70331b9f7ee81f698cce1c531222
2019-04-08 15:08:04 -07:00