205 Commits

Author SHA1 Message Date
Geoff Mendal
84945e5e51 Import translations. DO NOT MERGE
Change-Id: I1b5951f177c1c02c9aa11dea03365253138b8a30
Auto-generated-cl: translation import
2015-12-09 05:50:28 -08:00
Geoff Mendal
87661e2098 Import translations. DO NOT MERGE
Change-Id: I6dfc3a1250262aaf29428f1a907a271650892be0
Auto-generated-cl: translation import
2015-12-07 05:49:49 -08:00
Tony Mantler
5881ebc882 Move strings to SettingsLib
Change-Id: I8dc93cfc206e41b14f894b03ecd8a18225d47fe7
2015-12-04 11:24:34 -08:00
Jason Monk
2a5d79aa6f Fix crashes in Settings + SUW
Bug: 25981625
Bug: 25989520
Bug: 25987331
Change-Id: Ib53c99edf45bb4550bfb9761ed09ca3677068591
2015-12-03 10:51:58 -05:00
Jason Monk
e79790b268 Speed up setting launch
Try to avoid too many calls to the PM and cache the info we get
from it to avoid too much stuff during settings launch.

Change-Id: I64132cbe47cf8eac6080c8c82583b0b5eeb75a28
2015-12-02 15:54:29 -05:00
Lorenzo Colitti
10373488f0 Merge "Don't show "Connected, no Internet" any longer than necessary." 2015-12-01 03:24:08 +00:00
Jason Monk
3175a6e395 Guard against monkey crash
Bug: 25795998
Change-Id: I351faae1e29d09b7577435207ec466a1ff5ed237
2015-11-30 15:07:40 -05:00
Lorenzo Colitti
ab313f8443 Don't show "Connected, no Internet" any longer than necessary.
Currently, both the wifi detail view in Quick Settings and the
wifi settings screen show "connected, no internet" for a few
seconds after a network connects. This makes it seem that
network validation is slow, even though usually it only takes
tens or hundreds of milliseconds.

Fix this by updating the access point list when we receive an
onCapabilitiesChanged NetworkCallback for the current wifi
connection.

This also allows us to stop listening to the RSSI_CHANGED_ACTION
broadcast, because:

1. WifiStateMachine only ever sends out that broadcast just after
   calling updateCapabilities, which causes an
   onCapabilitiesChanged callback to be received.
2. We don't use any of the extras in the RSSI_CHANGED_ACTION
   broadcast, only call updateNetworkInfo, which we do on
   every onCapabilitiesChanged callback anyway.

While I'm at it, move a variable assignment around to improve
clarity.

Change-Id: I57d3a13754ba4d8c6d58c566713d3f07d0ed2476
2015-12-01 01:37:29 +09:00
Geoff Mendal
4da1c1e6a5 Import translations. DO NOT MERGE
Change-Id: Ida232117d56cfc78ecf7daadb2f6642a6341b3bc
Auto-generated-cl: translation import
2015-11-30 05:51:51 -08:00
Tony Mantler
de8d933257 Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib" 2015-11-18 16:47:41 +00:00
Jason Monk
4cf95aef83 Move some stuff to SettingsLib to use for Settings Home
Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c
2015-11-18 10:06:54 -05:00
Tony Mantler
d1e3272044 Move AnimatedImageView and AuthenticatorHelper to SettingsLib
Change-Id: If3fef35b88b041326c510064679e92a90f31c6b2
2015-11-17 15:14:00 -08:00
Tony Mantler
80ac37d033 Merge "Move some methods to DeviceInfoUtils in SettingsLib" 2015-11-16 18:12:51 +00:00
Tony Mantler
e92cf6d739 Move some methods to DeviceInfoUtils in SettingsLib
Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239
2015-11-16 09:44:52 -08:00
Sanket Padawe
0d23df82af Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630 am: 4f822bbf2a am: 761af3d27d
am: c9d033a71a

* commit 'c9d033a71afc263c0e493d33e555c3134f665bfb':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:26:54 +00:00
Sanket Padawe
761af3d27d Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630
am: 4f822bbf2a

* commit '4f822bbf2a1c44c9dc5668857aa8cf7f0e5969cc':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:07:47 +00:00
Sanket Padawe
4f822bbf2a Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev
am: 5b6ad87630

* commit '5b6ad87630756751471f7224672328d955c8f2fb':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-12 23:58:48 +00:00
Jason Monk
f18a55da5a SettingsLib Drawer: Listen to theme about actionbar
Show it or not based on windowNoTitle.

Bug: 25567755
Change-Id: Ie1a6b79eb87dcc101bd76785df7c5330acc54603
2015-11-12 18:51:48 +00:00
Sanket Padawe
07533dbfff Don't allow contact sharing by default for device not recognized as carkit.
+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.

Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
2015-11-11 15:01:35 -08:00
Tony Mantler
6038349b4e Merge "Move RecentLocationApps to SettingsLib" 2015-11-10 17:48:47 +00:00
Tony Mantler
65eb4ada18 Move RecentLocationApps to SettingsLib
Change-Id: I73c7c7a2436a6af9f5353a20ea7afc4f6e57b485
2015-11-10 17:47:56 +00:00
Geoff Mendal
ac61db5ebc Import translations. DO NOT MERGE
Change-Id: I75bc3c96b606f19818b4da31b15db9be6ba05760
Auto-generated-cl: translation import
2015-11-09 05:52:07 -08:00
Jason Monk
51a942380b Updates to Drawer
Support doing nothing on tvs and watches.  Also better not doing
anything with no categories existing.

Change-Id: I4a12d4d907a08e75ed3cdcd3f7c68a3a100c687d
2015-11-05 08:52:41 -05:00
Jason Monk
2cf0995439 Merge "Settings Drawer: Handle multi-profile/user correctly" 2015-11-04 21:10:21 +00:00
Jason Monk
48237a76fc Merge "First pass at drawer support for SettingsLib" 2015-11-04 20:19:18 +00:00
Jason Monk
0d72d20c2f Settings Drawer: Handle multi-profile/user correctly
Change-Id: Ibef3cb38325415d514dc86fcd4ce7b95825361f8
2015-11-04 15:04:45 -05:00
Jason Monk
744b63632a First pass at drawer support for SettingsLib
Change-Id: I9669bd511dd3c4b7f59b8600a5af65d9837af015
2015-11-04 15:02:55 -05:00
Geoff Mendal
8221b05981 Import translations. DO NOT MERGE
Change-Id: I8adfd4484cde6c32adab9b939cb7698370e2ec6f
Auto-generated-cl: translation import
2015-11-04 06:56:32 -08:00
Mitchell Wills
c856be1653 Merge "Don't cache ScanResults in WifiTracker if there is no SSID" 2015-11-04 00:58:16 +00:00
Tony Mantler
5fb3a7f666 Move more Accessibility stuff to SettingsLib
Change-Id: I081bffea6ff4da455f9040fc3f45198d1de85d26
2015-10-30 16:20:25 -07:00
Geoff Mendal
fbe4ba4fc9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25390707
Change-Id: Ief847dab50086dfc1c38d5a3fd50c5971efc7238
2015-10-30 14:30:15 -07:00
Tony Mantler
5789c3e24f Move AccessibilityUtils to SettingsLib
Change-Id: I99eeb79b03e56a0150a8dbebc3cc5c292ad9bcfe
2015-10-29 13:17:06 -07:00
Tony Mantler
65cd70b7fb Merge "Move some app methods to AppUtils in SettingsLib" 2015-10-26 18:39:15 +00:00
Tony Mantler
ed03f451c8 Move some app methods to AppUtils in SettingsLib
Change-Id: If9a1e997ff92957905039cd13143e26324eb7e92
2015-10-21 11:30:49 -07:00
Michael Wright
244f776855 resolve merge conflicts of f013c3f111 to master.
Change-Id: I2045187f8fa948a1733cb9a2cdc0a69ae97b5907
2015-10-20 23:48:55 +01:00
Michael Wright
b959ce872c resolve merge conflicts of 57a5cba606 to cw-e-dev.
am: bab2b42445

* commit 'bab2b424453e556a2e7bb9470d70673793dd82df':
  Add SystemUI component to watch for keyboard attachment.
2015-10-20 17:23:23 +00:00
Michael Wright
bab2b42445 resolve merge conflicts of 57a5cba606 to cw-e-dev.
Change-Id: Ib43f0cf0b285c9799239658859af735279f87fff
2015-10-20 17:06:27 +01:00
Michael Wright
9209c9cd9a Add SystemUI component to watch for keyboard attachment.
Add a new SystemUI component to watch for keyboard attachment /
detachment. If the config specifies the name of a keyboard that is
packaged with the device, then SystemUI will ask the user if they
would like to enable BT (if disabled) and then attempt to pair to the
device.

Bug: 22876536
Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
2015-10-12 15:21:37 +01:00
Tony Mantler
e43853ce2f Move DreamBackend to SettingsLib
Change-Id: Ib0251d48ba287eeca4141eb54b0b0273ef636e63
2015-10-09 14:37:32 -07:00
Baligh Uddin
9a2979b27d Import translations. DO NOT MERGE
Change-Id: Iac1fe89a00d3f4e30b20e8f07c48a0845ce41d81
Auto-generated-cl: translation import
2015-09-24 19:36:51 -07:00
Baligh Uddin
effcd9f4ac Import translations. DO NOT MERGE
Change-Id: I45408b967515cd8e66d922507127a392dacbdf4f
Auto-generated-cl: translation import
2015-09-22 21:42:46 -07:00
Baligh Uddin
41cb1b8aac Import translations. DO NOT MERGE
Change-Id: I5b25c04b472923b1334df87d5a271d3164694d20
Auto-generated-cl: translation import
2015-09-18 10:18:08 -07:00
Chris Manton
85f7f790df am e8c98b77: am f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
* commit 'e8c98b77854d39606960b0b6f5b5332c61e9a3d9':
  Add capability to ignore carrier entitlement checks
2015-09-14 17:54:26 +00:00
Chris Manton
f40365f17a am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
* commit 'ae0b7ca9ad2e21853af06a68c02da068f748f8bd':
  Add capability to ignore carrier entitlement checks
2015-09-14 17:39:31 +00:00
Chris Manton
ae0b7ca9ad am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
* commit 'c9180528452d67359618eda4aa2edd39112c83ca':
  Add capability to ignore carrier entitlement checks
2015-09-14 17:29:09 +00:00
Chris Manton
1ba0fa04de Add capability to ignore carrier entitlement checks
Boolean to check to ignore carrier entitlement check.
API to follow later.

Carrier configuration manager has an option
to override tethering entitlement checks.
Ignore entitlement checks if overridden by
the carrier configuration flag.

bug:23712807

Change-Id: I6c9b3b9994279e592db304debef54809338fe9cf
2015-09-11 14:33:22 -07:00
Sanket Padawe
0775a98e20 Fix AP showing up forever in Settings after shutting down that AP.
Bug: 22129483
Change-Id: I1f6abdb0b80c2d2fec5a7dc4026b5230cd29af7b
2015-09-11 01:06:48 +00:00
Andre Eisenbach
fef961ccbb am b013468b: am f1ed1fdb: am 1b03cd8e: am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev
* commit 'b013468beca1ec7397c22111b187ffecb20f070a':
  Bluetooth: Fix profile auto-connect logic
2015-09-04 14:28:39 +00:00
Andre Eisenbach
f1ed1fdb45 am 1b03cd8e: am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev
* commit '1b03cd8e1b79280e892f81709ced42b990a8905d':
  Bluetooth: Fix profile auto-connect logic
2015-09-04 00:28:09 +00:00
Andre Eisenbach
1b03cd8e1b am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev
* commit '1d5e2e291d4c3fbcde1425af74644a24c94e1577':
  Bluetooth: Fix profile auto-connect logic
2015-09-04 00:12:33 +00:00