Commit Graph

37625 Commits

Author SHA1 Message Date
Maurice Lam
4331a2e258 Create new category for lock screen redaction
So that we can show it without all the other default setup wizard
only actions.

Test: Manual
Bug: 62278041
Change-Id: Iba8a626b9b6e1ae909b4f6260dae7c0462b92627
(cherry picked from commit 96ae3f82b3)
2017-06-09 00:19:12 +00:00
Daniel Nishi
f928324747 Merge "Update the music files icon." into oc-dev
am: 47c6afde7f

Change-Id: I20505a1958f7639ac91c571371a7555c4f9b9024
2017-06-09 00:19:04 +00:00
Daniel Nishi
60287a50e8 Merge "Update the music files icon." into oc-dev
am: 47c6afde7f

Change-Id: I78e6e1a16e25aff0e0374f5910fcbba0624f712b
2017-06-09 00:19:03 +00:00
TreeHugger Robot
e5b1eccd54 Merge "Create new category for lock screen redaction" 2017-06-09 00:15:26 +00:00
TreeHugger Robot
47c6afde7f Merge "Update the music files icon." into oc-dev 2017-06-09 00:13:19 +00:00
Alex Kulesza
bb13a785bb Merge "Implement general projection curve support for UsageGraph." into oc-dr1-dev am: bf9cb113c1
am: 68be1736d3

Change-Id: Ie29e3ccc04512b1b999a94c1bc8867f5a4cbadf6
2017-06-08 23:44:49 +00:00
Fan Zhang
7c7f234355 Use support feature provider to provide intro url.
Change-Id: I3d2493ec8c84fdc61c04fd63537f959fbd589e98
Fix: 62034077
Test: make RunSettingsRoboTests
2017-06-08 23:34:35 +00:00
Alex Kulesza
68be1736d3 Merge "Implement general projection curve support for UsageGraph." into oc-dr1-dev
am: bf9cb113c1

Change-Id: I7dc6abaa4f9033492e848aa0977349e375991ec1
2017-06-08 23:28:28 +00:00
Matthew Fritze
33f3e3f4f7 Search results always highlight proper results
In fragments where preferences were being injected after
the super#onResume, the incorrect preference was
being highlighted as the selected result.

This is because the index of the preference is calculated
in SettingsPreferenceFragment#onResume, but the index is
not checked again before the item is highlighted.

Instead, we calculate index right before we highlight.

Change-Id: Idaa655f682a1a6186c1996fb51d352589bbeda0f
Fixes: 62179739
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/SettingsPreferenceFragmentTest.java
2017-06-08 16:25:52 -07:00
TreeHugger Robot
bf9cb113c1 Merge "Implement general projection curve support for UsageGraph." into oc-dr1-dev 2017-06-08 23:23:01 +00:00
Daniel Nishi
0808bdc5da Add "Free up space" to the Settings search.
Change-Id: I8e987595adbd3c32de4001527a2a20478686d3e7
Fixes: 62167072
Test: Manual
2017-06-08 16:13:16 -07:00
Bill Yi
a292ff1324 Import translations. DO NOT MERGE am: 29a7bce4e5 -s ours am: 52c0cd702c -s ours
am: 94e485819c  -s ours

Change-Id: I0eb4dfe4e6ea190053a142f94a9c0fc93619124e
2017-06-08 23:01:23 +00:00
Bill Yi
02605635d6 Import translations. DO NOT MERGE am: 29a7bce4e5 -s ours am: 7134ca433b -s ours
am: a372e3c40e  -s ours

Change-Id: I8283273a50b4d45c7716101d07aa5c0e0a645963
2017-06-08 23:00:31 +00:00
Bill Yi
94e485819c Import translations. DO NOT MERGE am: 29a7bce4e5 -s ours
am: 52c0cd702c  -s ours

Change-Id: I9b2a91a8a00da16ed51f3a2c36c8f7bc5eebe990
2017-06-08 22:55:00 +00:00
Bill Yi
a372e3c40e Import translations. DO NOT MERGE am: 29a7bce4e5 -s ours
am: 7134ca433b  -s ours

Change-Id: Ieacc318862dce2ea16bcf451fd24a1f2a47b8a27
2017-06-08 22:53:09 +00:00
Bill Yi
52c0cd702c Import translations. DO NOT MERGE
am: 29a7bce4e5  -s ours

Change-Id: Iaec93787ba7a7e2eb885893842cea02932e16abe
2017-06-08 22:48:47 +00:00
Bill Yi
7134ca433b Import translations. DO NOT MERGE
am: 29a7bce4e5  -s ours

Change-Id: I436ea7a7e5a758581ed5b4e0c6aa0bc3773d702c
2017-06-08 22:46:57 +00:00
jackqdyulei
dcea4e894e Update subtitle for apps in battery settings
1. If it is a normal app, show "Screen usage TIME"
2. If it is a hidden app, show "TIME"

Note that in this case the item screen will show "TIME"

Bug: 62422404
Test: RunSettingsRoboTests
Change-Id: Ie8d6caf998d18994ac158f0217109c0e5e9f92ba
2017-06-08 12:52:48 -07:00
Soroosh Mariooryad
9aad1cd48b Increase visibilities in SearchFragment and SearchResutlsAdapter for testing
Test: RunSettingsRoboTests
Bug: 36867802

Change-Id: I9102d02a5500330ce53e742ecd2084f0e714b830
2017-06-08 12:46:36 -07:00
Maurice Lam
1bf5454f64 Add intent action to support page
Test: cd tests/robotests && mma
Bug: 62348910
Change-Id: I65b8290bc5bf47803349de92b2560099e7dda402
2017-06-08 12:24:25 -07:00
Doris Ling
7e06ed2105 Update text for Languages & Input.
- update preference title to include gesture
- if assist gesture is supported, set summary text to reflect assist
status

Change-Id: I79477f331ae447d2505a1519da09886bf07ba1a2
Fix: 62219660
Test: make RunSettingsRoboTests
2017-06-08 12:19:10 -07:00
Lei Yu
eac535700d Merge "Add debug data in AnomalyLoader" into oc-dr1-dev am: 377907ebad
am: d16769a168

Change-Id: I209de5071a31c0c0da8a1822914b7ed3d3fbf41e
2017-06-08 18:08:03 +00:00
Lei Yu
d16769a168 Merge "Add debug data in AnomalyLoader" into oc-dr1-dev
am: 377907ebad

Change-Id: Ib201d8b7358c05017d8c22ad9a50233599ee123e
2017-06-08 18:05:05 +00:00
Lei Yu
377907ebad Merge "Add debug data in AnomalyLoader" into oc-dr1-dev 2017-06-08 17:59:34 +00:00
Daniel Nishi
e1571b8dac Update the music files icon.
Change-Id: Id1c933e395131ca6e9e9268d7c42f7324aa6fdac
Fixes: 62291640
Test: Manual
2017-06-08 10:24:14 -07:00
Alex Kulesza
c57ceaaa8c Implement general projection curve support for UsageGraph.
Previously, projections were hard-coded in UsageGraph as lines from the
last known point to the corner of the graph. This change replaces that
with support for arbitrary projection curves. Logic for hiding/showing
the projection is now gone; if the client does not want a projection,
it simply does not supply one.

There are two active clients of this code: the data usage graph and the
battery usage graph. The data graph does not use projections and is
essentially unchanged. The battery graph now implements its linear
extrapolation directly in BatteryInfo.

Bug: 38400320
Test: make SettingsUnitTests SettingsGoogleUnitTests
Test: manual (screenshots in comments)
Change-Id: I754e66f6b18ecb8b936143399f8e9e3368fc1ce4
2017-06-08 16:59:14 +00:00
Denis Kuznetsov
47f8490e64 Update restricted list prefrences before dialog creation.
Bug: 30076848
Test: m RunSettingsRoboTests
Change-Id: I6df7f59530acc4ace4b191ae180f8c46dffedc48
2017-06-08 17:20:00 +02:00
Bill Yi
29a7bce4e5 Import translations. DO NOT MERGE
Change-Id: I118bf54c3426f15db267545b83e9478177d13a06
Auto-generated-cl: translation import
2017-06-08 07:59:38 -07:00
Hugo Benichi
539211a718 Instrument sign-in-captive-portal button
Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: WifiDetailPreferenceControllerTest updated
Change-Id: I03dbcdd6efbd0d7aaf2ef67d541fceeb6acc2acf
2017-06-08 22:03:49 +09:00
Bartosz Fabianowski
334db34e12 Merge "Add keys to all Preferences on the Managed device info page" into oc-dev am: 9e94d80fa5 am: 74f5dc85b9
am: 9c105007c3

Change-Id: Ie9853753e4e4cdd378b601aaf396587112dec55d
2017-06-08 07:03:41 +00:00
Bartosz Fabianowski
f9bbd63106 Merge "Add keys to all Preferences on the Managed device info page" into oc-dev am: 9e94d80fa5 am: 25f0d19504
am: cb8242c21d

Change-Id: I22e48b8c79917f9d73c1d365cde5ab454d05ba62
2017-06-08 07:03:11 +00:00
Bartosz Fabianowski
9c105007c3 Merge "Add keys to all Preferences on the Managed device info page" into oc-dev am: 9e94d80fa5
am: 74f5dc85b9

Change-Id: I36ba87aa3ee099575a11ed36409e505bb60a95b3
2017-06-08 06:27:55 +00:00
Bartosz Fabianowski
cb8242c21d Merge "Add keys to all Preferences on the Managed device info page" into oc-dev am: 9e94d80fa5
am: 25f0d19504

Change-Id: I86e43483ea616ed0f4bc58fdcd8a1a0e0bab7097
2017-06-08 06:25:12 +00:00
Bartosz Fabianowski
25f0d19504 Merge "Add keys to all Preferences on the Managed device info page" into oc-dev
am: 9e94d80fa5

Change-Id: I8056fc4d13f3e8528c1297ee3fe6f432ff7bc6dc
2017-06-08 06:13:42 +00:00
Bartosz Fabianowski
74f5dc85b9 Merge "Add keys to all Preferences on the Managed device info page" into oc-dev
am: 9e94d80fa5

Change-Id: Ic9c510dac141664020567877d501da6289b633b4
2017-06-08 05:55:40 +00:00
TreeHugger Robot
9e94d80fa5 Merge "Add keys to all Preferences on the Managed device info page" into oc-dev 2017-06-08 05:51:15 +00:00
Maurice Lam
96ae3f82b3 Create new category for lock screen redaction
So that we can show it without all the other default setup wizard
only actions.

Test: Manual
Bug: 62278041
Change-Id: Iba8a626b9b6e1ae909b4f6260dae7c0462b92627
2017-06-07 20:59:51 -07:00
jackqdyulei
cc446060e5 Merge "Use default package in BatteryEntry" into oc-dev am: f5f51c4cf2 am: 0d889079af
am: 6718f67018

Change-Id: I892f5bd9ad01c65cb45ae18f18e84ca7a8f0f854
2017-06-08 02:19:32 +00:00
jackqdyulei
c7ecd6ebff Merge "Use default package in BatteryEntry" into oc-dev am: f5f51c4cf2 am: 33cb1408e2
am: 83bcc42e77

Change-Id: I05b8dfbeb11a21617e77dbe3769f80a7a64d8097
2017-06-08 02:19:10 +00:00
jackqdyulei
6718f67018 Merge "Use default package in BatteryEntry" into oc-dev am: f5f51c4cf2
am: 0d889079af

Change-Id: Ib3311462c4e02249993351a52df9dffd6ef8ff7a
2017-06-08 02:18:23 +00:00
jackqdyulei
83bcc42e77 Merge "Use default package in BatteryEntry" into oc-dev am: f5f51c4cf2
am: 33cb1408e2

Change-Id: I98d07e6a1194d71c9a2baaaf8ae08f159ff03a76
2017-06-08 02:16:20 +00:00
jackqdyulei
0d889079af Merge "Use default package in BatteryEntry" into oc-dev
am: f5f51c4cf2

Change-Id: Ic97c8e2020f642cf7abba063e194796afe85bb58
2017-06-08 02:14:25 +00:00
jackqdyulei
33cb1408e2 Merge "Use default package in BatteryEntry" into oc-dev
am: f5f51c4cf2

Change-Id: Ifd36cd50e2f4528dae247e99aafb5e93d916351e
2017-06-08 02:13:24 +00:00
TreeHugger Robot
f5f51c4cf2 Merge "Use default package in BatteryEntry" into oc-dev 2017-06-08 02:10:30 +00:00
jackqdyulei
c3694e425e Add debug data in AnomalyLoader
Bug: 62299540
Test: RunSettingsRoboTests
Change-Id: Id20db9fc0da8e090385caa982f2fb5a6fa0b2f38
(cherry picked from commit 5753e6d97e)
2017-06-08 00:12:43 +00:00
Shinji Sogo
ba1b520505 Cleanup unused WifiP2pSettings code in WifiSettings
Cleanup commented code giving access to WifiP2pSettings from option menu
is not needed anymore.

Bug: 38333540
Test: Manual test
Change-Id: I5884ec219ba09601d9602f026fa8ad89f765934f
2017-06-07 22:55:24 +00:00
TreeHugger Robot
fbd376b1ba Merge "Add debug data in AnomalyLoader" 2017-06-07 21:51:58 +00:00
Matthew Fritze
17ebf1f4e2 Merge "Hide Display Theme from search results when not available" into oc-dev am: 9f2f9e331f am: 08bdbf3d5a
am: d2f266bcfa

Change-Id: I37cbfce66d0e9c276a7bb4d3e3aa422781fa2c15
2017-06-07 21:07:54 +00:00
Matthew Fritze
9491a8998e Merge "Hide Display Theme from search results when not available" into oc-dev am: 9f2f9e331f am: 7868a7525b
am: ec0206efda

Change-Id: If7e5824da83c0adc5701f9a40ca38b4b0b5bc836
2017-06-07 21:07:11 +00:00
Matthew Fritze
d2f266bcfa Merge "Hide Display Theme from search results when not available" into oc-dev am: 9f2f9e331f
am: 08bdbf3d5a

Change-Id: Id756ce10347c9420274358b8b854c2d61bd5907b
2017-06-07 20:54:55 +00:00