Commit Graph

45349 Commits

Author SHA1 Message Date
Doris Ling
2cde793fd5 Merge "Fix limit data usage dialog body not being translated." into pi-dev am: 21a34488ba
am: 2e084e25a7

Change-Id: If4f99fdf5e4c9b5568a4b310ac94aa36ab6167d9
2018-04-19 19:31:28 -07:00
Sundeep Ghuman
f260183895 Merge "Adjust comment on data over usage string." into pi-dev am: 35d1d43bb3
am: 99b61ee1ac

Change-Id: If3335154372df66c9a75bea24f2ceff1d5d09da3
2018-04-19 19:29:33 -07:00
Doris Ling
d82413c9e6 Merge "Fix App data usage title not being translated." into pi-dev am: 3fff843e57
am: 63c051ff41

Change-Id: Ia74a7c8664e882f633db274df99c999abc57a0f8
2018-04-19 19:19:01 -07:00
Salvador Martinez
adebfe35a9 Merge "Update Wifi Tether band selection UI" into pi-dev am: d9abb0e914
am: bef9e8516d

Change-Id: I088a291c8d936c6e321883d9a35746b42db1df3b
2018-04-19 18:13:58 -07:00
Fan Zhang
e537da877b Merge "Format number to local locale." into pi-dev am: 0468f68c02
am: 92c62ba2eb

Change-Id: I3a0f1322e3f904c90f1e616be454ba710f094781
2018-04-19 18:13:21 -07:00
Doris Ling
3160f1cb13 Merge "Fix Network details title not being translated." into pi-dev
am: be22830fde

Change-Id: Ie2d2e0637b1357b926e22bd82372d573a6c6d06b
2018-04-19 18:10:17 -07:00
Doris Ling
2e084e25a7 Merge "Fix limit data usage dialog body not being translated." into pi-dev
am: 21a34488ba

Change-Id: Ie9920bf102323c716ad99ce5d2157231bab1ca7c
2018-04-19 18:08:59 -07:00
Sundeep Ghuman
99b61ee1ac Merge "Adjust comment on data over usage string." into pi-dev
am: 35d1d43bb3

Change-Id: I702e97cd957cede9f318757dd8f312ff273777c3
2018-04-19 18:06:51 -07:00
Doris Ling
63c051ff41 Merge "Fix App data usage title not being translated." into pi-dev
am: 3fff843e57

Change-Id: Idf6dc991d79de90d779cc0a084a210f53e7a99b8
2018-04-19 17:55:51 -07:00
TreeHugger Robot
be22830fde Merge "Fix Network details title not being translated." into pi-dev 2018-04-20 00:50:34 +00:00
Salvador Martinez
bef9e8516d Merge "Update Wifi Tether band selection UI" into pi-dev
am: d9abb0e914

Change-Id: Ib69cf5155195408170f6eaebd271a32c774e2bbd
2018-04-19 17:46:31 -07:00
TreeHugger Robot
21a34488ba Merge "Fix limit data usage dialog body not being translated." into pi-dev 2018-04-20 00:43:58 +00:00
TreeHugger Robot
35d1d43bb3 Merge "Adjust comment on data over usage string." into pi-dev 2018-04-20 00:36:43 +00:00
Fan Zhang
92c62ba2eb Merge "Format number to local locale." into pi-dev
am: 0468f68c02

Change-Id: I946d9b8b18762a8047dafbbe938cd47a2c29c4f2
2018-04-19 17:29:26 -07:00
Matthew Fritze
f9f72e8c2c Update Slice APIs to current versions
Change-Id: Icf40673e518534487be77f33427df937717735e5
Fixes: 77982356
Test: robotests
2018-04-19 17:29:18 -07:00
TreeHugger Robot
3fff843e57 Merge "Fix App data usage title not being translated." into pi-dev 2018-04-20 00:18:27 +00:00
TreeHugger Robot
2bc391bb09 Merge "Remove LockdownButtonPreferenceController from java" 2018-04-20 00:16:43 +00:00
TreeHugger Robot
d9abb0e914 Merge "Update Wifi Tether band selection UI" into pi-dev 2018-04-20 00:15:45 +00:00
Fan Zhang
0468f68c02 Merge "Format number to local locale." into pi-dev 2018-04-20 00:01:01 +00:00
Doris Ling
dad557305e Fix Network details title not being translated.
- use the title resource id instead of the actual string in the launch
intent so that it can react to language change.

Change-Id: I424dc026a9298d12627c05f97f27e9d4cba5a341
Fixes: 77896130
Test: run i18nscreenshots
2018-04-19 16:49:35 -07:00
Doris Ling
689bb2c27c Fix limit data usage dialog body not being translated.
- need to pass the resource id instead of the text when building the
dialog in order for it to react to language change.
- also remove the unnecessary set/get the body message in the dialog
creation since the msg id can be used directly.

Change-Id: I399dcda54961fac457fc5f0fad9082f2c1e1a2b2
Fixes: 77897157
Test: run i18nscreenshots
2018-04-19 16:35:28 -07:00
Sundeep Ghuman
201d6ffcdb Adjust comment on data over usage string.
Bug: 75981328
Test: NA
Change-Id: I393ab6637d563a34e9cea2da2b9c29e32efb056f
2018-04-19 16:20:30 -07:00
Doris Ling
6784296248 Fix App data usage title not being translated.
- we need to pass the title resource id instead of the actual text in
the launch intent in order for it react to language change properly.

Change-Id: I72ccbe67411c9f4da328dd24671f4e71ab927851
Fixes: 77898325
Test: run i18nscreenshots
2018-04-19 16:09:58 -07:00
Fan Zhang
040df90c50 Format number to local locale.
Change-Id: Iffa91eb8c40f09e5ac4cce10f355e348e62d8fce
Fixes: 78134172
Test: robotests
2018-04-19 15:54:39 -07:00
TreeHugger Robot
f9a768d6c3 Merge "Migrate LegalSettings to DashboardFragment" 2018-04-19 22:36:09 +00:00
Fan Zhang
e136bb550e Remove LockdownButtonPreferenceController from java
It's already registered in xml.

Change-Id: I9b363e0d7543fd8139b4e4e65e11d567cbf2ae70
Fixes: 78299993
Test: robotests
2018-04-19 22:13:42 +00:00
Yanting_Yang
42513afac0 Migrate LegalSettings to DashboardFragment
- CopyrightPreferenceController
- LegalPreferenceController
- LicensePreferenceController
- TermsPreferenceController
- WallpaperAttributionsPreferenceController
- WebViewLicensePreferenceController

Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
      make RunSettingsRoboTests -j ROBOTEST_FILTER=CodeInspectionTest
      atest UniquePreferenceTest

Change-Id: I28108eb926f9efec63390c2354cb0ebc0a785ec2
2018-04-19 14:42:00 -07:00
rafftsai
c43f9f594f Change base fragment to InstrumentedFragment
- Modify PrivateVolumeForget, PrivateVolumeFormat, PrivateVolumeUnmount
- Add ShadowStorageManager
- Add test cases

Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo

Change-Id: I6883dd12cec00abbc3099bf31d285e6fe455eba6
2018-04-19 21:27:13 +00:00
Salvador Martinez
10ba9c1786 Update Wifi Tether band selection UI
This CL updates the preference for selecting the enabled tether bands
to allow individual selection of multiple bands instead of forcing
a single selection. Note that while this makes the UI theoretically
support new bands in the future, the wifi backend only supports
selecting a single band or all bands which this CL does not address.

Test: robotests
Bug: 73102003
Change-Id: Ib2d4a2834c5cd11875515d308f7b20bfc8471959
2018-04-19 13:37:09 -07:00
Salvador Martinez
9d03322d2c Merge "Fix restricted fragment dialogs" into pi-dev am: dbe38b09cf
am: c1b16f62ad

Change-Id: I32ec3d32e067f03f63335292c7541253bfe372ff
2018-04-19 13:25:14 -07:00
Salvador Martinez
c1b16f62ad Merge "Fix restricted fragment dialogs" into pi-dev
am: dbe38b09cf

Change-Id: I2f84cc758efc3e8de5912cad39ec16454683a2a3
2018-04-19 13:17:35 -07:00
Jeff Sharkey
de7d61b301 Merge "Find graceful description when missing disk." into pi-dev am: 676e86d7fa
am: c890ca54ee

Change-Id: I1b717e497134ffd2b68c936be4e17b800cf10f5a
2018-04-19 13:11:29 -07:00
Salvador Martinez
dbe38b09cf Merge "Fix restricted fragment dialogs" into pi-dev 2018-04-19 20:09:08 +00:00
Jeff Sharkey
c890ca54ee Merge "Find graceful description when missing disk." into pi-dev
am: 676e86d7fa

Change-Id: Iadf3622d3cb5584da367b5efe4e28d376b679a45
2018-04-19 13:07:54 -07:00
Jeff Sharkey
676e86d7fa Merge "Find graceful description when missing disk." into pi-dev 2018-04-19 20:03:24 +00:00
Jan Nordqvist
2eed1c3947 Merge "Updated string char-limits to better match available space for data usage." into pi-dev am: 0454317643
am: ebfe3a9fd6

Change-Id: I3408888a7d0e89aec88658e4ad0742b3011906c9
2018-04-19 11:50:11 -07:00
Jan Nordqvist
ebfe3a9fd6 Merge "Updated string char-limits to better match available space for data usage." into pi-dev
am: 0454317643

Change-Id: I4ef295e377282c7a38dbce44fca0e92395fa5395
2018-04-19 11:40:36 -07:00
TreeHugger Robot
0454317643 Merge "Updated string char-limits to better match available space for data usage." into pi-dev 2018-04-19 18:28:54 +00:00
Lei Yu
646698c7ab Merge "update checkbox based on FAS API" into pi-dev am: cff99cc2e3
am: bbf793460b

Change-Id: I7709702e12d28e7403e134c9da65d8735e54dcf6
2018-04-19 10:47:22 -07:00
Lei Yu
df5beee68b Hook up Adaptive Battery to new flag.
APP_STANDBY_ENABLED is controlled by server side to do experiment.
Before this CL, Adaptive Battery is hooked up to this flag, so
even though if user turns it off, it may be turned on by server.

Add a high level ADAPTIVE_BATTERY_MANAGEMENT_ENABLED to control
the feature in settings UI side.

Bug: 78153913
Test: RunSettingsRoboTests
Change-Id: I1a18d622ddc31ec4d45db918bf981516fbb926c1
2018-04-19 10:46:37 -07:00
Beverly Tai
83cbcbb72a Merge "Can disable checkbox without tint on text" into pi-dev am: 48831c837f
am: ee3164bd42

Change-Id: I63a71e144fd3b93c2c9b285cd637ba656092fa79
2018-04-19 10:30:43 -07:00
Lei Yu
bbf793460b Merge "update checkbox based on FAS API" into pi-dev
am: cff99cc2e3

Change-Id: I556fdf252bef54840dc9ec2fe4a43a991517cab2
2018-04-19 10:21:05 -07:00
Beverly Tai
ee3164bd42 Merge "Can disable checkbox without tint on text" into pi-dev
am: 48831c837f

Change-Id: I1a006094735f5d18e7fc8aeb843bac6736613af8
2018-04-19 10:18:05 -07:00
Lei Yu
cff99cc2e3 Merge "update checkbox based on FAS API" into pi-dev 2018-04-19 17:01:23 +00:00
Beverly Tai
48831c837f Merge "Can disable checkbox without tint on text" into pi-dev 2018-04-19 16:57:05 +00:00
Jeff Chang
224d2c2e6a Merge "The Google specific bits should not in AOSP tests." 2018-04-19 16:42:03 +00:00
Jeff Sharkey
d98de2e2da Find graceful description when missing disk.
Certain volumes (like internal storage) don't have a corresponding
DiskInfo object, so we need to fall back to using the VolumeInfo
description instead.

Bug: 77991425
Test: atest com.android.settings.ui.StorageWizardTest
Change-Id: I92d377035b6028dd31527100da54bfb1d1828ae9
2018-04-19 09:45:31 -06:00
Julia Reynolds
e2897aedf5 Fix crash on rotation
Load app/channel data early so that any open dialogs can be properly
reconstructed. Never call done on an entityheadercontroller with
an activity that's not yet started.

Test: robotests
Change-Id: Ib2b9f8f1985ef038959062204aaceff686f4ebcf
Fixes: 74114917
2018-04-19 10:17:23 -04:00
Jason Monk
8aa0365d97 Merge "Fix wifi launch intent" into pi-dev am: 7f50a0c837
am: 23ba6152aa

Change-Id: Ic1a1156ba8f05ca8ffeb19cae05c871b45d9c293
2018-04-19 06:34:46 -07:00
Jason Monk
23ba6152aa Merge "Fix wifi launch intent" into pi-dev
am: 7f50a0c837

Change-Id: I66b0cd219442fd8f47479e23b0af52f3cfed90b5
2018-04-19 06:29:30 -07:00