OSDN Git Service

android-x86/packages-apps-Settings.git
4 years agoMerge "Fix IllegalStateException in recyclerview"
Raff Tsai [Tue, 15 Oct 2019 16:28:09 +0000 (16:28 +0000)]
Merge "Fix IllegalStateException in recyclerview"

4 years agoFix IllegalStateException in recyclerview
Raff Tsai [Tue, 15 Oct 2019 04:34:03 +0000 (12:34 +0800)]
Fix IllegalStateException in recyclerview

- Fixed by updating UI in mainthread

Fixes: 142241908
Fixes: 142220754
Test: manual test if it crashes again
Change-Id: Ia83b66d3e60201bc524dbfab69bdeaa5201d38c2

4 years agoMerge "Add the checkstyle_hook into PREUPLOAD.cfg"
Raff Tsai [Tue, 15 Oct 2019 05:38:13 +0000 (05:38 +0000)]
Merge "Add the checkstyle_hook into PREUPLOAD.cfg"

4 years agoMerge "5G meteredness for telephony framework"
Sarah Chin [Mon, 14 Oct 2019 23:31:45 +0000 (23:31 +0000)]
Merge "5G meteredness for telephony framework"

4 years agoMerge "Remove config_show_regulatory_info tests"
Ryan Mitchell [Mon, 14 Oct 2019 16:14:30 +0000 (16:14 +0000)]
Merge "Remove config_show_regulatory_info tests"

4 years agoMerge "Introduce LockscreenCredential"
Rubin Xu [Mon, 14 Oct 2019 13:45:15 +0000 (13:45 +0000)]
Merge "Introduce LockscreenCredential"

4 years agoAdd the checkstyle_hook into PREUPLOAD.cfg
Sunny Shao [Mon, 14 Oct 2019 12:48:18 +0000 (20:48 +0800)]
Add the checkstyle_hook into PREUPLOAD.cfg

Check the unused import and the sequence of import before submitting.

Fixes: 142160947
Test: Manual test
Change-Id: I846f4ab5f349f0017163cf9d35b4d44e85597bbc

4 years ago[automerger skipped] Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843...
SongFerng Wang [Mon, 14 Oct 2019 07:51:42 +0000 (00:51 -0700)]
[automerger skipped] Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32 am: 951e9b7742 am: 9507e5f2f9 -s ours
am: dfc67693f5 -s ours
am skip reason: change_id Ifaed6ca8aba8f34ecb27abb863aeaf679132934f with SHA1 dfd9aa99e5 is in history

Change-Id: Id16116de1bc78c1986e6c1a5054900f3ea7cb0b7

4 years ago[automerger skipped] Preferred network list add 5G item am: 76422cab68 am: 10d41f52b7...
SongFerngWang [Mon, 14 Oct 2019 07:51:34 +0000 (00:51 -0700)]
[automerger skipped] Preferred network list add 5G item am: 76422cab68 am: 10d41f52b7 am: 24b3051e9b -s ours
am: 1c976be2a7 -s ours
am skip reason: change_id I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90 with SHA1 dd7f9b57f6 is in history

Change-Id: I84787a37c9a2567071388c9c8378a4b98e5373f2

4 years ago[automerger skipped] RadioInfo network mode list and network mode string add 5G am...
SongFerngWang [Mon, 14 Oct 2019 07:51:26 +0000 (00:51 -0700)]
[automerger skipped] RadioInfo network mode list and network mode string add 5G am: dc5149efef am: 8cd10f774d am: fae02cf405 -s ours
am: 35abbc425c -s ours
am skip reason: change_id I945d3c2fd175f45151bbeee475e388ccc2d67642 with SHA1 ec384c2f6f is in history

Change-Id: Ibfb93ab880b728d21c6bd103fdcd38536e29c081

4 years ago[automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e am...
Bonian Chen [Mon, 14 Oct 2019 07:51:18 +0000 (00:51 -0700)]
[automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e am: b36ff74ac3 -s ours am: ef55302465 -s ours
am: 54d7a7e5f8 -s ours
am skip reason: change_id Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968 with SHA1 128de7bdb6 is in history

Change-Id: I02edfa986dbde7d2ee5297a0a5145bde9a8112e0

4 years ago[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting...
Antony Sargent [Mon, 14 Oct 2019 07:51:09 +0000 (00:51 -0700)]
[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes am: aa88b8cee6 -s ours am: 0f1b14e467 -s ours am: 5a4c8856bc -s ours
am: 81851fdcc7 -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: I6fad0560c7a6751c05a7d9a8dfcda8cf76639b07

4 years ago[automerger skipped] Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843...
SongFerng Wang [Mon, 14 Oct 2019 07:45:38 +0000 (00:45 -0700)]
[automerger skipped] Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32 am: 951e9b7742
am: 9507e5f2f9 -s ours
am skip reason: change_id Ifaed6ca8aba8f34ecb27abb863aeaf679132934f with SHA1 dfd9aa99e5 is in history

Change-Id: I8f79a9268e0ccef959e3802406b22cffb86a8f0e

4 years ago[automerger skipped] Preferred network list add 5G item am: 76422cab68 am: 10d41f52b7
SongFerngWang [Mon, 14 Oct 2019 07:45:30 +0000 (00:45 -0700)]
[automerger skipped] Preferred network list add 5G item am: 76422cab68 am: 10d41f52b7
am: 24b3051e9b -s ours
am skip reason: change_id I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90 with SHA1 dd7f9b57f6 is in history

Change-Id: I2c6e54c59018227081f896beef1fca68dc7fa322

4 years ago[automerger skipped] RadioInfo network mode list and network mode string add 5G am...
SongFerngWang [Mon, 14 Oct 2019 07:45:23 +0000 (00:45 -0700)]
[automerger skipped] RadioInfo network mode list and network mode string add 5G am: dc5149efef am: 8cd10f774d
am: fae02cf405 -s ours
am skip reason: change_id I945d3c2fd175f45151bbeee475e388ccc2d67642 with SHA1 ec384c2f6f is in history

Change-Id: Id95745ca4710f72232d472ae89c64741002e811a

4 years ago[automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e am...
Bonian Chen [Mon, 14 Oct 2019 07:45:14 +0000 (00:45 -0700)]
[automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e am: b36ff74ac3 -s ours
am: ef55302465 -s ours
am skip reason: change_id Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968 with SHA1 128de7bdb6 is in history

Change-Id: I1c4d75ea62efd825f4cd4ac3fecf2c9e4b5288fc

4 years ago[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting...
Antony Sargent [Mon, 14 Oct 2019 07:45:06 +0000 (00:45 -0700)]
[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes am: aa88b8cee6 -s ours am: 0f1b14e467 -s ours
am: 5a4c8856bc -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: I5a90bf84d360c22f21e0fc830f480e9c7fb11d01

4 years agoMerge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32
SongFerng Wang [Mon, 14 Oct 2019 07:39:16 +0000 (00:39 -0700)]
Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32
am: 951e9b7742

Change-Id: Ifa44c34f2653e6e1146a9a6337f411761cc1ce17

4 years agoPreferred network list add 5G item am: 76422cab68
SongFerngWang [Mon, 14 Oct 2019 07:39:09 +0000 (00:39 -0700)]
Preferred network list add 5G item am: 76422cab68
am: 10d41f52b7

Change-Id: I3356ff24d7d8669aae438bdccab9bccce5d3e295

4 years agoRadioInfo network mode list and network mode string add 5G am: dc5149efef
SongFerngWang [Mon, 14 Oct 2019 07:39:02 +0000 (00:39 -0700)]
RadioInfo network mode list and network mode string add 5G am: dc5149efef
am: 8cd10f774d

Change-Id: I3d2f8561ebb74cb5bb73ad2cc65b4d0df3454851

4 years ago[automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e
Bonian Chen [Mon, 14 Oct 2019 07:38:54 +0000 (00:38 -0700)]
[automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e
am: b36ff74ac3 -s ours
am skip reason: change_id Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968 with SHA1 128de7bdb6 is in history

Change-Id: Ieff603d09fc5be1a2439eb5674c1aad25751779f

4 years ago[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting...
Antony Sargent [Mon, 14 Oct 2019 07:38:46 +0000 (00:38 -0700)]
[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes am: aa88b8cee6 -s ours
am: 0f1b14e467 -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: Ic86a69026cb7db7049519aae4ee0367a13cf4c9a

4 years agoMerge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843
SongFerng Wang [Mon, 14 Oct 2019 07:34:20 +0000 (00:34 -0700)]
Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843
am: bc6a65ca32

Change-Id: I3ec33adf894393b43296e83b450f3a894785fc92

4 years agoPreferred network list add 5G item
SongFerngWang [Mon, 14 Oct 2019 07:34:10 +0000 (00:34 -0700)]
Preferred network list add 5G item
am: 76422cab68

Change-Id: I05771619c27d7ce0dd40fd83a9b3560758d29621

4 years agoRadioInfo network mode list and network mode string add 5G
SongFerngWang [Mon, 14 Oct 2019 07:33:54 +0000 (00:33 -0700)]
RadioInfo network mode list and network mode string add 5G
am: dc5149efef

Change-Id: Id55735d6933965735249e6c25981c137877b00ed

4 years ago[Settings] hide preferred network mode UI
Bonian Chen [Mon, 14 Oct 2019 07:33:34 +0000 (00:33 -0700)]
[Settings] hide preferred network mode UI
am: 92eb42c69e

Change-Id: Id16ca111b0fe79b83bc0eff0ebdaca03875718dc

4 years ago[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting...
Antony Sargent [Mon, 14 Oct 2019 07:33:09 +0000 (00:33 -0700)]
[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes
am: aa88b8cee6 -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: Ieb25eb9b4d1c9d85bcaa6e0532f8814339070f4c

4 years agoMerge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843
SongFerng Wang [Mon, 14 Oct 2019 07:14:54 +0000 (07:14 +0000)]
Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843

* changes:
  String "CDME" is wrong
  Preferred network list add 5G item
  RadioInfo network mode list and network mode string add 5G
  [Settings] hide preferred network mode UI
  Make EnabledNetworkModePreferenceController listen to setting changes

4 years agoString "CDME" is wrong
SongFerngWang [Thu, 10 Oct 2019 12:18:30 +0000 (20:18 +0800)]
String "CDME" is wrong

Bug: 142376028
Test: build pass
Change-Id: Ifaed6ca8aba8f34ecb27abb863aeaf679132934f
Merged-In: Ifaed6ca8aba8f34ecb27abb863aeaf679132934f

4 years agoPreferred network list add 5G item
SongFerngWang [Fri, 30 Aug 2019 08:06:41 +0000 (16:06 +0800)]
Preferred network list add 5G item

Preferred network list add 5G item, and change "recommended" from 4G to
5G, and add summary for 5G.

Bug: 138544359
Test: 1.fake the device network type bitmask to 5G, UI show 5G list
2.atest EnabledNetworkModePreferenceControllerTest.java :pass

Change-Id: I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90
Merged-In: I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90

4 years agoRadioInfo network mode list and network mode string add 5G
SongFerngWang [Fri, 23 Aug 2019 10:03:27 +0000 (18:03 +0800)]
RadioInfo network mode list and network mode string add 5G

Bug: 131888757
Test: 1.build pass 2.RadioInfo set network mode work.
Change-Id: I945d3c2fd175f45151bbeee475e388ccc2d67642
Merged-In: I945d3c2fd175f45151bbeee475e388ccc2d67642

4 years ago[Settings] hide preferred network mode UI
Bonian Chen [Thu, 22 Aug 2019 09:13:06 +0000 (17:13 +0800)]
[Settings] hide preferred network mode UI

Hide preferred network mode UI no matter home, roaming or no service
when KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL been enabled.

Bug: 137681413
Test: atest PreferredNetworkModePreferenceControllerTest
      atest EnabledNetworkModePreferenceControllerTest
      Manual with AT&T SIM card in out of servce and in service

Change-Id: Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968
Merged-In: Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968

4 years agoMake EnabledNetworkModePreferenceController listen to setting changes
Antony Sargent [Tue, 30 Jul 2019 17:10:57 +0000 (10:10 -0700)]
Make EnabledNetworkModePreferenceController listen to setting changes

The controller for the "Preferred network type" preference on the SIM
details page wasn't listening for changes to the underlying global
setting, so changes to the setting would be reflected in SysUI but not
on this page if it happened to be showing.

Bug: 135667565
Test: make RunSettingsRoboTests
Change-Id: I5dfe4843a681c613f49caf4584e9dbebc54e708a
Merged-In: I5dfe4843a681c613f49caf4584e9dbebc54e708a

4 years agoIntroduce LockscreenCredential
Rubin Xu [Wed, 11 Sep 2019 16:36:37 +0000 (17:36 +0100)]
Introduce LockscreenCredential

Bug: 65239740
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.password
Change-Id: Icb73d639291d6d2eda8015e18e93d0906f916bb2

4 years agoMerge "Fix crash on clicking dismissed notifications"
TreeHugger Robot [Fri, 11 Oct 2019 19:12:41 +0000 (19:12 +0000)]
Merge "Fix crash on clicking dismissed notifications"

4 years agoMerge "Rename class"
TreeHugger Robot [Fri, 11 Oct 2019 18:38:38 +0000 (18:38 +0000)]
Merge "Rename class"

4 years agoFix crash on clicking dismissed notifications
Julia Reynolds [Fri, 11 Oct 2019 17:06:55 +0000 (13:06 -0400)]
Fix crash on clicking dismissed notifications

Read the channelid from the notification vs RankingMap
for historical notifications

Test: manual
Fixes: 142531668
Change-Id: Ia7b48e6bcee3995286eea2e2f5f3b6bc4cff98e2

4 years agoRename class
Julia Reynolds [Fri, 11 Oct 2019 14:08:56 +0000 (10:08 -0400)]
Rename class

Test: atest
Bug: 137397399
Change-Id: Idae73251bb67fbef2cf29f730f1420e98e38a8f3

4 years agoString "CDME" is wrong am: dfd9aa99e5
SongFerngWang [Fri, 11 Oct 2019 15:21:33 +0000 (08:21 -0700)]
String "CDME" is wrong am: dfd9aa99e5
am: 3146473921

Change-Id: I57682a62fc0e5a99dca0559c192edc734b0ff7ea

4 years agoString "CDME" is wrong
SongFerngWang [Fri, 11 Oct 2019 15:16:03 +0000 (08:16 -0700)]
String "CDME" is wrong
am: dfd9aa99e5

Change-Id: I6d3dab30dbd9282a3a6589efebbf5e08a1359c4a

4 years agoRemove config_show_regulatory_info tests
Ryan Mitchell [Tue, 8 Oct 2019 22:58:22 +0000 (15:58 -0700)]
Remove config_show_regulatory_info tests

Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

Remove usage of config_show_regulatory_info and rely on OEMs
configuring the component using <component-override>.

Bug: 135048762
Test: adb shell pm resolve-activity
com.android.settings/com.android.settings.RegulatoryInfoDisplayActivity
Change-Id: If48f40eb261a9c90e183d4ef9bcafb0fbda38f22

4 years agoString "CDME" is wrong
SongFerngWang [Thu, 10 Oct 2019 12:18:30 +0000 (20:18 +0800)]
String "CDME" is wrong

Bug: 142376028
Test: build pass
Change-Id: Ifaed6ca8aba8f34ecb27abb863aeaf679132934f

4 years agoMerge "[Wi-Fi] Refine code for saved AccessPoints"
Arc Wang [Wed, 9 Oct 2019 11:15:16 +0000 (11:15 +0000)]
Merge "[Wi-Fi] Refine code for saved AccessPoints"

4 years agoMerge "Update char limit to 28 for device detail title"
TreeHugger Robot [Wed, 9 Oct 2019 09:54:42 +0000 (09:54 +0000)]
Merge "Update char limit to 28 for device detail title"

4 years agoMerge "[Wi-Fi] [Source] Character limit: Factory Wi‑Fi MAC address and Randomized...
Goven Liu [Wed, 9 Oct 2019 09:33:19 +0000 (09:33 +0000)]
Merge "[Wi-Fi] [Source] Character limit: Factory Wi‑Fi MAC address and Randomized MAC address, length limit issue"

4 years agoMerge "[Wording] Remove "incur" from roaming strings"
Bonian Chen [Wed, 9 Oct 2019 09:07:09 +0000 (09:07 +0000)]
Merge "[Wording] Remove "incur" from roaming strings"

4 years agoMerge "[a11y] Set "Settings version" as non-double-tap"
Bonian Chen [Wed, 9 Oct 2019 09:06:59 +0000 (09:06 +0000)]
Merge "[a11y] Set "Settings version" as non-double-tap"

4 years ago[Wi-Fi] Refine code for saved AccessPoints
Arc Wang [Tue, 8 Oct 2019 09:58:20 +0000 (17:58 +0800)]
[Wi-Fi] Refine code for saved AccessPoints

The change targets to refine SavedAccessPointsPreferenceController and
SubscribedAccessPointsPreferenceController

1. Remove feature flag check for saved Passpoint display.
2. They do not implements WifiManager.ActionListener.
3. Separate the code to collect saved AccessPoints data and the code to
   update preferences.
4. Let getAvailabilityStatus() returns result according to the saved
   AccessPoints data.
5. Update preferences at SavedAccessPointsWifiSettings#onStart()
   instead of life cycle onStart() of these 2 controllers.
   This is for the change of 2.
6. Do not use PreferenceGroupChildrenCache in
   SubscribedAccessPointsPreferenceController, this is for code
   alignment of SavedAccessPointsPreferenceController.
   Now these 2 controllers have very similar design, it will be easier
   to refine SubscribedAccessPointsPreferenceController as a child of
   SavedAccessPointsPreferenceController.

Bug: 127206629
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.savedaccesspoints
      Manual: Add and forget Wi-Fi accesspoints and observe UI display.

Change-Id: Id6f95d5b64e57a98c2c2e6ab09a4dec70a71b615

4 years agoUpdate char limit to 28 for device detail title
hughchen [Wed, 9 Oct 2019 07:51:24 +0000 (15:51 +0800)]
Update char limit to 28 for device detail title

Bug: 132684770
Test: manually
Change-Id: I0608b483eab2a8159c51c739e9b4d431a6aaf05a

4 years agoMerge "[A11Y] Improve data usage chart TalkBack content"
Arc Wang [Wed, 9 Oct 2019 07:17:24 +0000 (07:17 +0000)]
Merge "[A11Y] Improve data usage chart TalkBack content"

4 years ago[Wi-Fi] [Source] Character limit: Factory Wi‑Fi MAC address and Randomized MAC addres...
govenliu [Wed, 9 Oct 2019 07:05:44 +0000 (15:05 +0800)]
[Wi-Fi] [Source] Character limit: Factory Wi‑Fi MAC address and Randomized MAC address, length limit issue

[CHAR LIMIT=30] is too short for translation.

Solution: Extend to 50 characters for both Factory Wi-Fi MAC address (require 40 characters), and Randomized MAC address (require 37 characters).

Bug: 142284108
Bug: 142283151
Test: None, just extend the string length for translation.
Change-Id: I41e99d2cd85ab527a1bd073cab83b4bf61234c98

4 years ago[a11y] Set "Settings version" as non-double-tap
Bonian Chen [Wed, 9 Oct 2019 06:26:52 +0000 (14:26 +0800)]
[a11y] Set "Settings version" as non-double-tap

Disable the selectable configuration on preference
to avoid TalkBack read "double-tap to activate".

Bug: 141588828
Test: Manual test
Change-Id: Icd666792e6d86998d11168b62ab99e3c3412d747

4 years ago[Wording] Remove "incur" from roaming strings
Bonian Chen [Wed, 9 Oct 2019 04:33:38 +0000 (12:33 +0800)]
[Wording] Remove "incur" from roaming strings

Remove "incur" based on suggestion.

Bug: 141630288
Test: Manul test
Change-Id: Ic79abdfca238ef21730b5b941c570cfbffaae487

4 years ago[A11Y] Improve data usage chart TalkBack content
Arc Wang [Fri, 27 Sep 2019 10:39:29 +0000 (18:39 +0800)]
[A11Y] Improve data usage chart TalkBack content

1. Set null content description for all labels of the chart.
2. Set 2 parts in the content description of the chart:
  I.  Brief description of the chart.
  II. Stats of the data usage.

Bug: 141093026
Test: ChartDataUsagePreferenceTest
      Manually listen to TalkBack speaking
Change-Id: I82cefd9987793f40a5bba5bf3ea5f4017da37640

4 years agoMerge "[RadioInfo] Remove from Settings (into Telephony)"
Bonian Chen [Tue, 8 Oct 2019 10:20:34 +0000 (10:20 +0000)]
Merge "[RadioInfo] Remove from Settings (into Telephony)"

4 years ago[RadioInfo] Remove from Settings (into Telephony)
Bonian Chen [Mon, 7 Oct 2019 05:52:06 +0000 (13:52 +0800)]
[RadioInfo] Remove from Settings (into Telephony)

Moving RadioInfo and BandMode to Telephony app.

Bug: 123598192
Test: Manual test
Change-Id: Id62a2bf4b2c44efcd48319734d1cab6ed969ee06

4 years agoMerge "Add content description in the tutorial dialog"
Kevin Chang [Tue, 8 Oct 2019 06:09:45 +0000 (06:09 +0000)]
Merge "Add content description in the tutorial dialog"

4 years agoMerge "move CellBroadcastMessage from telephony-common to app"
Chen Xu [Tue, 8 Oct 2019 01:02:49 +0000 (01:02 +0000)]
Merge "move CellBroadcastMessage from telephony-common to app"

4 years agomove CellBroadcastMessage from telephony-common to app
Chen Xu [Thu, 3 Oct 2019 23:20:32 +0000 (16:20 -0700)]
move CellBroadcastMessage from telephony-common to app

1. add slotIndex in SmsCbMesage(cellbroadcast can be received
when sim is absent)
2. move cellbroadcastMessage from telephony-common to app
next step, considering merging CellBroadcast to SmsCbMessage

Bug: 135956699
Bug: 141962867
Test: build & unit test
Change-Id: Iba5e727fc1a1adaf44a7fa1eebfefe34fa8644aa

4 years agoAllow settings title to wrap
Julia Reynolds [Mon, 7 Oct 2019 14:42:29 +0000 (10:42 -0400)]
Allow settings title to wrap

Test: manual
Fixes: 141290268
Change-Id: I4e64b693fa213aca6cab6307c4a9177bfa7d7bdd

4 years agoMerge "Handle multi-user in notif log"
Julia Reynolds [Mon, 7 Oct 2019 13:15:16 +0000 (13:15 +0000)]
Merge "Handle multi-user in notif log"

4 years agoMerge "[Wi-Fi] Un-relevant string flash then disappear in WiFi direct page."
Goven Liu [Mon, 7 Oct 2019 06:06:47 +0000 (06:06 +0000)]
Merge "[Wi-Fi] Un-relevant string flash then disappear in WiFi direct page."

4 years ago[Wi-Fi] Un-relevant string flash then disappear in WiFi direct page.
govenliu [Fri, 4 Oct 2019 10:14:53 +0000 (18:14 +0800)]
[Wi-Fi] Un-relevant string flash then disappear in WiFi direct page.

The "PEER DEVICES" and "REMEMBERED GROUPS" two strings appear then disappear suddenly.

Solution: Set those two PreferenceGroups, which with empty preference
child, invisible before showing.

Bug: 141830944
Test: 1.Manual test. 2.Modify isAvailable() test case for make sure the
initial visible of empty group is invisible.
Change-Id: Ifb074ac758196096ca63b6f7fa1285f8148d98d4

4 years agoMerge "Refactor Settings for injection v2 inline toggle"
Jason Chiu [Mon, 7 Oct 2019 03:46:05 +0000 (03:46 +0000)]
Merge "Refactor Settings for injection v2 inline toggle"

4 years agoMerge "Tethering shouldn't indicates on when SIM without tethering option"
TreeHugger Robot [Mon, 7 Oct 2019 02:50:01 +0000 (02:50 +0000)]
Merge "Tethering shouldn't indicates on when SIM without tethering option"

4 years agoMerge "[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours...
Bill Yi [Sun, 6 Oct 2019 22:17:28 +0000 (15:17 -0700)]
Merge "[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am: 6fa03d4cad -s ours
am: eec9cc07ca -s ours
am skip reason: subject contains skip directive

Change-Id: Id87b7c4a4ed14c3a1810bf409f55442e1e05f4ad

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am...
Bill Yi [Sun, 6 Oct 2019 22:16:56 +0000 (15:16 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am: 165a3e6152 -s ours
am: 8491c7fc2b -s ours
am skip reason: subject contains skip directive

Change-Id: Ied4ddf5cfdea7c3c6b402d7f57ea3e393ded01a3

4 years agoMerge "[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours...
Android Build Merger (Role) [Sun, 6 Oct 2019 22:10:28 +0000 (22:10 +0000)]
Merge "[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am: 6fa03d4cad -s ours am skip reason: subject contains skip directive" into qt-qpr1-dev-plus-aosp

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours
Bill Yi [Sun, 6 Oct 2019 22:10:17 +0000 (15:10 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours
am: 6fa03d4cad -s ours
am skip reason: subject contains skip directive

Change-Id: I907eb3de51fb2427bc525282a87ceea97581815c

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours
Bill Yi [Sun, 6 Oct 2019 22:10:15 +0000 (15:10 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours
am: 165a3e6152 -s ours
am skip reason: subject contains skip directive

Change-Id: I22a3b3c49c309e7ccd9424f16841722fd1a228b0

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sun, 6 Oct 2019 22:03:16 +0000 (15:03 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: aa605a2ff8 -s ours
am skip reason: subject contains skip directive

Change-Id: I8582fd40ccfab6c247144759b8eac47e021b3ee4

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sun, 6 Oct 2019 22:03:16 +0000 (15:03 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: aa605a2ff8 -s ours
am skip reason: subject contains skip directive

Change-Id: I67820e45b4aceb3a9d3c141cc3be69e899551e2e

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am...
Bill Yi [Sun, 6 Oct 2019 20:28:06 +0000 (13:28 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 42eff7e319 -s ours
am: e59984afb1 -s ours
am skip reason: subject contains skip directive

Change-Id: Id9145af1c1308c1ca5c63e6df66927b2778afbd6

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sun, 6 Oct 2019 20:21:35 +0000 (13:21 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: 42eff7e319 -s ours
am skip reason: subject contains skip directive

Change-Id: I35cc62652e4cb9c2a7448b1db141cbba125c6f04

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sun, 6 Oct 2019 19:48:23 +0000 (19:48 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoPreferred network list add 5G item am: dd7f9b57f6
SongFerngWang [Sun, 6 Oct 2019 16:26:02 +0000 (09:26 -0700)]
Preferred network list add 5G item am: dd7f9b57f6
am: a72e1c4612

Change-Id: I734eb57e32fe51bdc1570da86fd66c3b16b99f7f

4 years agoRadioInfo network mode list and network mode string add 5G am: ec384c2f6f
SongFerngWang [Sun, 6 Oct 2019 16:25:58 +0000 (09:25 -0700)]
RadioInfo network mode list and network mode string add 5G am: ec384c2f6f
am: ffc927f77d

Change-Id: Ida4180873e042097fb5fe17292b29d66f77de9ee

4 years agoPreferred network list add 5G item
SongFerngWang [Sun, 6 Oct 2019 16:20:09 +0000 (09:20 -0700)]
Preferred network list add 5G item
am: dd7f9b57f6

Change-Id: I70f89c6c5e5c43107788c58f1fc3ca44383b4ce5

4 years agoRadioInfo network mode list and network mode string add 5G
SongFerngWang [Sun, 6 Oct 2019 16:20:06 +0000 (09:20 -0700)]
RadioInfo network mode list and network mode string add 5G
am: ec384c2f6f

Change-Id: I280fb1f3e0acddcb3a85eee876112e491bd4f8f4

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 6 Oct 2019 14:50:11 +0000 (07:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie4fdf91f299defd2a361d76455093db5a410d0d6
Auto-generated-cl: translation import

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 6 Oct 2019 14:36:10 +0000 (07:36 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1af1cc81e5fffb4ead2146f8871efa5115f91be2
Auto-generated-cl: translation import

4 years agoMerge "[Settings UX] Enlarge data usage clickable area"
Bonian Chen [Sat, 5 Oct 2019 06:58:46 +0000 (06:58 +0000)]
Merge "[Settings UX] Enlarge data usage clickable area"

4 years agoMerge "Fix a11y issue for the Preferences in the "Android version" Talkback should...
TreeHugger Robot [Sat, 5 Oct 2019 03:40:34 +0000 (03:40 +0000)]
Merge "Fix a11y issue for the Preferences in the "Android version" Talkback should not speak "double-tap to activate"."

4 years agoMerge "Removed old settings device credential logic."
Kevin Chyn [Sat, 5 Oct 2019 02:37:26 +0000 (02:37 +0000)]
Merge "Removed old settings device credential logic."

4 years agoMerge "Remove all biometrics data of a user when password is cleared."
Alex Johnston [Fri, 4 Oct 2019 12:58:17 +0000 (12:58 +0000)]
Merge "Remove all biometrics data of a user when password is cleared."

4 years agoRefactor Settings for injection v2 inline toggle
Jason Chiu [Tue, 1 Oct 2019 09:35:00 +0000 (17:35 +0800)]
Refactor Settings for injection v2 inline toggle

Bug: 132808482
Test: robotest
Change-Id: I0b74e05bc26b97259a15859c669060ce3da7972a

4 years agoMerge "Fix overlapping in TrustedCredentialsSettings"
Mill Chen [Fri, 4 Oct 2019 10:26:56 +0000 (10:26 +0000)]
Merge "Fix overlapping in TrustedCredentialsSettings"

4 years agoFix a11y issue for the Preferences in the "Android version"
Stanley Wang [Fri, 4 Oct 2019 09:18:29 +0000 (17:18 +0800)]
Fix a11y issue for the Preferences in the "Android version"
Talkback should not speak "double-tap to activate".

Set the preference selectable attribute to false.

Test: manual
Fixes: 139709914
Change-Id: If4d6dd480740f4225b1e2932e7838c14a01cf8e5

4 years ago[Settings UX] Enlarge data usage clickable area
Bonian Chen [Fri, 4 Oct 2019 09:08:00 +0000 (17:08 +0800)]
[Settings UX] Enlarge data usage clickable area

Orignal clickable area within data usage editor is too small.
Enlarge it through changing the configuration of layout.

Bug: 131268240
Test: manual testing following the steps provided in issue.
Change-Id: I2cb8dba635ec0bd74c837c2425895ff39ceed13c

4 years agoMerge "Fix the display abnormal of Tap & pay screen in landscape mode"
TreeHugger Robot [Fri, 4 Oct 2019 08:33:20 +0000 (08:33 +0000)]
Merge "Fix the display abnormal of Tap & pay screen in landscape mode"

4 years agoMerge "Fix talkback issue"
Raff Tsai [Fri, 4 Oct 2019 08:05:51 +0000 (08:05 +0000)]
Merge "Fix talkback issue"

4 years agoTethering shouldn't indicates on when SIM without tethering option
hughchen [Tue, 30 Jul 2019 22:14:54 +0000 (06:14 +0800)]
Tethering shouldn't indicates on when SIM without tethering option

Before this CL, If SIM doesn't have tethering option then UI will not
back to previous option when press "USB tethering" in
[Default USB configuration].

This CL added receiver to observe USB state that get correct state
from UsbManager.

Bug: 138630479
Test: make -j42 RunSettingsRoboTests
Change-Id: I6cc8da508f6ab142142ca8c28460125bad93925b

4 years agoPreferred network list add 5G item
SongFerngWang [Fri, 30 Aug 2019 08:06:41 +0000 (16:06 +0800)]
Preferred network list add 5G item

Preferred network list add 5G item, and change "recommended" from 4G to
5G, and add summary for 5G.

Bug: 138544359
Test: 1.fake the device network type bitmask to 5G, UI show 5G list
2.atest EnabledNetworkModePreferenceControllerTest.java :pass

Change-Id: I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90

4 years agoRadioInfo network mode list and network mode string add 5G
SongFerngWang [Fri, 23 Aug 2019 10:03:27 +0000 (18:03 +0800)]
RadioInfo network mode list and network mode string add 5G

Bug: 131888757
Test: 1.build pass 2.RadioInfo set network mode work.
Change-Id: I945d3c2fd175f45151bbeee475e388ccc2d67642

4 years agoFix talkback issue
Raff Tsai [Fri, 4 Oct 2019 02:22:10 +0000 (10:22 +0800)]
Fix talkback issue

Fixes: 141226569
Test: manual
Change-Id: I631554ab33d6cc77f3d3f2e4625d359a802dd5b5

4 years agoMerge "Make battery icon as red when battery level < 20%"
Raff Tsai [Fri, 4 Oct 2019 01:47:28 +0000 (01:47 +0000)]
Merge "Make battery icon as red when battery level < 20%"

4 years agoMerge "[Wi-Fi] Wrong MAC address shown in Settings."
Goven Liu [Fri, 4 Oct 2019 01:13:03 +0000 (01:13 +0000)]
Merge "[Wi-Fi] Wrong MAC address shown in Settings."

4 years ago5G meteredness for telephony framework
Sarah Chin [Thu, 26 Sep 2019 19:07:23 +0000 (12:07 -0700)]
5G meteredness for telephony framework

Bug: 139070884
Test: atest FrameworksTelephonyTests
Change-Id: I0c8e84f74fd1f69ffc7e1046819966fcb04732a6

4 years agoMerge "Talkback speaking for the notification option should be consistent"
Jay Aliomer [Thu, 3 Oct 2019 20:54:21 +0000 (20:54 +0000)]
Merge "Talkback speaking for the notification option should be consistent"

4 years agoTalkback speaking for the notification option should be consistent
Jay Aliomer [Thu, 3 Oct 2019 18:28:43 +0000 (14:28 -0400)]
Talkback speaking for the notification option should be consistent

Because the "Silent" button uses RelativeLayout with getAccessibilityClassName not returning "Button", we use the NotificationButtonRelativeLayout which does that instead
Fix: 141348514
Test: manual testing. see bug report
Change-Id: Ic1c329ae1ad97aed45dc488ee7260d0081211784