32 Commits

Author SHA1 Message Date
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