Commit Graph

42194 Commits

Author SHA1 Message Date
Akiya Utsumi
47ba3b400c Merge "Fix the format of wifi_carrier_content string"
am: 985b432fc0

Change-Id: Ic77ff6da5081cae7a3b7fba31bc4902645188763
2017-12-27 21:43:20 +00:00
Treehugger Robot
985b432fc0 Merge "Fix the format of wifi_carrier_content string" 2017-12-27 21:36:40 +00:00
TreeHugger Robot
0dad10bc99 Merge "Import translations. DO NOT MERGE" 2017-12-23 00:47:11 +00:00
Bill Yi
bf2ff34004 Import translations. DO NOT MERGE
Change-Id: I7e2bf66b896c6fab42a643a7c74535b354b0d94c
Auto-generated-cl: translation import
2017-12-22 15:05:08 -08:00
Lei Yu
ef61c27865 Merge "Add summary placeholder for bt preference" 2017-12-22 22:17:28 +00:00
jackqdyulei
6c94769e56 Add summary placeholder for bt preference
Then UI won't be janky(as everything slide down a little bit)

Bug: 63910184
Test: RunSettingsRoboTests
Change-Id: Ie4074694f54af92da52f09d2caaab5490fa73647
2017-12-22 10:25:04 -08:00
Akiya Utsumi
28fcc97d1b Fix the format of wifi_carrier_content string
Carrier name is not displayed on the dialog due to the
incorrect format "%1%s". This should be "%1$s".

Test: String change, manually verified
Bug: 70814622
Change-Id: Ie30b8d1eb85d390e4023e0a251e1f1c7fa6deec0
2017-12-22 05:38:12 +00:00
TreeHugger Robot
3d63d25bf3 Merge "Relax char length limits and add clarifications" 2017-12-22 03:31:30 +00:00
TreeHugger Robot
8468d1ad21 Merge changes from topic "battery_tip_constants"
* changes:
  Add BatteryTipDetector and LowBatteryTip stuffs.
  Add BatteryTipPolicy
2017-12-22 02:18:30 +00:00
Fan Zhang
7e15ff4be8 Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest" am: 7c46a79a00 -s ours am: 7e3fdede58
am: c1ecf35052  -s ours

Change-Id: I670d004d2eb368b613f7cf2e7605a2c39e67293c
2017-12-22 01:33:06 +00:00
Fan Zhang
c1ecf35052 Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest" am: 7c46a79a00 -s ours
am: 7e3fdede58

Change-Id: I650211969d19051a5ba69ff86c1c3f087fcaa453
2017-12-22 01:22:59 +00:00
Lifu Tang
24e1427776 Relax char length limits and add clarifications
Bug: 70775976
Test: build, flash, and test manually
Change-Id: Ie278704bf32ce39fcd15509fdce09de2ace17993
2017-12-22 01:22:45 +00:00
Fan Zhang
7e3fdede58 Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest"
am: 7c46a79a00  -s ours

Change-Id: I83bb99c73fcd2818105b51633ea8c5c42bcd74a0
2017-12-22 01:13:32 +00:00
Treehugger Robot
7c46a79a00 Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest" 2017-12-22 01:01:41 +00:00
Fan Zhang
6be8dfc9b7 DO NOT MERGE: Fix test failure in CodeInspectionTest
Change-Id: I74fbd30261fa66636c915936270d873e7612cbc6
Fixes: 70496869
Test: robotests
2017-12-21 15:42:41 -08:00
TreeHugger Robot
48e1f50b47 Merge "Move ServiceListing to SettingsLib" 2017-12-21 19:44:38 +00:00
Jeff Sharkey
27e7280b21 Merge "Shift storage wizards over to Glif theme." 2017-12-21 18:30:49 +00:00
Tony Mantler
09d2d71760 Move ServiceListing to SettingsLib
Also tidy things up a bit

Bug: 70902607
Test: RunSettingsRoboTests
Change-Id: Id641beb601513bb4e34a098bf2729eb98954175d
2017-12-21 09:49:44 -08:00
TreeHugger Robot
de70dcf282 Merge "Managed profile lock timeout" 2017-12-21 13:37:36 +00:00
Maggie Wang
330551779d Merge "Set initialExpandedChildrenCount dynamically in location settings" 2017-12-21 04:51:04 +00:00
Sudheer Shanka
1e36bde72d Merge "Update FakeUid to match BatteryStats.Uid." 2017-12-21 03:51:40 +00:00
Maggie
3220c46bcc Set initialExpandedChildrenCount dynamically in location settings
In location settings, we want "Advanced" button show up right after "App
level permissions". But with different numbers of "recent location requests" apps,
the Preferences hidden under Advanced could change.

To fix this issue, we fetch the list of apps with "recent location
requests" in LocationSettings.onCreate(), and set
initialExpandedChildrenCount for location PreferenceScreen to the apps
count.

Bug: 70350519
Test: Manual
Change-Id: I4c4b6bdfa916213494a29e8ae8b5f33476411c88
2017-12-20 19:13:52 -08:00
TreeHugger Robot
7138a5dd67 Merge "Catch NullPointerException in PreIndexDataCollector." 2017-12-21 02:35:48 +00:00
TreeHugger Robot
d763a84015 Merge "Settings: Add LOCAL_MAC_ADDRESS permission" 2017-12-21 01:48:30 +00:00
TreeHugger Robot
7c67b4ec0b Merge "Update the usage of quiet mode @hide API" 2017-12-21 01:20:28 +00:00
Doris Ling
559ac8a72a Catch NullPointerException in PreIndexDataCollector.
Null pointer exception is thrown from ContentProviderNative when we
query the non indexable keys. Added a try-catch block to prevent it from
crashing.

Change-Id: I45c1e34bb81a4739ae2eb5dd19a08781ab7beeb1
Fix: 70900076
Test: manual
2017-12-20 16:38:45 -08:00
TreeHugger Robot
79f4be2e5a Merge "Add toggle for enable/disable auto hotspot off" 2017-12-20 23:57:28 +00:00
Maggie Wang
8a05bef170 Merge "Display "Recent Location Requests" in order" 2017-12-20 22:31:43 +00:00
Maggie
3e9ab54f76 Display "Recent Location Requests" in order
A list of apps with recent location requests is displayed under Settings -> Security & Location -> Location. The apps were sorted in alphabetical order. This CL changes the behavior and displays the apps in original order from RecentLocationApps.getAppList().

Bug: 70350519
Test: Robolectric
Test: manual
Change-Id: I0fc1ce307b9519f3f324db220b6e2b32ed71cc2f
2017-12-20 14:21:22 -08:00
jackqdyulei
c1cc490f74 Add toggle for enable/disable auto hotspot off
Bug: 69323125
Test: RunSettingsRoboTests
Change-Id: I18896401240f75bdf2bdf187c2c7a7b623b20c43
2017-12-20 14:09:16 -08:00
Lei Yu
fe5c286cea Merge "Extract method getBatteryInfo() from loader" 2017-12-20 21:14:41 +00:00
Mady Mellor
ee5eed13b9 Merge "Update settings slice provider to use new API" 2017-12-20 21:14:15 +00:00
Jeff Sharkey
ade52ca806 Shift storage wizards over to Glif theme.
This matches new UX best-practices, and allows us to remove some
special one-off hacks.

Test: visual
Bug: 70894690
Change-Id: I2705c731277cae7f19bce78a0a2a023ad0777b83
2017-12-20 13:29:54 -07:00
Sudheer Shanka
c8b61e6612 Update FakeUid to match BatteryStats.Uid.
Bug: 66953194
Test: N/A
Change-Id: Ibb4c6be68d1ea2c64f7da7bc0b39d7142ac8ce9a
2017-12-20 12:23:32 -08:00
TreeHugger Robot
04eb5a802d Merge "Log search latency in event log" 2017-12-20 19:44:40 +00:00
TreeHugger Robot
769e393709 Merge "Add rounded corners to wifi connection dialog" 2017-12-20 19:05:29 +00:00
Fan Zhang
aaced043ae Log search latency in event log
The latency number (10) is fake and doesn't matter, because the page
is going away soon.

Bug: 68017528
Test: rerun robotest
Change-Id: I0a9aba1f0a101bcd7aa4134c7b72aee6708663a4
2017-12-20 09:53:04 -08:00
Lei Yu
f1da75797e Merge "Remove wifi calling from Wifi settings" 2017-12-20 17:49:47 +00:00
Pavel Grafov
8e02f0e7e7 Managed profile lock timeout
Test: make ROBOTEST_FILTER=TimeoutPreferenceControllerTest RunSettingsRoboTests
Test: make ROBOTEST_FILTER=LockAfterTimeoutPreferenceControllerTest RunSettingsRoboTests
Bug: 63908311
Change-Id: I7236ec4ca37353703145c3e75d508101ecc6ca80
2017-12-20 17:34:28 +00:00
TreeHugger Robot
3abedefd38 Merge "Add ability to show/hide default_home preference." 2017-12-20 07:47:08 +00:00
TreeHugger Robot
ed38319396 Merge "Add event log tag for measuring settings latency" 2017-12-20 01:57:45 +00:00
TreeHugger Robot
1b1602ab2d Merge "Index Data to build Slices in Settings" 2017-12-20 01:00:32 +00:00
jackqdyulei
5f0b09648b Add BatteryTipDetector and LowBatteryTip stuffs.
This cl adds the infra of BatteryTipDetector and use LowBatteryTip
as an example(tip model + detector).

Also add SummaryTipDetector and related tests

Bug: 70570352
Test: RunSettingsRoboTests

Change-Id: Icf1349b6ede9eb7ee5ed69b39ee3a2661ac660fa
2017-12-19 16:49:08 -08:00
jackqdyulei
03a5612355 Add BatteryTipPolicy
BatteryTipPolicy contains all experimental values we could tune for
battery tip.

Bug: 70570352
Test: RunSettingsRoboTests

Change-Id: I26a3c2260dc6ff5cb10e3a4c1d55a715cc5c9a9d
2017-12-19 16:48:12 -08:00
goneil
bdd9880b8e Merge "Set EDITED column to USER_EDITED when editing APN" am: 90d284cab7 am: 1b0c8335e3
am: 50f5d8cf66

Change-Id: Icda2b822986167cbe3afa5f56955e946bb576315
2017-12-20 00:46:56 +00:00
goneil
50f5d8cf66 Merge "Set EDITED column to USER_EDITED when editing APN" am: 90d284cab7
am: 1b0c8335e3

Change-Id: I0b37b48e160f8fcd7b96f6515b34e1cb765d2b24
2017-12-20 00:41:52 +00:00
goneil
1b0c8335e3 Merge "Set EDITED column to USER_EDITED when editing APN"
am: 90d284cab7

Change-Id: I32cb408436e755e6452dacafc3dc5808f5a2a60d
2017-12-20 00:39:32 +00:00
Treehugger Robot
90d284cab7 Merge "Set EDITED column to USER_EDITED when editing APN" 2017-12-20 00:36:53 +00:00
jackqdyulei
0c6d7e744a Extract method getBatteryInfo() from loader
In battery tips, we need synchronized method to get batteryInfo.
This cl move the logic to BatteryUtils, then in battery tips we
could use this method directly.

Bug: 70570352
Test: robotest still pass
Change-Id: Id69349a25395ae472a9b3152c6f04127ee32c4e1
2017-12-19 16:30:56 -08:00
Fan Zhang
458e04e0ec Add event log tag for measuring settings latency
Bug: 68017528
Test: rebuild
Change-Id: I72f5092dde105ea108b0abe77b1ba64a30d89f44
2017-12-19 16:22:03 -08:00