177 Commits

Author SHA1 Message Date
Fan Zhang
5e56569cdf Merge "Update string description and char limits" into oc-dev
am: 3151a09dac

Change-Id: Id3b6af3b66959fb2d8311a7bad646c52ae4b4fe7
2017-04-11 16:27:09 +00:00
Jack He
b111c6f753 Merge "Add developer setting and system API for inband ringing support" am: 1da38b2bcd am: d86c1fca76
am: 25c086b7e2

Change-Id: I7bf3b83c55a2b1dfaf23af65780529cc5a5fa8d4
2017-04-10 23:20:08 +00:00
Fan Zhang
c1ae9cd296 Update string description and char limits
Change-Id: Idba5977e614094c3a96b1101f1234f26433300c8
Fix: 36680364
Test: builds
2017-04-10 16:08:30 -07:00
Jack He
e86bdcaed1 Add developer setting and system API for inband ringing support
* Add 1 system API to check inband ringing flag in config.xml
	static isInbandRingingSupported(Context)
* Add developer menu options to enable this feature

Bug: 19171297
Test: mm -j 40, HFP regression testing, testplans/82144
Change-Id: Iaf56ea41911f546bbc7ae1f82e399d0f8d48f75f
2017-04-10 19:49:36 +00:00
jackqdyulei
a704efa644 Add lower case charging string.
The previous charging string is "75% - Charging", this cl add lower
case string to make it "75% - charging".

Bug: 36558216
Test: Build
Change-Id: I683843de0b6cbd45bea6a465c7b6d8ee0b7c4f93
2017-04-06 13:18:10 -07:00
jackqdyulei
806f78d988 Add showChargingMethod in BatteryInfo
This toggle is used to decide whether to show charging method.
If it is off, then "Charging over ac" will become "Charging"

Bug: 36558216
Test: RunSettingsLibRoboTests
Change-Id: I98b1f7e7b77d7ce0a7e1aae29e55a33ac79ff0d7
(cherry picked from commit b3c33f63ed120cf4758ec67426bb45291e289fce)
2017-04-06 13:16:58 -07:00
Tony Mantler
a4c123f9d5 Add AvailableVirtualKeyboardFragment to TV
Allows enabling/disabling IMEs on TV.
Moves InputMethodPreference to SettingsLib.
Also minor code tidying

Bug: 36079941
Test: Keyboard settings still work on Fugu and Ryu
Change-Id: I0c7e66c10ca9fe7404dc8e1e384922a7e37f5f5a
(cherry picked from commit 1bb992d802330ad127dab2dbefadd4dd9c739152)
2017-04-04 15:49:39 +00:00
Stephen Chen
aed318ef07 Add friction icon for metered networks.
Bug:36100548
Test: manual inspection.
Change-Id: If7bad4028879a5cc6176cfe189b91f4756114612
2017-03-31 16:58:38 -07:00
Pavlin Radoslavov
011597b5a9 Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()
This API can be used to enable the optional codecs, or disable them
and use only the mandatory SBC.
Internally, it is implemented by raising the SBC priority to
highest (so SBC will be used/selected), or reducing the SBC priority
to its default value (lowest).

Test: A2DP streaming and enabling/disabling/selecting optional codecs
Bug: 35873828
Change-Id: Ia82036ac33590a3a402b1f5a36102264d47a9029
(cherry picked from commit 61075105ca95a2389c23733bf72b5d49b0da4b28)
2017-03-29 15:58:25 -07:00
Pavlin Radoslavov
25105f6561 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
am: 3c7fce3579

Change-Id: Ic8483107e72a61e8b07f26f343e36254fe57cfd9
2017-03-29 22:47:28 +00:00
Pavlin Radoslavov
61075105ca Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()
This API can be used to enable the optional codecs, or disable them
and use only the mandatory SBC.
Internally, it is implemented by raising the SBC priority to
highest (so SBC will be used/selected), or reducing the SBC priority
to its default value (lowest).

Test: A2DP streaming and enabling/disabling/selecting optional codecs
Bug: 35873828
Change-Id: Ia82036ac33590a3a402b1f5a36102264d47a9029
2017-03-29 10:58:48 -07:00
Stephen Chen
be70d89c03 Change string connected_via_network_scorer_default.
Bug:36629448
Test: make
Change-Id: I06945a64b54d7e41c542ec36ef45eb7c8cb7bf10
2017-03-28 18:14:17 -07:00
fen wang
5149be455c Merge "Add Bluetooth LDAC ABR UI to the Developer Options" am: 5c64adef5f am: 40dca362a0
am: d09d9370da

Change-Id: I9cb8bf8e0b42c13fd4bfdeb661680b8737e0b42f
2017-03-28 05:19:29 +00:00
fen wang
40dca362a0 Merge "Add Bluetooth LDAC ABR UI to the Developer Options"
am: 5c64adef5f

Change-Id: Iff2e13b8c8921c47176fc43e2a35ebd4cd284a96
2017-03-28 05:03:27 +00:00
fen wang
0716700f5d Add Bluetooth LDAC ABR UI to the Developer Options
Bug: 35381097
Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb
2017-03-28 04:53:57 +00:00
Charles He
6111298d81 Enterprise string clean-up for O
Bug: 34326838
Test: make
Change-Id: I70db223ea4ef77e791eb7ce98638909442a593aa
2017-03-24 11:36:34 +00:00
Ajay Panicker
6e898e8ffd Merge "AVRCP version interop pereference (3/3)"
am: 48ce402668

Change-Id: Ia49ab34142e5e26f886b07f2e17575e81c9dfd0d
2017-03-23 17:57:38 +00:00
Ajay Panicker
5f88837886 AVRCP version interop pereference (3/3)
Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.

Bug: 35956792
Test: Select AVRCP version through developer option
Merged-In: Ibc271063058b6324b1a0517c6b853f8d7e6eb0f3
Change-Id: Ibc271063058b6324b1a0517c6b853f8d7e6eb0f3
2017-03-22 20:55:13 +00:00
Ajay Panicker
c280c485eb AVRCP version interop pereference (3/3)
Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.

Bug: 35956792
Test: Select AVRCP version through developer option
Change-Id: Ibc271063058b6324b1a0517c6b853f8d7e6eb0f3
2017-03-22 11:34:25 -07:00
Doris Ling
f6b430d234 Update battery settings duration remaining summary text.
- revert the prevoius change and update the correct string.

Bug: 36375846
Test: builds
Change-Id: Ia958b253fe420e8f9aed1286d72ae2b6eeb80abe
2017-03-21 10:53:19 -07:00
Stephen Chen
36dd5cf152 Change string for connected via WFA.
Bug: 34773168
Test: runtest
Change-Id: I292013c874012cca004be1078f854cb3ee145112
2017-03-20 18:22:58 -07:00
Doris Ling
92b2b3be10 Update battery settings summary text.
Bug: 36375846
Test: builds
Change-Id: I9d0cf831327960d69296de5b025e18c6f1f6a2ae
2017-03-17 14:37:24 -07:00
Fan Zhang
5545d42398 Update strings
Change-Id: I38fcd900cdadea40f96fa2f78587943662a6771f
Fix: 36291553
Test: builds
2017-03-15 17:40:49 -07:00
Fan Zhang
f1c1bb49f8 Remove drawer code from settings
Change-Id: I3e9920f62745f6ba2236e37689f7603f9a30d6a9
Fix: 35809663
Test: make RunSettingsLibRoboTests
2017-02-28 11:54:28 -08:00
Youhan Wang
d632305e37 Merge "Add Resource for TelephonyMonitor debug switch." 2017-02-27 21:14:53 +00:00
Jason Monk
58be7a675b Add colorError
Remove scatered references to old error color and replace them with
references to new colorError

Test: make & visual
Change-Id: Icca8cd790db351c3dfce2197f2046879d062a2c0
2017-02-24 14:57:27 -05:00
Amin Shaikh
df6f7b9388 Add a disabled reason for recommendation providers
am: a70bc57ef9

Change-Id: Ie91764892f6bd8fc20990f5a172c020a670875ff
2017-02-23 20:33:59 +00:00
Amin Shaikh
a70bc57ef9 Add a disabled reason for recommendation providers
Display a message indicating that a saved networks has not been
automatically connecting due to low quality if
WifiConfiguration#mNotRecommended is set.

Bug: 34745259
Bug: 35671673
Test: m RunSettingsLibRoboTests && runtest frameworks-wifi
Change-Id: I275e2711da68715fb6d92bf954e9f58a3386b1f4
Merged-In: I275e2711da68715fb6d92bf954e9f58a3386b1f4
2017-02-22 15:18:28 -08:00
Derek Sollenberger
d7df6748f2 Merge "Add developer setting to set the default GPU renderer." 2017-02-21 17:37:38 +00:00
TreeHugger Robot
7470861b97 Merge "Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV" 2017-02-18 00:21:23 +00:00
Tony Mantler
b8592357c3 Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV
Bug: 35315463
Test: adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: Ibd62633259fe06b3971130eab158f077ef066a95
2017-02-17 14:04:00 -08:00
Amin Shaikh
98773d4837 Add a disabled reason for recommendation providers
Display a message indicating that a saved networks has not been
automatically connecting due to low quality if
WifiConfiguration#mNotRecommended is set.

Bug: 34745259
Test: m RunSettingsLibRoboTests && runtest frameworks-wifi
Change-Id: I275e2711da68715fb6d92bf954e9f58a3386b1f4
2017-02-17 08:49:16 -08:00
Youhan Wang
9616af37f9 Add Resource for TelephonyMonitor debug switch.
Bug:35206589
Change-Id: I7c576c79a78a5c15aa3bb18ebc3454c9cc8668c8
2017-02-16 17:58:50 +00:00
Derek Sollenberger
4badfe6d3b Add developer setting to set the default GPU renderer.
Test: manual on-device testing
Bug: 35345959
Change-Id: I1d846f922a048dd215caf053b10aaa909bdbc74d
2017-02-14 12:03:02 -05:00
Dan Sandler
6cfde40234 Fix regression in battery size.
The aspect ratio of the intrinsic dimensions resulted in a
too-short battery.

Test: visual
Change-Id: I31cc36d1efad5cc9b086b90eb857a08eee181677
2017-02-08 10:10:47 -08:00
jackqdyulei
597b10f6db Move the logic of batteryMeterDrawable to settingslib
In Settings, we also need a BatteryMeterDrawable to show battery meter,
that's why I move it to settingslib.

In this cl, what I have changed is listed below:
1. Create BatteryMeterDrawableLib that contains logic of battery
drawing.
2. Still Keep the battery control logic in systemui.
3. Remove hardcoded battery color by using the color state lists.
4. Move some tests to settingslib

Bug: 34771849
Test: make SettingsLibTests

Change-Id: I39c0f0e31ca5e1b958467298db1d0590d16c9f6d
2017-02-07 17:27:00 -08:00
Pavlin Radoslavov
ef5374bd4e Merge "Increase the character limit for "Use System Selection" message" am: a7ce460921 am: d0386d8c07 am: 798e1862bd
am: 6fe88fa07b

Change-Id: I3c6e6b3078d122b4b188669adea8ac86005a7eb8
2017-01-27 00:15:37 +00:00
Pavlin Radoslavov
6fe88fa07b Merge "Increase the character limit for "Use System Selection" message" am: a7ce460921 am: d0386d8c07
am: 798e1862bd

Change-Id: I52bd0ba6cee2435648f1ccf8a53bc9d76526973a
2017-01-26 23:55:43 +00:00
Pavlin Radoslavov
798e1862bd Merge "Increase the character limit for "Use System Selection" message" am: a7ce460921
am: d0386d8c07

Change-Id: I34e41269fd5d47024e211daa4b5c48124e7db0a8
2017-01-26 23:46:49 +00:00
Pavlin Radoslavov
f8c776ce01 Increase the character limit for "Use System Selection" message
The character limit for message "Use System Selection (Default)"
has been increased from 40 to 50.

Test: UI visual inspection
Bug: 34662759
Change-Id: I9aba6847ddab27bb0456fb6dfd429692732f07c2
2017-01-26 13:37:14 -08:00
Pavlin Radoslavov
02e806550c Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b am: d364208388
am: 78798cc13d

Change-Id: Ic645f9ee2eb090fc805a25a1449642dad021db4e
2017-01-26 19:42:16 +00:00
Pavlin Radoslavov
78798cc13d Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b
am: d364208388

Change-Id: Ice6067732c4a94d30410a8f90cbea51b869539eb
2017-01-26 19:31:07 +00:00
Pavlin Radoslavov
d364208388 Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb
am: f23e80bb9b

Change-Id: If2d85eba17f7ece5b3d19e3ee8fc86b7cf9bc062
2017-01-26 19:25:37 +00:00
Pavlin Radoslavov
b33bd5bc2e Integration of the AAC codec for A2DP source
Test: A2DP streaming to AAC headsets
Bug: 30958229
Change-Id: I1b530f1c5c495b8231fd68bed788d4567096683d
2017-01-26 09:06:02 -08:00
Pavlin Radoslavov
e3d08aebdc Merge "Fix wording ambiguity for Bluetooth LDAC Playback Quality selection" am: 0645c21163 am: b3f1eaa504 am: e667f7795f
am: 0946c26b39

Change-Id: Idd92101991a52af343a8479ef944a8396f4ab887
2017-01-26 04:45:45 +00:00
Pavlin Radoslavov
0946c26b39 Merge "Fix wording ambiguity for Bluetooth LDAC Playback Quality selection" am: 0645c21163 am: b3f1eaa504
am: e667f7795f

Change-Id: Ia6722702175e196d5b980ec7be3a093e972cfbfb
2017-01-26 04:40:43 +00:00
Pavlin Radoslavov
e667f7795f Merge "Fix wording ambiguity for Bluetooth LDAC Playback Quality selection" am: 0645c21163
am: b3f1eaa504

Change-Id: Ie1f0e958b93bfb898a7fdbe3ed8f732190a3e7ac
2017-01-26 04:34:57 +00:00
Pavlin Radoslavov
79fdc5001d Fix wording ambiguity for Bluetooth LDAC Playback Quality selection
"Optimize for" -> "Optimized for"

Bug: 34687041
Test: UI Visual inspection
Change-Id: I112ed6451465750978181e6ee35f96fd76969e9c
2017-01-25 22:19:17 +00:00
Christine Franks
cf683142cf Merge "Require password to FR in carrier demo mode"
Bug: 34341567
Test: manual - still builds
Change-Id: Ie450a97db5c3ce58a1a5e43334bb0546a3c48645
2017-01-25 17:14:07 +00:00
Christine Franks
b196493856 DO NOT MERGE - Require password to FR in carrier demo mode
am: 319b44e6e9

Change-Id: Ie53a29cfc067f255f2f90e5d83ec8d92a57a3651
2017-01-21 05:42:06 +00:00