567 Commits

Author SHA1 Message Date
Bill Yi
5abca930e9 Import translations. DO NOT MERGE
Change-Id: Id329600f78755d176ebdd08ab38dd82cb89f2ef9
Auto-generated-cl: translation import
2017-04-13 04:34:42 -07:00
TreeHugger Robot
7b7a99d9e3 Merge "Import translations. DO NOT MERGE" 2017-04-11 22:48:12 +00:00
Fan Zhang
77ad5781d7 Merge "Update string description and char limits" into oc-dev am: 3151a09dac
am: 5e56569cdf

Change-Id: I2a2dc3574fdad77c7aac0f38736d9f2fdf7b3805
2017-04-11 16:42:06 +00:00
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
Bill Yi
fba9c8986c Import translations. DO NOT MERGE
Change-Id: I6a8ea9c1997c95f57a7c3abbe5c552304f001527
Auto-generated-cl: translation import
2017-04-10 18:16:02 -07:00
Jack He
cf6b2528d1 Merge "Add developer setting and system API for inband ringing support" am: 1da38b2bcd am: d86c1fca76 am: 25c086b7e2
am: b111c6f753

Change-Id: Iee048785ebe566fcb8e80c5e97bb61a78b4afde2
2017-04-10 23:31:55 +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
Jack He
25c086b7e2 Merge "Add developer setting and system API for inband ringing support" am: 1da38b2bcd
am: d86c1fca76

Change-Id: I711f396cbf1a63177fc8e61956264c3d7ce5a375
2017-04-10 23:11:15 +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
Bill Yi
a7916661b8 Import translations. DO NOT MERGE
Change-Id: I47751b435795e850ded7fcc84e0d8fa88dd5c694
Auto-generated-cl: translation import
2017-04-07 08:30:10 -07:00
Bill Yi
39d6e74b86 Import translations. DO NOT MERGE
Change-Id: I035706076f6dc575859c897a3a26c09a52e87b61
Auto-generated-cl: translation import
2017-04-07 08:21:41 -07:00
jackqdyulei
cd98c5dd0f Merge "Add lower case charging string." into oc-dev
am: e263940142

Change-Id: Iad64dbd0b57028e2a5567c81bb86152cdb6d17a4
2017-04-06 22:39:20 +00:00
jackqdyulei
2ffa7db9f0 Merge "Add showChargingMethod in BatteryInfo" into oc-dev
am: 5883a40931

Change-Id: Ic110cc08f3bcd4720210744531703e0be15c9371
2017-04-06 22:17:47 +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
TreeHugger Robot
1c22609438 Merge changes from topic 'battery_string_main_screen'
* changes:
  Add lower case charging string.
  Add showChargingMethod in BatteryInfo
2017-04-05 23:42:05 +00:00
Tony Mantler
76bdb7f8aa Merge "Add AvailableVirtualKeyboardFragment to TV" into oc-dev
am: 56a090bf37

Change-Id: I973fa6ec82f5b45c0b516743da9111891a2cb348
2017-04-04 20:38:07 +00: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
TreeHugger Robot
757796a12e Merge "Add AvailableVirtualKeyboardFragment to TV" 2017-04-03 22:04:22 +00:00
Stephen Chen
2c003df34e Merge "Add friction icon for metered networks." into oc-dev am: 38344ac4e9
am: aa0b33f065

Change-Id: Ib9da5f27610bd131dcd10ab12cb2d493023cbe14
2017-04-03 18:51:46 +00:00
Stephen Chen
aa0b33f065 Merge "Add friction icon for metered networks." into oc-dev
am: 38344ac4e9

Change-Id: I4edf3bd9367de701ea3f161a0ff461d47e216186
2017-04-03 18:40:19 +00:00
jackqdyulei
f27c73f3e8 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-03 11:31:40 -07:00
Bill Yi
7a2f46bd80 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I61b5291fe0b6b1e6c421756adac398e76566ca5f
2017-04-01 16:11:07 -07: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
Tony Mantler
1bb992d802 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
2017-03-31 14:19:26 -07:00
jackqdyulei
b3c33f63ed 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
2017-03-30 15:52:45 -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
Bill Yi
ff054177b1 Import translations. DO NOT MERGE
Change-Id: I139b8e7579764b0f47d5923f1f8ad0f6fefeb984
Auto-generated-cl: translation import
2017-03-30 14:07:27 -07:00
TreeHugger Robot
ca1fc8801c Merge "Import translations. DO NOT MERGE" 2017-03-30 01:55:10 +00: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
Pavlin Radoslavov
3713929862 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: 3c7fce3579 am: 25105f6561
am: dfc1264eff

Change-Id: I09fd2e135ff0410b08ce197f98a4f58b14c9b7c6
2017-03-29 22:57:22 +00:00
Pavlin Radoslavov
25105f6561 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
am: 3c7fce3579

Change-Id: Ic8483107e72a61e8b07f26f343e36254fe57cfd9
2017-03-29 22:47:28 +00: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
Bill Yi
40d22b853d Import translations. DO NOT MERGE
Change-Id: Icc9c65a5620b0a87e6c6b5bcaa14e78597099cc9
Auto-generated-cl: translation import
2017-03-29 15:33:42 -07: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
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