41 Commits

Author SHA1 Message Date
Andre Eisenbach
60598075a0 Bluetooth PAN: Set isPreferred to true (1/2)
isPreferred must always be true for PAN so that the DUT can initiate
a PANU connection with the remote device not only from the internet
access menu in the profile setting, but also from the paired device
list menu.

Currently isPreferred is only true when PAN is in connected state
for the PANU role, so it will return false when the PAN profile is
not connected and the PANU connection will never be initiated
from the paired device list menu.

Change-Id: I120e681a113f56b74b45e01870adf96cdc2ca262
2015-06-02 01:58:58 -07:00
Sanket Padawe
78c23767ec Fix issue related selecting of "Contact sharing" in BT Settings.
Bug: 20041014
Change-Id: I84b59fdfd82c4bf25965bcb10a15fbff2dfbe721
2015-06-01 15:55:30 -07:00
Jason Monk
1904081c62 Be more careful with mAccessPoints usage
Bug: 21559453
Change-Id: I1a0bcf7282ad1a651169dea7e8ac5bc618b580d1
2015-06-01 15:00:57 -04:00
Tony Mantler
b3543e0d1d Move ZoneGetter into SettingsLib
Change-Id: I8ecfc018e6de2514e9ada4c1b6fe9c8d71cc4e88
2015-05-28 14:49:11 -07:00
Sanket Padawe
3e9e5fa66e Fix display of "null" string shown in Wifi Settings for AP.
Bug: 21476825
Change-Id: I643dcaa3112ff896e7b0abd998f2ad5e13187706
2015-05-28 10:41:14 -07:00
Jason Monk
bf3d1af3d8 SettingsLib: Fix wifi crash during settings index
and test it

Bug: 21365029
Change-Id: I9a914773577dcbe591b41c9114ba4d078b5e7369
2015-05-22 11:26:34 -04:00
Jason Monk
744cf647f7 SysUI: Move BT receivers to bg
Bug: 19520495
Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff
2015-05-19 13:13:15 -04:00
Svet Ganov
19877fa5f6 Revert a deleted file.
Change-Id: I48067da4316762e8a8a4562977c4b84655fdf0f4
2015-05-17 00:48:57 -07:00
Svet Ganov
321f01574e Hide platform platform legacy permissions behind a menu option - framework.
bug:21195624

Change-Id: I563c448e2abd7d33070ed2d8f62ba1b60a3744e8
2015-05-16 22:52:33 -07:00
Sanket Padawe
402be0628c Merge "Hotspot 2.0 UI." into mnc-dev 2015-05-14 02:40:44 +00:00
Jason Monk
d7fd045014 Merge "Add default icon for permissions" into mnc-dev 2015-05-13 21:06:30 +00:00
Jason Monk
0e6cac2658 Add default icon for permissions
Bug: 21119477
Change-Id: Ie982a1b42d2195ab79c33cf87756efb3bd9eab29
2015-05-13 16:07:57 -04:00
Jason Monk
401c40a822 Merge "SettingsLib: Track permission's packageName" into mnc-dev 2015-05-13 18:40:55 +00:00
Jason Monk
02453f605b SettingsLib: Track permission's packageName
Bug: 20269176
Change-Id: If07051985f3e8b6223cba4289d6cd29d94ebb0cd
2015-05-13 12:30:34 -04:00
Jason Monk
2b51cc30d5 Fix crash from WPS
Also fix the tests to handle the new threadedness while here.

Bug: 20067687
Change-Id: I116bf14c71886b251c2e8bcaeb2c9b0e5f9ec817
2015-05-13 11:08:53 -04:00
Jason Monk
a42ee81368 Fix crash in setup wizard
Clear out any unhandled worker messages before stopping tracking.

Bug: 21048197
Change-Id: I3792215a1e7799bdb93587cd7158c4d5d86de348
2015-05-12 14:20:25 -04:00
Sanket Padawe
d187880109 Hotspot 2.0 UI.
Bug: 20182930
Change-Id: Ice6df509889fa7eb0494bb04af65890f07b4a2b1
2015-05-12 10:27:19 -07:00
Jason Monk
30d8004dbf SettingsLib: Do wifi processing in background
Bug: 19520495
Change-Id: Iefad932bd523b26a19e5f902133563341aea7426
2015-05-11 12:37:43 -04:00
Sanket Padawe
60137fdcb3 Merge "Saved network summary string fixes in Wifi Settings" into mnc-dev 2015-05-06 20:59:16 +00:00
Sanket Padawe
56cfbfb031 Saved network summary string fixes in Wifi Settings
Bug: 20667217
Change-Id: Ife1b1e7da3270020ef405693252a9e8a1ea5a6ca
2015-05-05 20:10:46 -07:00
Tony Mantler
def4c0c49a Merge "Don't crash in StorageMeasurement if volume isn't mounted" into mnc-dev 2015-05-05 17:59:01 +00:00
Casper Bonde
424681e43e Settings UI for SIM access profile (2/2)
Change-Id: I2e44a858ee3f3349baa401ee7002186d3ae19412
2015-05-05 16:59:24 +00:00
Tony Mantler
ca2954830c Don't crash in StorageMeasurement if volume isn't mounted
Change-Id: I3f5d62c93b0bb95bec358a33e1a4497f1b55f8ad
2015-05-04 10:57:44 -07:00
Sanket Padawe
7094d22022 Adding "Connected, no Internet" string in Wifi nw summary.
Bug: 17380953
Change-Id: I9664bcbf33832fe722e7d2b3125939287ee98098
2015-05-01 16:55:00 -07:00
Vinit Deshpande
dcf00c9d0f Implement 'Available via Passpoint' feature [DO NOT MERGE]
This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: I152cebafa6259194f1d09a6972a3508156335cb6
(cherry picked from commit ff783cd6cfc82870a6126fe1ef019d21131423fc)
2015-04-29 16:40:51 -07:00
Vinit Deshpande
fc40600e30 Fix settings UI for passpoint networks [DO NOT MERGE]
This change includes showing the friendly name in saved
networks list and 'Connected via provider' addition for
passpoint connections.

Change-Id: If330baa96dedb099d5989b3df5b9778bbbcb15e3
(cherry picked from commit 597f49cdda63fef1b583e2053341485e8d4e2371)
2015-04-29 16:32:01 -07:00
Tony Mantler
9496a2da05 Add totalSize and availSize queries to StorageMeasurement
Change-Id: I20f9d8546046df3804008ee4068c539549f35cb6
2015-04-23 15:45:00 -07:00
Tony Mantler
547e4caebe Move StorageMeasurement to SettingsLib
Change-Id: I90ea3b32971f02def418385ebac1f03f06390ba7
2015-04-23 14:16:44 -07:00
Tony Mantler
618f3c4f94 Add PermissionsInfo to SettingsLib
in preparation to use it in TvSettings

Change-Id: I7e336ae923f94eef3efe56bf61c250ae540fb83b
2015-04-16 15:43:00 -07:00
Venkat Raghavan
05e08c3a2f Bluetooth: Do not initiate inquiry during pairing/SDP
Retry SDP if it gets cancelled in BONDING state.
If SDP search initiated after the pairing gets cancelled, re-initiate
SDP search from the BTIF layer to ensure completion of the bonding
process.

While pairing/SDP discovery of the bonded device is in progress,
do not initiate inquiry.

Bug: 19417758
Change-Id: I2d80883999771c53b58cc3017a63b17e3564bc57
2015-04-06 16:27:09 -07:00
Etan Cohen
50d4761830 Merge (manually) pag/209446: Increase allowed duration to connect to HOGP profile
Original file was moved from packages/apps/Settings to frameworks/base.

Change-Id: I26912c0461780a255281a135c60cc0da2d25ae5a
2015-04-01 09:32:40 -07:00
Jason Monk
78981e0393 Merge "Make QS use SettingsLib's BT code" 2015-03-12 14:23:51 +00:00
Jason Monk
be3c5dbee6 Make QS use SettingsLib's BT code
A couple of changes needed to be made to SettingsLib to support this.
 - SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED
 - The summary code needed to move from Settings up into SettingsLib
 - Added a getMaxConnectionState to CachedBluetoothDevice
    - This simplifies the states of all of the profiles into
      one.

Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
2015-03-02 10:40:21 -05:00
John Spurlock
08c7116ab9 Remove unused imports in frameworks/base.
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-28 14:47:49 -05:00
Jason Monk
08238bb624 Merge "Move non-ui bt settings code to SettingsLib" 2015-02-24 13:23:31 +00:00
Jason Monk
fb66b8ff48 Merge "Some Tethering code to SettingsLib and use in QS" 2015-02-24 13:16:27 +00:00
Jason Monk
95f03c4170 Some Tethering code to SettingsLib and use in QS
Change-Id: I640c84d4e42d2f1955db8cd6e473b6acac64dd39
2015-02-12 10:33:31 -05:00
Jason Monk
6572eae9d2 Fix crash in Wifi QS Panel
When open QS wifi panel while wifi was off was causing a crash from
wifi enabling while the WifiTracker was not in a scanning state.
Fix plus a test enclosed.

Bug: 19322090
Change-Id: Id863cdcbf4aa8d50822de3a200355dbaee74b488
2015-02-10 13:58:40 +00:00
Jason Monk
7ce96b9e61 Move non-ui bt settings code to SettingsLib
Mostly this is moving classes from Settings to SettingsLib but there
were a few changes to support this separation.
 - A bunch of things became public rather than package
 - Moved some settings only code out of these classes
 - Added error callback to handle errors

To see the changes from original classes view the diff against
patch-set 1.

Bug: 19180466
Change-Id: I69fd888362c6dbb325f6113b32c4b15cc6a23a41
2015-02-05 10:43:26 -05:00
Jason Monk
d52356aa5e Move Settings wifi tracking to SettingsLib
Make SettingsLib capable of tracking which wifi networks are
available/saved and their state.

Also modify Quick Settings to use this code rather than having
its own logic.

Bug: 19180466
Change-Id: Iff9f9aed240d79323dba41496496e8076b9fa6f2
2015-02-04 15:08:55 -05:00
Jason Monk
2ba4ce6a06 Create SettingsLib
This will hold common code that SystemUI and Settings (and others)
will share.

Bug: 19180466
Change-Id: I6614b31d6c3b0a2d426a2aa8ce66725245339d22
2015-02-02 11:33:17 -05:00