545 Commits

Author SHA1 Message Date
Jack He
aadf525e1a Merge "Add developer setting and system API for inband ringing support" into oc-dev 2017-04-13 19:43:54 +00:00
Bill Yi
ca0db87f3e Import translations. DO NOT MERGE
Change-Id: Iaf188ae0fe780b83f7caa70e8221126d1ffed110
Auto-generated-cl: translation import
2017-04-13 04:43:14 -07:00
Jack He
76cd53a953 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
(cherry picked from commit e86bdcaed1372aa05bdfba175007b05613aecd9b)
2017-04-12 22:24:37 +00:00
TreeHugger Robot
e62e9a274a Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 17:49:39 +00:00
Bill Yi
c639a10e1d Import translations. DO NOT MERGE
Change-Id: I8152cc56a3626db7cbafd758eeabf55a275acadc
Auto-generated-cl: translation import
2017-04-10 19:18:58 -07: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
Bill Yi
a7916661b8 Import translations. DO NOT MERGE
Change-Id: I47751b435795e850ded7fcc84e0d8fa88dd5c694
Auto-generated-cl: translation import
2017-04-07 08:30:10 -07: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
Bill Yi
77b4933090 Import translations. DO NOT MERGE
Change-Id: Ic5a973c3de1b80ab3ed1d4cea084d6bb5cb52b0a
Auto-generated-cl: translation import
2017-03-30 14:15:33 -07:00
TreeHugger Robot
5acdc8c3d5 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-03-30 01:30:09 +00: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
Bill Yi
f3491a913b Import translations. DO NOT MERGE
Change-Id: If44ef7a09f2efa1aea4792fe2e938fcc86b7a7f0
Auto-generated-cl: translation import
2017-03-29 15:41:14 -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
Neil Fuller
0f3235a167 Merge "Update settings to use latest IDs for zones"
am: c75dbe9d9c

Change-Id: If3708653ad78fb38e57508c4d8fac9dd5bffc2c1
2017-03-27 14:12:35 +00:00
Treehugger Robot
c75dbe9d9c Merge "Update settings to use latest IDs for zones" 2017-03-27 14:06:35 +00:00
Neil Fuller
8bb9748442 Update settings to use latest IDs for zones
Various zones in timezones.xml were being identified by old
IDs. The settings picker and setup wizard uses the exact
ID when pre-selecting the user's current zone. Since the
autodetection uses the new IDs in places like Buenos
Aires users would not have the correct zone pre-selected
during setup.

Thanks to Marcio Ikeda of LG for the report.

Other legacy IDs found with:

for TZ in `grep 'id=' timezones.xml \
    | awk -F\" '{ print $2 }'`; do \
grep ${TZ} ~/Downloads/tzdata2016g/zone.tab > /dev/null; \
if (( $? != 0 )); then echo Bad: ${TZ}; fi; \
done

New IDs found using tzdata NEWS and "backward" file.

Test: Manual testing: selection of the zone in the settings
Bug: 36469833
(cherry picked from commit b4d003da66beb414e8e7fcec94a82a53027dbbfa)
Merged-In: I8c20494a48870cdc600854756061e86db730e14a
Change-Id: I829a70921eb13b763b5446820c87672615f2524d
2017-03-27 13:32:59 +01:00
Neil Fuller
8683062a48 Merge "Update settings to use latest IDs for zones" 2017-03-27 12:28:31 +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
TreeHugger Robot
d0c6ba6ce3 Merge "Import translations. DO NOT MERGE" 2017-03-23 15:27:34 +00:00
Neil Fuller
b4d003da66 Update settings to use latest IDs for zones
Various zones in timezones.xml were being identified by old
IDs. The settings picker and setup wizard uses the exact
ID when pre-selecting the user's current zone. Since the
autodetection uses the new IDs in places like Buenos
Aires users would not have the correct zone pre-selected
during setup.

Thanks to Marcio Ikeda of LG for the report.

Other legacy IDs found with:

for TZ in `grep 'id=' timezones.xml \
    | awk -F\" '{ print $2 }'`; do \
grep ${TZ} ~/Downloads/tzdata2016g/zone.tab > /dev/null; \
if (( $? != 0 )); then echo Bad: ${TZ}; fi; \
done

New IDs found using tzdata NEWS and "backward" file.

Test: Manual testing: selection of the zone in the settings
Bug: 36469833
Change-Id: I8c20494a48870cdc600854756061e86db730e14a
2017-03-23 15:10:27 +00:00
Bill Yi
887ed4efde Import translations. DO NOT MERGE
Change-Id: I0d61396cffb0cf91c269826f80eab0c9daee01f2
Auto-generated-cl: translation import
2017-03-23 05:56:05 -07:00
TreeHugger Robot
8efea16f1e Merge "Move two target preference layout from settings to lib" 2017-03-23 01:26:53 +00:00
Fan Zhang
035ff93430 Move two target preference layout from settings to lib
Change-Id: I5eda0cdcc4e8d8bb25f95ee12837d90179ac5c0a
Fix: 36511169
Test: make RunSettingsLibRoboTests
2017-03-22 16:02:37 -07: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
Bill Yi
c6e5d76ec4 Import translations. DO NOT MERGE
Change-Id: I8f6d28da56a19b5b7275602cb435ff74499818bd
Auto-generated-cl: translation import
2017-03-18 06:56:16 -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
c93dadacdd Show help icon in actionbar
Fix: 35955986
Test: RunSettingsLibRoboTests
Change-Id: If4c328cacf1e3c9a5f66eeb248749c97c80cdb6c
2017-03-06 13:06:38 -08:00
Bill Yi
895c18c096 Import translations. DO NOT MERGE
Change-Id: I3af1430764f59d462cc653f0a1870611d5ac51a9
Auto-generated-cl: translation import
2017-03-05 19:29:15 -08: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
Bill Yi
53a972b1c3 Import translations. DO NOT MERGE
Change-Id: I4e9c7bc1aa90188971836506efe48c26b0bc522d
Auto-generated-cl: translation import
2017-02-22 08:15:37 -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
Bill Yi
0e415498c2 Import translations. DO NOT MERGE
Change-Id: Icae07e0068de05e85cb4d55fc3516fee39b3b1c2
Auto-generated-cl: translation import
2017-02-16 13:09:32 -08:00