1069 Commits

Author SHA1 Message Date
Fan Zhang
ca60facfdc Filter external setting intents using IA_SETTING keyword.
Also add test for CategoryKey

Bug: 32382487
Bug: 32460089
Test: make RunSettingsLibRoboTests
Change-Id: I0ed6278344a545b5fc952f5811322857382e4b60
2016-11-04 09:39:26 -07:00
Fan Zhang
914afbfbd0 Create test for CategoryManager.
- Move SettingsLibTests to tests/integ
- Create a new robotests directory for SettingsLib.
- Add test cases for CategoryManager#backwardCompatCleanupForCategory

Bug: 32382487
Test: make RunSettingsLibRoboTests
Change-Id: I7ef5921ce8c47a3e1e7209be1abc97ea549a2378
2016-11-02 10:32:26 -07:00
Fan Zhang
31f4c54444 Backward-compat for DashboardCategory with app use old keys
- Detect whether an app is using old key, new key, or a mix of both.
-- If app is using new keys, skip. They are already in the new IA.
-- If app is using old/new keys mixed, skip. Using both type of keys
   implies the app wants to support old/new platform.
-- If app is using old keys only, map their tiles to new categories.

Bug: 32382487
Test: new unit tests
Change-Id: I3bbd09c531a97801dc382661a8bb10d0391bc177
2016-11-02 09:04:24 -07:00
Joseph Pirozzo
d53cdd2b6d Pbap disconnect durring connect am: a4f0127fbb am: a31933abc3 am: 1c21f0378a
am: 89c1087162

Change-Id: I879ec1f919386efb433d21e2bc7088e3ed31f4ce
2016-11-02 01:25:15 +00:00
Joseph Pirozzo
fe9368afe8 MAP MCE am: 631768d814 am: d94c280a7f am: c412914520
am: fb70d77f64

Change-Id: Ia56f6ca01a4d92b24f192102917950a10b6cb05d
2016-11-02 01:24:14 +00:00
Joseph Pirozzo
1c21f0378a Pbap disconnect durring connect am: a4f0127fbb
am: a31933abc3

Change-Id: I73772d90dea4b9f3f70daef1b7b6ce44cfafb0e5
2016-11-02 01:10:02 +00:00
Joseph Pirozzo
c412914520 MAP MCE am: 631768d814
am: d94c280a7f

Change-Id: I6a765b9a07204afca2763fb98fdb2e92e08292e5
2016-11-02 01:09:14 +00:00
Joseph Pirozzo
a31933abc3 Pbap disconnect durring connect
am: a4f0127fbb

Change-Id: Ib2f65418dee82893a377b780647d823cfa274dd6
2016-11-02 01:04:33 +00:00
Joseph Pirozzo
d94c280a7f MAP MCE
am: 631768d814

Change-Id: I155fd0e8b44539bf79cec2c6ddb2a4d71b0c23d9
2016-11-02 01:03:51 +00:00
Joseph Pirozzo
a4f0127fbb Pbap disconnect durring connect
Durring a connect call disconnect from all other pbap devices rather
than from the device you are trying to connect to.

bug: 28406739
Change-Id: Ic0b651f32a0da18950fbc190b1d4503d69ebd203
(cherry picked from commit bdd24942e47811ffe6bb9814934e6b08a8190e7e)
2016-11-01 17:39:16 -07:00
Joseph Pirozzo
631768d814 MAP MCE
Add MAP client code into packages/apps/Bluetooth.  Changes here are to
define the MAP MCE interface and enable its selection when running on a
device that is also running a PBAP client (Car Kitt).

Bug: 30467210
Change-Id: Ifa2cdea7d67f63a2b5f3d971df8ec6d321dc5fee
(cherry picked from commit 433b3054847951e8e7b3864d11990604a66b8651)
2016-11-01 17:39:16 -07:00
TreeHugger Robot
9d1c7e1619 Merge "Import translations. DO NOT MERGE" 2016-11-01 07:36:41 +00:00
Bill Yi
f446124889 Import translations. DO NOT MERGE
Change-Id: Iddd2d61ad8ac7f74655ccee10f6e4e7d516bdd26
Auto-generated-cl: translation import
2016-10-31 22:44:54 -07:00
TreeHugger Robot
f546be4dbe Merge "Move checking tile user logic into ProfileSelectDialog." 2016-11-01 01:39:16 +00:00
Fan Zhang
11b6507220 Move checking tile user logic into ProfileSelectDialog.
Bug: 32470791
Test: make & run SettingsLibTests
Change-Id: I46342b96f030469502e890301d322cccd7f8032d
2016-10-31 16:45:00 -07:00
Nick Desaulniers
7091e2fdc0 DeviceInfoUtils: support clang kernel version
Test: view settings
Bug: 32455817
Change-Id: Iaaf8021fa743c74c8052b6a3352ef15b40cc4974
2016-10-31 11:35:08 -07:00
Bill Yi
9c5ccf4b97 Import translations. DO NOT MERGE
Change-Id: I0f32e71b1e47beacb5e11d77bb7939fd2b2f5eb7
Auto-generated-cl: translation import
2016-10-26 19:59:45 -07:00
Ajay Nadathur
7d176bcc48 [SettingsLib] Add missing AccessPoint listener
- AccessPointListener was not set on AccessPoint in one of the code
  paths and as a result, the UI wasn't notified of changes to the
  AccessPoint.

Test: Manually tested and verified that notification changes were
delivered to the UI. Also added unit test.
bug:31945554

Change-Id: I89affada5dead4edc4218f424eec6b7f4a4e26a7
2016-10-25 14:08:11 -07:00
Yoshinori Hirano
817695589c Merge "Allow operator/manufacturer setting to use priority" am: aef1a557aa am: 4244d53c3e am: 0be36ac0d1
am: 80ac3f0a4b

Change-Id: I5bc6a440d7a906caed9cdfe63464f692e7f0ecef
2016-10-24 18:50:17 +00:00
Yoshinori Hirano
0be36ac0d1 Merge "Allow operator/manufacturer setting to use priority" am: aef1a557aa
am: 4244d53c3e

Change-Id: Ia6fcaa0550f2e1bb74f61d547fcd39de3b95fe90
2016-10-24 18:39:22 +00:00
Yoshinori Hirano
4244d53c3e Merge "Allow operator/manufacturer setting to use priority"
am: aef1a557aa

Change-Id: I81ccdc0910ab5298d5b54f3b8e390262d02225ea
2016-10-24 18:32:14 +00:00
Treehugger Robot
aef1a557aa Merge "Allow operator/manufacturer setting to use priority" 2016-10-24 18:21:07 +00:00
Fan Zhang
e6bcfb0158 Add one more CategoryKey.
This is used in secondary setting page: App & Notification > AppDefaults

Bug: 31799948
Test: manual
Change-Id: Icc8fa15352006034743c17d2ee943c05a21f612f
2016-10-21 16:35:39 -07:00
Matthew Fritze
02d67b6bf1 Default for sending package name to support should be false am: b68a83a8eb am: 4d9085f1d2
am: 6adcb1b33a

Change-Id: I79355e651feb9492a8bd21b1ed865e9d725df14d
2016-10-20 22:01:51 +00:00
Matthew Fritze
6adcb1b33a Default for sending package name to support should be false am: b68a83a8eb
am: 4d9085f1d2

Change-Id: I10fb181b9aebc66bbbcaa646618f26ca84dfe552
2016-10-20 21:35:14 +00:00
Matthew Fritze
4d9085f1d2 Default for sending package name to support should be false
am: b68a83a8eb

Change-Id: Ic30a1508a9f7a8b1592778fc7eaa44692e99e579
2016-10-20 21:16:20 +00:00
Matthew Fritze
b68a83a8eb Default for sending package name to support should be false
Change-Id: I2cc90cac2c2c72f9febb015487f8854ebf006aac
Fixes: 32303343
Test: manual
2016-10-20 11:24:54 -07:00
Bill Yi
faa44eded3 Import translations. DO NOT MERGE
Change-Id: I23ec3f55b9dcb76a78e8d03158f54ac11fe7c647
Auto-generated-cl: translation import
2016-10-20 07:05:48 -07:00
Fan Zhang
81d0f33017 Catch NPE on network state and fall back to empty summary. am: 6acb76621d am: d856752ee7
am: 383fd2e9b6

Change-Id: Id4d56142abdcb8a99677db016beaf5708d40ba45
2016-10-18 21:51:59 +00:00
Fan Zhang
383fd2e9b6 Catch NPE on network state and fall back to empty summary. am: 6acb76621d
am: d856752ee7

Change-Id: Id1f17b2d60627110c1c7a3ae9aac3a7496f534f1
2016-10-18 21:44:31 +00:00
Fan Zhang
d856752ee7 Catch NPE on network state and fall back to empty summary.
am: 6acb76621d

Change-Id: I208a614e1a29c0d0e523d712ea184ee87fc04254
2016-10-18 21:37:30 +00:00
TreeHugger Robot
964874e444 Merge "Catch NPE on network state and fall back to empty summary." into nyc-mr1-dev 2016-10-18 21:27:47 +00:00
Fan Zhang
6acb76621d Catch NPE on network state and fall back to empty summary.
Bug: 32171456
Change-Id: Ia3c1e1f5b7848ec914be9f92401a02b50df1dc57
2016-10-17 12:40:03 -07:00
Bill Yi
c11e301ca4 Import translations. DO NOT MERGE
Change-Id: I8ed7b626ec4169f9154a18daffe36160b8f3dacb
Auto-generated-cl: translation import
2016-10-17 11:08:03 -07:00
Bill Yi
2877624941 Import translations. DO NOT MERGE
Change-Id: I6a96cac7b1a070e595130b9294cb95565454eec4
Auto-generated-cl: translation import
2016-10-17 10:54:42 -07:00
Jakub Pawlowski
be15b9643b Merge "Fix Bluetooth OOB pairing not working for unseen devices" am: 3ef0315eb7 am: bd1a923cac am: 08109a61d2
am: 414c77ce1c

Change-Id: I4a694e543037263cfa80b2cf5473acfee9d007c0
2016-10-14 20:06:42 +00:00
Shinji Sogo
1c9f32740c Merge "Don't compare FQDN with providerFriendlyName" am: aae64557e1 am: 9c84160545 am: b8bab1df10
am: dafb19bb59

Change-Id: Id05db87f864df47245a748531cbdad4b27f6da1c
2016-10-14 19:52:14 +00:00
Jakub Pawlowski
414c77ce1c Merge "Fix Bluetooth OOB pairing not working for unseen devices" am: 3ef0315eb7 am: bd1a923cac
am: 08109a61d2

Change-Id: Id97645d7026466771a011ba787dce9866dc029d2
2016-10-14 14:38:10 +00:00
Shinji Sogo
dafb19bb59 Merge "Don't compare FQDN with providerFriendlyName" am: aae64557e1 am: 9c84160545
am: b8bab1df10

Change-Id: Ic019a0f04737d128cc5005be8fe9733f30ee44a3
2016-10-14 14:26:32 +00:00
Jakub Pawlowski
08109a61d2 Merge "Fix Bluetooth OOB pairing not working for unseen devices" am: 3ef0315eb7
am: bd1a923cac

Change-Id: I378f55d65663a1628ca53c1e2a63b850aac94845
2016-10-14 01:42:10 +00:00
Treehugger Robot
3ef0315eb7 Merge "Fix Bluetooth OOB pairing not working for unseen devices" 2016-10-14 01:25:11 +00:00
Bill Yi
ade9e011a8 Import translations. DO NOT MERGE
Change-Id: I825794cb543e17e2a5d2444c15a1dfdbdb048e23
Auto-generated-cl: translation import
2016-10-13 14:58:39 -07:00
Bill Yi
22f03d1e1d Import translations. DO NOT MERGE
Change-Id: I65f000850931fa50f57db58ed268f89fd940dfdc
Auto-generated-cl: translation import
2016-10-13 14:46:10 -07:00
Shinji Sogo
b8bab1df10 Merge "Don't compare FQDN with providerFriendlyName" am: aae64557e1
am: 9c84160545

Change-Id: I9091af58eb06d5bf89847ac35aba9849e5e758cf
2016-10-13 14:27:05 +00:00
Salvador Martinez
87ff355f0a Merge "Restricted switch preference uses ripple on focus" 2016-10-12 21:47:02 +00:00
Treehugger Robot
aae64557e1 Merge "Don't compare FQDN with providerFriendlyName" 2016-10-12 15:44:35 +00:00
Salvador Martinez
3fd12a86c7 Restricted switch preference uses ripple on focus
Modified layout used by settingsLib to user
selectableItemBackground to get ripple effect
when focused by user.

Test: Visual Inspection
Bug: 31975611
Change-Id: I481db63c9ffb3aa5645ff052bf10dddd43dfbdad
2016-10-11 18:03:30 -07:00
Nick Kralevich
44761c81eb Delete "Show CPU usage" am: fc4a5c2d85 am: f0c0188a8a
am: 34547a8dc2

Change-Id: I410846d3ff6856e5f9dee2efd551af8b9d1d94dc
2016-10-11 18:21:32 +00:00
Nick Kralevich
34547a8dc2 Delete "Show CPU usage" am: fc4a5c2d85
am: f0c0188a8a

Change-Id: If33e6687d3ec83904ab6ddbeb008c7b9c8130e7a
2016-10-11 18:15:23 +00:00
Nick Kralevich
f0c0188a8a Delete "Show CPU usage"
am: fc4a5c2d85

Change-Id: I4da784d136601fb3458b8697a0a27a232cd89111
2016-10-11 18:09:10 +00:00