Commit Graph

61016 Commits

Author SHA1 Message Date
Menghan Li
24f71c6e91 Merge "Fix formats and internationalization of the string "0.6 seconds" in sk language" into rvc-dev 2020-04-27 14:22:22 +00:00
Beverly
a8ea534674 Separate call/messages dnd summary string
The translation for call/messages may be feminine or masculine depending
on the language which changes the way this string should be translated.
Therefore, separate the string to prevent bad translations.

Test: manual
Fixes: 154687360
Change-Id: I3cbef72d41626a244ce82a0d0574427fb9c4462e
2020-04-27 10:02:28 -04:00
Bonian Chen
260ad5c523 [Settings] Align data usage calculation
Align the calculation of data usage between
DataUsageSummaryPreferenceController and DataUsagePrefereneController.

Bug: 143996139
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I73de79b5cc298bf949827eda0a8bb0274089c016
2020-04-27 19:39:01 +08:00
Arc Wang
69653f0585 [Wi-Fi] Show Wi-Fi editor for authentication failures
When the Wi-Fi network is disabled because of authentication failures,
Wi-Fi picker should show editor before connecting or the network will
always fail to connect.

Bug: 112137755
Test: atest com.android.wifitrackerlib.StandardWifiEntryTest
Change-Id: I0ae42e7974e6bd2548e7f2595c6ae71a73398030
2020-04-27 19:37:30 +08:00
Bill Yi
c162aa3acb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I5fd1212a2ca1683651184562d1d51811883c56cd
2020-04-27 04:37:20 -07:00
TreeHugger Robot
1580c35296 Merge "Hide the "play media to" option" into rvc-dev am: 2152d0ce4f
Change-Id: I50adccf9f3fa816cefbec2490c50657be577cf29
2020-04-27 10:07:45 +00:00
TreeHugger Robot
2152d0ce4f Merge "Hide the "play media to" option" into rvc-dev 2020-04-27 09:55:56 +00:00
TreeHugger Robot
854130ec24 Merge "[Wi-Fi] Add object comments for WifiTrackerLib migration" into rvc-dev am: 71b353352c
Change-Id: Ie798a4182e284c9b2ac9ec5cfe42669b32a46e11
2020-04-27 09:31:40 +00:00
Bonian Chen
408e49b369 Merge "[Settings] Sync summary of call preference with dialer" into rvc-dev am: 51433a5ea8
Change-Id: Ic99a56c4a37733ee40334f33d71c1a30f3713772
2020-04-27 09:31:17 +00:00
Edgar Wang
9f196efcad Fix when search "storage", there are multiple results
root cause: if device doesn't have external storage,
StorageSettings will launch PrivateVolumeSettings and finish itself.
But we still index the preferences in StorageSettings.

Solution: Check if device doesn't support external storage,
add all of StorageSettings preference into nonIndexableKey list.

Bug: 152366015
Test: robotest & manual

Change-Id: Ib559db3455d46a343ad7eb73e54eb72d0e833308
2020-04-27 17:23:46 +08:00
TreeHugger Robot
71b353352c Merge "[Wi-Fi] Add object comments for WifiTrackerLib migration" into rvc-dev 2020-04-27 09:15:00 +00:00
Bonian Chen
51433a5ea8 Merge "[Settings] Sync summary of call preference with dialer" into rvc-dev 2020-04-27 09:14:22 +00:00
Bonian Chen
e17e302c9e [Settings] Sync summary of call preference with dialer
Replacing the display of summary part within Settings' calls preference
by VoIP account when configured calling account settings within Dialer.

The click behavior for calls preference remain unchanged, due to this is
the configuration for subscription (instead of for all kinds of
accounts).

Bug: 136277187
Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DefaultSubscriptionControllerTest
Change-Id: Iaa5fa1f3efe7ba2463caa0b450077f885d42b1c8
2020-04-27 08:53:18 +00:00
TreeHugger Robot
03f59415ce Merge "Dynamic grouping failed the first time" into rvc-dev am: 2e16d78872
Change-Id: I193214a4dd54c751ea6bee005a4b6b847cf171d7
2020-04-27 08:38:38 +00:00
Bonian Chen
5450d488b4 Merge "[Settings] Support re-init DataUsageSummaryPreferenceController" into rvc-dev am: 1b5f347893
Change-Id: Iece45eb3a95b4c45bf42d346f814c693071d60f4
2020-04-27 08:38:30 +00:00
TreeHugger Robot
2e16d78872 Merge "Dynamic grouping failed the first time" into rvc-dev 2020-04-27 08:35:48 +00:00
Bonian Chen
1b5f347893 Merge "[Settings] Support re-init DataUsageSummaryPreferenceController" into rvc-dev 2020-04-27 08:26:46 +00:00
PETER LIANG
6597cf6cb2 Merge "Add the enabled status into the condition for the service which is VolumeShortcutToggle type." into rvc-dev am: c0fc0e4542
Change-Id: Ie6d62f2b2731c756eae1d90368c3cf19d410edd7
2020-04-27 07:33:00 +00:00
PETER LIANG
c0fc0e4542 Merge "Add the enabled status into the condition for the service which is VolumeShortcutToggle type." into rvc-dev 2020-04-27 07:20:16 +00:00
Arc Wang
b33a59b860 [Wi-Fi] Add object comments for WifiTrackerLib migration
Migrating from Wi-Fi SettingsLib to to WifiTrackerLib, there are
both some Settings files of both version. Developers should
develop on new version files.

Bug: 152571756
Test: compile
Change-Id: I4446e2e333663bf69daa1ceff102775889021851
2020-04-27 14:28:13 +08:00
Bill Yi
114edb926b Import translations. DO NOT MERGE
Change-Id: If34c66548982270e15e0b607dd3fa7c810ad5f15
Auto-generated-cl: translation import
2020-04-26 22:07:52 -07:00
hughchen
d02c31e693 Hide the "play media to" option
This CL will hide the "play media to" option is there are no active
media session and media state is not playing.

Bug: 154457882
Test: manually test
Change-Id: If272a336f06b51e7a2e1605c8dc092b2ca134c25
2020-04-27 11:42:06 +08:00
Peter_Liang
9e50eb1598 Add the enabled status into the condition for the service which is VolumeShortcutToggle type.
Root cause: Shouldn't show the tutorial related to accessibility button when the service which has the accessibility button flag and is VolumeShortcutToggle type is not turned on.

Next: Add the status of the corresponding service.

Bug: 148989018
Test: manual test
Change-Id: Icc1dc071387e34401ecf67ed9fbc7bd4f9f9d612
2020-04-27 02:42:19 +00:00
Amit Mahajan
4aa834efcd Merge "Look up CBS package name through PackageManager." into rvc-dev am: 3becd37d47
Change-Id: Ib7987a370ba181a36b139fbb66b57a9668dfffe6
2020-04-26 23:52:42 +00:00
Amit Mahajan
3becd37d47 Merge "Look up CBS package name through PackageManager." into rvc-dev 2020-04-26 23:41:30 +00:00
Bonian Chen
7976cfc02d Merge "[Settings] Fix DataUsageUtilsTest" into rvc-dev am: b9217e8e17
Change-Id: Ifc346d43a3a7209304048da212f35326f543308f
2020-04-25 05:06:36 +00:00
Bonian Chen
b9217e8e17 Merge "[Settings] Fix DataUsageUtilsTest" into rvc-dev 2020-04-25 04:54:04 +00:00
Winson Chung
8d4eb8f7b1 Merge "Ensure CryptKeeper runs with its own task affinity" into rvc-dev am: fbfefe5b60
Change-Id: I490a0b353d7cdd45485b9a4262362522d64c8dea
2020-04-24 23:22:44 +00:00
Winson Chung
fbfefe5b60 Merge "Ensure CryptKeeper runs with its own task affinity" into rvc-dev 2020-04-24 23:01:36 +00:00
Winson Chung
ec8f79925a Ensure CryptKeeper runs with its own task affinity
- Otherwise, when it finishes and home is started in the same task,
  subsequent launches of Settings activities will be routed to the
  home task incorrectly.

Bug: 154890505
Bug: 150983816
Test: Flash & wipe device, finish SUW, launch a quick settings
      settings activity, ensure it starts in a new non-home task
Change-Id: I48db005a5c292f76ab23b34a194b209c6d1b2335
2020-04-24 22:58:38 +00:00
Amit Mahajan
b6139c0caf Look up CBS package name through PackageManager.
Instead of hardcoding it.

Test: manual
Bug: 154436403
Change-Id: I0feb356e6cd4868f71198bdee49a7658b4b98b5d
2020-04-24 13:46:11 -07:00
TreeHugger Robot
5bd1d6693f Merge "Add SearchIndexable to Power Menu" into rvc-dev am: 482968c84b
Change-Id: I360e3fc7967c71fd07d3a65f69eb7605fe954b2f
2020-04-24 19:35:40 +00:00
TreeHugger Robot
482968c84b Merge "Add SearchIndexable to Power Menu" into rvc-dev 2020-04-24 19:20:51 +00:00
TreeHugger Robot
0dc7e9b328 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-04-24 18:02:01 +00:00
TreeHugger Robot
39e56f4bee [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: c93aaf860e -s ours
am skip reason: subject contains skip directive

Change-Id: I6453b490eb044cb1663e995fd88c34c46fd66e11
2020-04-24 17:52:20 +00:00
Fabian Kozynski
11c5f9427c Add SearchIndexable to Power Menu
Test: build
Fixes: 154854301
Change-Id: Ibf35ca678b01bc0f1face8f7375defa18593e5a6
2020-04-24 13:51:34 -04:00
TreeHugger Robot
c93aaf860e Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-24 17:33:41 +00:00
Menghan Li
6c780ee4ca Merge "Refines the limit of advanced in edit shortcut dialog." into rvc-dev am: 450d0eb385
Change-Id: I143540a4f368cba78d55c96d614575f88d8669d7
2020-04-24 16:14:25 +00:00
Bill Yi
bcd3f99142 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4b986158dfdd53a701c64523be29afe2e3c8a8df
2020-04-24 09:04:36 -07:00
Menghan Li
450d0eb385 Merge "Refines the limit of advanced in edit shortcut dialog." into rvc-dev 2020-04-24 15:59:43 +00:00
Bill Yi
c8ca3c15d2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4c207434bd7a02e506e8afd0feac464b54c403f3
2020-04-24 08:21:17 -07:00
TreeHugger Robot
8c497918fa Merge "Add information video placeholder and ref" into rvc-dev am: 4cc81daec0
Change-Id: If0714df51c08d5d84431885acad2157dcd5ba557
2020-04-24 14:54:58 +00:00
TreeHugger Robot
4cc81daec0 Merge "Add information video placeholder and ref" into rvc-dev 2020-04-24 14:41:12 +00:00
menghanli
29020158d3 Refines the limit of advanced in edit shortcut dialog.
Root cause: The "Advanced" string is allowed only 10 characters which makes the Czech translation less accurate and clear.
Next: There is enough space for longer message, refines limit to 20 characters.

Bug: 154753232
Test: local test
Change-Id: I60e35bbcfb85acb9a993b8ac9e120971e49fdfaf
2020-04-24 13:46:45 +00:00
TreeHugger Robot
e5d2689ada Merge "Fix some heights" into rvc-dev am: da9e2099de
Change-Id: I399533fd390b5365034a26cf6a7b9c9c3065241f
2020-04-24 13:24:41 +00:00
TreeHugger Robot
da9e2099de Merge "Fix some heights" into rvc-dev 2020-04-24 13:09:47 +00:00
Robert Luo
44cc3810f3 Merge "Fix broken NfcAndPaymentFragment test case - searchIndexProvider_shouldIndexAllItems" into rvc-dev am: 44121a7a3d
Change-Id: Ifea3839c7b30aee374cae85adcb78ce5558d0e65
2020-04-24 11:41:23 +00:00
Robert Luo
44121a7a3d Merge "Fix broken NfcAndPaymentFragment test case - searchIndexProvider_shouldIndexAllItems" into rvc-dev 2020-04-24 11:24:30 +00:00
Robert Luo
b26b9561a1 Fix broken NfcAndPaymentFragment test case - searchIndexProvider_shouldIndexAllItems
Bug: 154561690
Test: make RunSettingsRoboTests and pass all test cases in NfcAndPaymentFragmentTest
Change-Id: I12f4901e4de01eb259f9daf3ac33b1e1879e98fd
2020-04-24 17:47:12 +08:00
TreeHugger Robot
204c1bc8f5 Merge "[Wi-Fi] Add IMSI privacy protection warning summary" into rvc-dev am: 0a98937baf
Change-Id: I061f46e5d5c3f42d8265ad490858398469f0a6b6
2020-04-24 08:40:02 +00:00