Commit Graph

40254 Commits

Author SHA1 Message Date
Daniel Nishi
b05a346fae Close the load screen faster on pre-quota devices.
Pre-quota devices can take an absurd time to load. By loading the screen
once the volume sizes load, we can just show "calculating..." for a
really long time instead of a loading screen.

Change-Id: Id8ab0609c2bc19531d530c6bdf6bff89c5bfac96
Fixes: 64150148
Test: Settings Robotest
2017-09-13 16:45:52 -07:00
TreeHugger Robot
7853f24405 Merge "Turn on wakeupAlarm anomaly detector" into oc-mr1-dev 2017-09-13 23:08:25 +00:00
Doris Ling
a9693524bf Change the permission labels to lowercase.
In the summary for Apps permissions, change the list of permissions
lable to lowercase instead.

Change-Id: I5b3133c33de7110dbec6ab179c6f1308c4ed481e
Fixes: 65049565
Test: make RunSettingsRoboTests
2017-09-13 15:23:06 -07:00
jeffreyhuang
f4e1295f6f Introduce StayAwakePreferenceController
- Create new StayAwakePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
ROBOTEST_FILTER=StayAwakePreferenceControllerTest

Change-Id: I7642656fb2e323878face52f0a3c57fec1d85ac4
2017-09-13 14:56:36 -07:00
TreeHugger Robot
e4cab00ffa Merge "Move search indexing into a separate class" 2017-09-13 19:43:38 +00:00
TreeHugger Robot
93e8800b21 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-09-13 19:34:27 +00:00
TreeHugger Robot
b0b1b9364c Merge "Import translations. DO NOT MERGE" 2017-09-13 18:18:19 +00:00
Bill Yi
3b1c377d82 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I34c1747c9f05b04794b7f563fc19f53467f21980
2017-09-13 09:45:46 -07:00
Bill Yi
d732b0a4e6 Import translations. DO NOT MERGE
Change-Id: Iead27f9c66c6bce2c1f3b27c29cf2c703da6dac6
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-13 09:33:48 -07:00
Emilian Peev
44c7447466 Merge "Settings: Add laser sensor preference" into oc-mr1-dev am: 22eb007eea
am: 11179290a2

Change-Id: I0575553117ca62c027a82aa69ecc0c1865f6c762
2017-09-13 09:52:30 +00:00
jackqdyulei
75e7006e38 Merge "Init the pref summary in onCreate()" into oc-mr1-dev am: 7420c095a9
am: 55b71cf230

Change-Id: Iafccd00258950613f93f4021aafae38e808037b6
2017-09-13 09:50:48 +00:00
Xiangyu/Malcolm Chen
8c80f33e0e Merge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev am: 8b6fd21f1e
am: 5bf7af0154

Change-Id: I84e9b1f7a2e2beaf966e7a127cd83b6c81b32108
2017-09-13 09:48:58 +00:00
Matthew Fritze
7448204f36 Merge "Index the System status page" into oc-mr1-dev am: 6203bde8d3
am: 8896df965b

Change-Id: I70141cb7f89794f734a33b2f90e470e1554c3320
2017-09-13 09:47:02 +00:00
Rebecca Silberstein
be31cd3a79 Merge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev am: b975e352a2
am: 91f5a63262

Change-Id: I7288e2082cb68299d6ada715711316d848657015
2017-09-13 09:45:52 +00:00
Emilian Peev
11179290a2 Merge "Settings: Add laser sensor preference" into oc-mr1-dev
am: 22eb007eea

Change-Id: I34ab89bd2a175aa77a78a9a46aea75f148bab284
2017-09-13 08:40:10 +00:00
jackqdyulei
55b71cf230 Merge "Init the pref summary in onCreate()" into oc-mr1-dev
am: 7420c095a9

Change-Id: I3b06886495ba3ec6277c84051bee4974c004c9a1
2017-09-13 08:39:31 +00:00
Xiangyu/Malcolm Chen
5bf7af0154 Merge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev
am: 8b6fd21f1e

Change-Id: I1e7c9235b424905f4a0d6fc219b2c8c1e6830cae
2017-09-13 08:39:05 +00:00
Matthew Fritze
8896df965b Merge "Index the System status page" into oc-mr1-dev
am: 6203bde8d3

Change-Id: If4350a9cb90e995aa5095c77570055e464103879
2017-09-13 08:38:40 +00:00
Rebecca Silberstein
91f5a63262 Merge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev
am: b975e352a2

Change-Id: I883ab8568ae0393e86de770af08cf7779f18b595
2017-09-13 08:38:14 +00:00
TreeHugger Robot
22eb007eea Merge "Settings: Add laser sensor preference" into oc-mr1-dev 2017-09-13 07:19:35 +00:00
edgar.huang
bbd47bd460 Don't need to authenticate fingerprint when the fingerprint list is empty.
Enter into the fingerprint list screen and can authenticate fingerprint still when the list is empty.
Test: manual - enrolling some fingerprints and remove all fingerprintd, touch the fingerprint touch panel and no response.
2017-09-13 11:04:01 +08:00
TreeHugger Robot
7420c095a9 Merge "Init the pref summary in onCreate()" into oc-mr1-dev 2017-09-13 01:38:20 +00:00
Xiangyu/Malcolm Chen
8b6fd21f1e Merge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev 2017-09-13 01:07:29 +00:00
Wale Ogunwale
0221a56c25 Removed unused use of setting launch stack id.
Why are you setting to what is already the default?

Test: N/A
Change-Id: I507d526db96d5e595e00289eea9ec84dfb87556d
2017-09-12 17:07:44 -07:00
TreeHugger Robot
6203bde8d3 Merge "Index the System status page" into oc-mr1-dev 2017-09-13 00:06:27 +00:00
TreeHugger Robot
98fb28c8f2 Merge "Add OWNERS for folder bluetooth" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
3ce7dfc354 Merge "Add OWNERS for folder fuelgauge" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
88775759d8 Merge "Add OWNERS for folder users" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
544961b1ee Merge "Add OWNERS for folder notification" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
e219a8782d Merge "Add OWNERS for folder wifi" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
347222d292 Merge "Add OWNERS for folder nfc" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
a6d310b45a Merge "Add OWNERS for folder tts" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
545221ee72 Merge "Add OWNERS for folder location" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
06fd05eb93 Merge "Add OWNERS for folder password" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
a562bdef8b Merge "Add OWNERS for folder inputmethod" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
c652ff1a81 Merge "Add OWNERS for package enterprise" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
5f7a3dee84 Merge "Add OWNERS for folder fingerprint" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
e4aa914754 Merge "Add OWNERS for package backup" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
b51dd8a119 Merge "Add OWNER for accessibility package." 2017-09-12 23:48:55 +00:00
TreeHugger Robot
957f6fdbed Merge "Add OWNERS file for settings" 2017-09-12 23:48:55 +00:00
TreeHugger Robot
12a6fc3a16 Merge "Define Utils.formatRelativeTime() and use it" 2017-09-12 23:21:37 +00:00
TreeHugger Robot
b975e352a2 Merge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev 2017-09-12 23:20:03 +00:00
Daniel Nishi
c1d42a510a Remove outdated storage search results.
The cache category is gone. Also, downloads no longer comes from that
screen.

Change-Id: Ia9a85b6496b0be3106e0ca8572b7c0aed38f336c
Fixes: 65266640
Test: Manual
2017-09-12 16:05:12 -07:00
jackqdyulei
1a49a8ab39 Turn on wakeupAlarm anomaly detector
In ag/2642771, wakeup alarms is changed to based on screen-off
timebase. After that, all the wakeup alarms will be background
ones.

So it is safe to turn on the wakeupAlarm anomaly detector.

Bug: 65597330
Test: RunSettingsRoboTests
Change-Id: I653d4bbfa671c52890dc6c6b13870c666ba9b944
2017-09-12 15:59:52 -07:00
jackqdyulei
1c5d663ed7 Init the pref summary in onCreate()
The visibility of bottom summary in BatteryHistoryPrefence will
be changed dynamically(charging status + flags). Before this cl,
we only update it in a callback, which makes other preference
may have unnecessary moves.

This cl add init method in onCreate(), which removes the uncessary
preference position moves.

Bug: 65529494
Test: RoboTest still pass
Change-Id: I09d2e26fc3caaeb272422997c16957770cdc1d3f
(cherry picked from commit 65dea0a7b2)
2017-09-12 22:49:29 +00:00
Matthew Fritze
80d3ea2a73 Move search indexing into a separate class
Step 2 in refactoring DatabaseIndexingManager.

This step moves the insertion of data into the database
into a new class. This removes the remaining bulk of the
code outside of DIM, but it does not fix the actual issue
with the indexing code.

The indexing code still chains functions together to
insert data into the database at the end of the functions.

It is exceedingly hard to read, and hard to track down bugs.

I would like the converter to eventually return a list of
IndexData objects, which lets us dissociate the database
from the data collection. I.e. we can store the database
in the Search app, and just pass IndexData objects via
IPC.Fixing this requires more of a refactor, and will be
done in a subsquent CL.

Bug: 33577327
Test: make RunSettingsRoboTests
Test: Took a database dump before and after change,
      and they were the same. Cool.
Change-Id: Ia9bb815657b76f6cb9163014e746ec5eb6db8c5e
2017-09-12 15:40:54 -07:00
Lei Yu
7592b05e61 Merge "Init the pref summary in onCreate()" 2017-09-12 22:18:16 +00:00
Matthew Fritze
4b0677a2a4 Index the System status page
- Page is found in System > About Phone > Status
The page was simply never indexed.

- Remove the unavailable summary text.

- Suppress IP address because it appears in wifi
settings as well.

Test: make RunSettingsRoboTests
Change-Id: I0c5eb5222fc356dd3686fb84ca47da8e2d3274f5
Fixes: 65443327
2017-09-12 14:18:09 -07:00
Roozbeh Pournader
4de9df2943 Define Utils.formatRelativeTime() and use it
Previously, relative times were formatted using formatElapsedTime()
(appending translations of "ago" to them), sometimes resulting in
grammatically hard-to-understand or unnatural localizations. Now we
use ICU's RelativeDateTimeFormatter, which uses grammatically correct
and natural localizations from CLDR data.

Bug: 64507689
Bug: 64605781
Bug: 64556849
Bug: 64550172
Test: make -j RunSettingsRoboTests
Change-Id: Ia2d098b190ab99e7748ef6f03b919f5c6174ba7d
2017-09-12 20:48:00 +00:00
jackqdyulei
be137eb7c5 Add OWNERS file for settings
Bug: 65294119
Test: manual
Change-Id: I054a6df08046cda1c2f202390ed24839a6b10349
2017-09-12 13:10:08 -07:00