159954 Commits

Author SHA1 Message Date
Lorenzo Colitti
8dbcd43497 am 09dff843: Merge "Only try to fetch time from NTP if there is a network connection." into lmp-mr1-dev
* commit '09dff843b8ed402564c4c89d7e1cabceb715e458':
  Only try to fetch time from NTP if there is a network connection.
2015-01-26 22:23:45 +00:00
Yorke Lee
6d4cc5c816 am 8df7f436: Merge "Update system-api for new getLine1Number() method." into lmp-mr1-dev
* commit '8df7f4368425f24f46bb8605dd3d1e3d3b97e6ad':
  Update system-api for new getLine1Number() method.
2015-01-26 22:14:45 +00:00
Sarah Maddox
be44afaad7 am f31eb13b: am 83f40802: am 95226c98: am 912cacde: Merge "docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API." into lmp-docs
* commit 'f31eb13b8ef5dbdf82955ca52eb74cd6fc5cff47':
  docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API.
2015-01-26 22:14:26 +00:00
Lorenzo Colitti
09dff843b8 Merge "Only try to fetch time from NTP if there is a network connection." into lmp-mr1-dev 2015-01-26 22:08:19 +00:00
Craig Mautner
3c878f26c9 resolved conflicts for merge of 8995e140 to lmp-mr1-wfc-dev
Change-Id: I21ffad3247858dc072964a5fa4beb609010c2b1a
2015-01-26 13:57:19 -08:00
Yorke Lee
8df7f43684 Merge "Update system-api for new getLine1Number() method." into lmp-mr1-dev 2015-01-26 21:47:56 +00:00
Nancy Chen
c059271ca4 Update system-api for new getLine1Number() method.
Add new method in TelecomManager to system-current.txt.

Bug: 19087382
Change-Id: Id6db61fed45301cc1a15ded6e362d7858f24a273
2015-01-26 12:35:35 -08:00
Sarah Maddox
f31eb13b8e am 83f40802: am 95226c98: am 912cacde: Merge "docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API." into lmp-docs
* commit '83f40802148e922d78222ffc56377534b8ee92be':
  docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API.
2015-01-26 20:35:06 +00:00
Sarah Maddox
83f4080214 am 95226c98: am 912cacde: Merge "docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API." into lmp-docs
* commit '95226c981b4e14a900f7c4224534d370aeb1ca60':
  docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API.
2015-01-26 20:30:14 +00:00
Sarah Maddox
95226c981b am 912cacde: Merge "docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API." into lmp-docs
* commit '912cacde8619d28ea1d4a3f6ebf30be1c8a5d47a':
  docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API.
2015-01-26 20:23:25 +00:00
Sarah Maddox
912cacde86 Merge "docs: Adds new geocoding sample to Location API training. Uses GoogleApiClient to connect to Play services. Uses the latest Fused Location Provider API." into lmp-docs 2015-01-26 20:16:37 +00:00
Craig Mautner
8995e140ad Merge "Add reason string for bringing stack to front" into lmp-mr1-dev 2015-01-26 20:05:45 +00:00
Ricardo Cervera
7d4bc61e08 am 9c9dc80a: am df07000e: am d064ce7e: am edb7a442: Merge "docs: Wear DataItem listener improvements" into lmp-docs
* commit '9c9dc80a08d7a9c9f8b6619b7b856c113a94b938':
  docs: Wear DataItem listener improvements
2015-01-26 19:56:45 +00:00
Nancy Chen
c3fe8d416a am 42d45bb1: Merge "Add method in TelecomManager to return line1Number for a PhoneAccount." into lmp-mr1-dev
* commit '42d45bb1e3e71c19cd977b799ab0fd983e40647f':
  Add method in TelecomManager to return line1Number for a PhoneAccount.
2015-01-26 19:52:01 +00:00
Ricardo Cervera
9c9dc80a08 am df07000e: am d064ce7e: am edb7a442: Merge "docs: Wear DataItem listener improvements" into lmp-docs
* commit 'df07000e356dee84de9f4dcdd22a15e26e32f684':
  docs: Wear DataItem listener improvements
2015-01-26 19:51:53 +00:00
Ricardo Cervera
df07000e35 am d064ce7e: am edb7a442: Merge "docs: Wear DataItem listener improvements" into lmp-docs
* commit 'd064ce7e8b4ef75c07b99d466c85ea55ef2f4163':
  docs: Wear DataItem listener improvements
2015-01-26 19:45:33 +00:00
Nancy Chen
42d45bb1e3 Merge "Add method in TelecomManager to return line1Number for a PhoneAccount." into lmp-mr1-dev 2015-01-26 19:44:54 +00:00
Ricardo Cervera
d064ce7e8b am edb7a442: Merge "docs: Wear DataItem listener improvements" into lmp-docs
* commit 'edb7a4420bfbf3e7f9efc06718b45c56bbd3dc2d':
  docs: Wear DataItem listener improvements
2015-01-26 19:39:48 +00:00
Ricardo Cervera
edb7a4420b Merge "docs: Wear DataItem listener improvements" into lmp-docs 2015-01-26 19:32:13 +00:00
Alan Viverette
176c37f7ea am de8d2840: Merge "Prevent drag-to-open from cycling pressed state, propagate hotspot" into lmp-mr1-dev
* commit 'de8d28405538128fad55e34dc7c74fd49a909ae6':
  Prevent drag-to-open from cycling pressed state, propagate hotspot
2015-01-26 19:22:47 +00:00
Alan Viverette
de8d284055 Merge "Prevent drag-to-open from cycling pressed state, propagate hotspot" into lmp-mr1-dev 2015-01-26 19:16:46 +00:00
Sarah Maddox
ed91b0dd7e docs: Adds new geocoding sample to Location API training.
Uses GoogleApiClient to connect to Play services.
Uses the latest Fused Location Provider API.

Bug: 17109822
Change-Id: I96dbf348e9ae41dbbeb075e6540620afc304d3b6
2015-01-26 11:06:55 -08:00
Mike Lockwood
6692e6f36f am 2b144a16: Merge "MTP: Fix partial implementation of 5 new audio specific properties" into lmp-mr1-dev
* commit '2b144a16f6ecb054f35a4836e92be39365688fe0':
  MTP: Fix partial implementation of 5 new audio specific properties
2015-01-26 18:58:23 +00:00
Craig Mautner
299f960e5e Add reason string for bringing stack to front
Additional debug and useful information.
Also removed am_resume_activity verbosity and refactored method to
eliminate unused parameter.

For bug 17721767.

Change-Id: Ie1c0652a38a0c6ae6db27a52a9e5da29e252e300
2015-01-26 10:57:11 -08:00
Mike Lockwood
2b144a16f6 Merge "MTP: Fix partial implementation of 5 new audio specific properties" into lmp-mr1-dev 2015-01-26 18:52:40 +00:00
Alan Viverette
2563095d2d Prevent drag-to-open from cycling pressed state, propagate hotspot
Avoids unnecessary changes to pressed state. Ensures hotspot propagates
to both the list view and the list item view since both receive the
pressed state.

Bug: 19134424
Change-Id: If2496ce2042e43fe1c1efd527eeca10dc53e1f4a
2015-01-26 10:24:08 -08:00
Bryce Lee
35dafda1b0 Make THEATER_MODE_ON setting a system api.
This will allow an unbundled home to continue accessing this property.

Bug: 19043538
Change-Id: I845a8726e617ca7b6f7f7347a0ac5aa0620d6658
2015-01-26 08:21:10 -08:00
Geoff Mendal
ee580a5d60 am d57adbbc: (-s ours) Import translations. DO NOT MERGE
* commit 'd57adbbc4f2f8ccd8fc4a4de0508a8243ace3866':
  Import translations. DO NOT MERGE
2015-01-26 14:23:50 +00:00
Geoff Mendal
d57adbbc4f Import translations. DO NOT MERGE
Change-Id: If6bad1c33638d232a6f320637ac0e13c8a67adfb
Auto-generated-cl: translation import
2015-01-26 08:16:38 -06:00
Alexandra Gherghina
0288d16111 am abaf69dd: Merge "Update badge assets" into lmp-mr1-dev
* commit 'abaf69dd195aa55c151ab16730e9511539ed46e5':
  Update badge assets
2015-01-26 12:05:39 +00:00
Alexandra Gherghina
abaf69dd19 Merge "Update badge assets" into lmp-mr1-dev 2015-01-26 11:59:22 +00:00
Benjamin Franz
c4578f066c am 6d16b861: Merge "Avoid NullPointerException if createUser returns null" into lmp-mr1-dev
* commit '6d16b8614ac4c5aa44304e6fdcb9ed8aeec675fd':
  Avoid NullPointerException if createUser returns null
2015-01-26 10:54:53 +00:00
Benjamin Franz
6d16b8614a Merge "Avoid NullPointerException if createUser returns null" into lmp-mr1-dev 2015-01-26 10:49:48 +00:00
Zoltan Szatmary-Ban
a92b2ea05b am 414ea81e: Merge "Ensure notifications are sent when locking/unlocking location share" into lmp-mr1-dev
* commit '414ea81ea364d7b961cbfb885c30729595e3a7b2':
  Ensure notifications are sent when locking/unlocking location share
2015-01-26 10:40:53 +00:00
Alexandra Gherghina
b5d34f3b6a Update badge assets
Bug: 18829152
Change-Id: I26936dc528b8d56e37eb02fa04177ad3f225b007
2015-01-26 10:40:34 +00:00
Zoltan Szatmary-Ban
414ea81ea3 Merge "Ensure notifications are sent when locking/unlocking location share" into lmp-mr1-dev 2015-01-26 10:36:14 +00:00
Lorenzo Colitti
351bfad339 Make NetworkMonitor less aggressive on broken networks.
1. Retry validation 3 times instead of 10.

Reducing the number of retries speeds up dead network detection
and saves battery on networks that are don't have Internet access
(or block our connectivity checks).

Retrying 10 times is overkill. Each attempt sends 5-10 DNS
requests, waits 10 seconds to transfer only 3 or 4 packets, and
can last up to tens of seconds. Also, in MR1 we now retry every
10 minutes.

2. Make periodic revalidation only try once.

When validating periodically to see if a non-working connection
is working again, only make one attempt every 10 minutes, not
three.

3. Rename "retries" to "attempts" to make things a bit clearer.

Bug: 18922569
Bug: 18869302
Change-Id: I5f70b420c4f1bac0c33bb9ab6afb322902cdac4b
2015-01-26 17:30:22 +09:00
Lorenzo Colitti
df59053588 Only try to fetch time from NTP if there is a network connection.
Bug: 19046107
Change-Id: Iff647ee33fe0eb9b530d7baad636d32b386e4fa7
2015-01-26 15:24:07 +09:00
Nancy Chen
5cf27847b0 Add method in TelecomManager to return line1Number for a PhoneAccount.
Since we do not want to expose SubIds in the app layer, we need a
wrapper to extra the subId from a PhoneAccount and return the
value of TelephonyManager#line1Number.
Also update error strings to be more consistent.

Bug: 19087382
Change-Id: Ie5a474d45336921d1007b36a4d26cd4da68f8b91
2015-01-24 23:32:02 -08:00
vandwalle
8650c03560 aggressively blacklist WifiConfiguration for the purpose of switching network
In cases where networks are not properly configured, WiFi might tries to repeatdly switch from one network to a bad network, or might try to roam and renew DHCP which can fail. In KK, WiFi autojoin would try other networks (by cycling to network it sees) and end up associated to a "good" network. In L release even thought WiFi might pick a good network it will still repeatedly try to switch to what it thinks is a better network and fail, thus annoying the user whose connection becomes unstable. This CL tries to remember networks that have seen multiple DHCP or auth failure in the past and for those networks it disable roaming temporarily. That is, if wifi is not associated to any network, it will tries to join a network aggressively, however if wifi is currently associated to a network, it will not try to switch to a new network if that new network has seen multiple failure in the past. The maximum blacklist time is set to 2 days for now.
    An example of such situation is:
    - user has multiple SSID at home, one of which is incorrectly configured with a wrong password
    - broken DHCP situation (potentially: multiple servers on home network, broken implementation incorrecting NAK'ing DHCP requests but properly serving DHCP offer...)
Bug:18792931

Change-Id: I332a9cebdc19be2e00b455205d386fcffcb70b29
2015-01-23 18:35:27 -08:00
Svetoslav
c0198ce12e Add a missing file to print spooler resources
bug:19120603

Change-Id: Id33c77696a47ef48b0095fd8289f92d7bba71f19
2015-01-23 17:50:31 -08:00
Svetoslav
a1ac6a0925 Accessibility: Ignore overlapping siblings when computing a click location
To click a view we were computing a click location by ignoring overlapping
views that are actionable. However, detection whether a view is actionable
is not always possible as the view may handle touch events directly. This
leads to unhandled edge cases. We are taking a conservative approach and
ignore all overlapping siblings regardless if clickable. This is also has
limitations but hopefully less frequent edge cases.

bug:18889611

Change-Id: Icea0b7b3e2d4ed53e50e01cb6a99b880be560b14
2015-01-23 16:13:43 -08:00
Sanket Padawe
7ad08da3f4 am c309688b: Merge "Remove entries from config_tether_apndata for some carriers." into lmp-mr1-dev
* commit 'c309688bfaf204c892635783aad96443a41fdffb':
  Remove entries from config_tether_apndata for some carriers.
2015-01-24 00:04:44 +00:00
Sanket Padawe
c309688bfa Merge "Remove entries from config_tether_apndata for some carriers." into lmp-mr1-dev 2015-01-23 23:54:47 +00:00
Svetoslav
1285ab5f87 am 10a053e4: Accessibility: Sometimes cannot interact with nav bar items.
* commit '10a053e474e2a566b49a1e4c9e2ec4c8cc0013bd':
  Accessibility: Sometimes cannot interact with nav bar items.
2015-01-23 23:33:36 +00:00
Svetoslav
10a053e474 Accessibility: Sometimes cannot interact with nav bar items.
If there is a window with the accessibility focus we want to click
on the accessibility focused view in this window. The logic to
compute the bounds of the window was using the wrong window id,
hence getting an incorrect result. As a consequence in some cases
the user could not click on accessiiblity focused controls in the
nav bar.

bug:18889611

Change-Id: I89aee3ae2ffe27fe29819049c287a7155154c65b
2015-01-23 15:05:20 -08:00
Svetoslav
d1c2c278ff am 42a13865: Merge "Accessibilty: Cannot click on views in a scrollable container covered by the toolbar." into lmp-mr1-dev
* commit '42a13865a4527aaf907a6ced96f726b49b2cbbed':
  Accessibilty: Cannot click on views in a scrollable container covered by the toolbar.
2015-01-23 22:26:11 +00:00
Svetoslav
42a13865a4 Merge "Accessibilty: Cannot click on views in a scrollable container covered by the toolbar." into lmp-mr1-dev 2015-01-23 22:22:18 +00:00
Jinsuk Kim
8b18ee72d9 am 56c119ab: Merge "CEC: Handles initiation of press-and-hold correctly" into lmp-mr1-dev
* commit '56c119abde951146951e3887796eb64ee05d25d3':
  CEC: Handles initiation of press-and-hold correctly
2015-01-23 21:26:01 +00:00
Jinsuk Kim
56c119abde Merge "CEC: Handles initiation of press-and-hold correctly" into lmp-mr1-dev 2015-01-23 21:10:38 +00:00