Commit Graph

253881 Commits

Author SHA1 Message Date
Dirk Dougherty
7ceecc61ec Doc change: remove intl/nn from collections paths. am: 240ddd735c
am: 016f01ebfe

Change-Id: I069f07c183489c07d7010b8bb0fd85ac36216671
2016-10-05 18:52:23 +00:00
Dirk Dougherty
fc7475c5b3 Merge "Doc change: remove intl/nn from collections paths." into nyc-dev
am: 794e0d3578

Change-Id: Iba00fba1609011852b4b80b589859421a0933ca2
2016-10-05 18:47:52 +00:00
Dirk Dougherty
016f01ebfe Doc change: remove intl/nn from collections paths.
am: 240ddd735c

Change-Id: I9a8a5643b68675353f7a1b10453cddd51fcebcf8
2016-10-05 18:47:48 +00:00
Dirk Dougherty
794e0d3578 Merge "Doc change: remove intl/nn from collections paths." into nyc-dev 2016-10-05 18:40:50 +00:00
Sid Soundararajan
a4a4763f58 Recents TV: Do not allow negative delay
In rare cases, the getChildCount() has a delayed update. It enters the
for loop, and then changes to return 0. This can potentially allow
a negative delay, causing a crash.

BUG: 31933255
Change-Id: Ia245edc9fca0e1712c2af5c301bac632caed1568
2016-10-05 10:30:32 -07:00
Dirk Dougherty
7f5f8b1df8 Merge "Update preview-community redirect to point at +AD." into nyc-dev am: 61d3faa52c
am: 8f8fe7df92

Change-Id: I3522d25f4259106707076d6bb8fb731d612cb372
2016-10-05 17:08:33 +00:00
Dirk Dougherty
ddd2e0442e Update preview-community redirect to point at +AD. am: 559013e711
am: 1241838fb4

Change-Id: I721f56da659031ca0ba1c96af8413b6dae97f12f
2016-10-05 17:07:44 +00:00
Dirk Dougherty
8f8fe7df92 Merge "Update preview-community redirect to point at +AD." into nyc-dev
am: 61d3faa52c

Change-Id: Ie2ae8a3d691c6b00a6d40ee98982ba8806d52047
2016-10-05 17:02:25 +00:00
Dirk Dougherty
1241838fb4 Update preview-community redirect to point at +AD.
am: 559013e711

Change-Id: I410968b7137d6378cd57cf7a4ce66aa8e3c2d7e6
2016-10-05 17:02:21 +00:00
Dirk Dougherty
61d3faa52c Merge "Update preview-community redirect to point at +AD." into nyc-dev 2016-10-05 16:52:39 +00:00
Dirk Dougherty
240ddd735c Doc change: remove intl/nn from collections paths.
Change-Id: I45c0322d39a54e2565401d11bdc56d7e8e555cd2

Bug-Id: 31940660
2016-10-05 16:49:43 +00:00
Hugo Benichi
e0ea7fecd6 Catch runtime exceptions when parsing DHCP packets
This patch adds a try catch all to DHCP packet parsing so that
DhcpClient does not choke on malformed packets, brinding down with it
the whole framework.

Test: added new unit tests catching the issue fixed in this patch.
Bug: 31850211
Change-Id: I3c50a149fed6b2cbc4f40bb4f0e5bb2b56859b44
2016-10-05 21:58:26 +09:00
TreeHugger Robot
534a17e96c Merge "Fix issue #31305336: File corrupt: too many wake locks 101" into nyc-mr1-dev 2016-10-05 03:54:13 +00:00
TreeHugger Robot
30a0f96250 Merge "Allow shell to acquire wakelock. DO NOT MERGE." into nyc-mr1-dev 2016-10-05 03:49:27 +00:00
Teng-Hui Zhu
9c555566bf Make umbra lighter when the blocker is too high and has no real umbra area.
b/31939390
Test: CTS testShadowLayout && Manual FrameworkShadow test

Change-Id: Ib0b6c4239ac8a521a827be246e912daf2ad3b885
2016-10-04 17:26:09 -07:00
Christopher Tate
eafb535072 Eliminate unnecessary object churn in job scheduler updating
The arbitrary-caller "what job is currently running?" state inspector
returns a clone of the JobStatus record for it, not a live reference
to the scheduler's active state.  That's appropriate for most cases
but when doing its own internal bookkeeping, the object churn in cloning
(especially, an unneeded clone just for purposes of comparing to some
other job!) is merely a huge waste of CPU and GC load.

So now we don't do that unnecessarily, and everything is much leaner.

Bug 31751985

Change-Id: Idacb52e9e5ca17b9e12b7ccd2fc2e1ec8b3547f6
2016-10-04 16:42:52 -07:00
Adrian Roos
0288dcc825 Ambient: Re-register all trigger sensors if one fires
Works around an issue where triggering one trigger sensor can
affect other trigger sensors. To be sure, re-register them all.

Change-Id: I4a0999275638e8a78c3c604fda6527aff0d9365a
Fixes: 31933894
2016-10-04 19:23:26 -04:00
Paul Stewart
7d25ab7b11 Merge "Tethering: check if configManager is null" into nyc-mr1-dev 2016-10-04 23:17:13 +00:00
Rebecca Silberstein
b07f140904 Tethering: check if configManager is null
Before attempting to retrieve a carrier entitlement setting, first make
sure we have a carrier config manager and if we do have a carrier config
manager, the config it holds is not null.

Bug: 31929638
Change-Id: Iee476c476cb3de109cdccbd955b7fb986dd4267b
2016-10-04 14:28:05 -07:00
Rob Carr
c65dc5529e Merge changes I99f18930,I5f6830d8 into nyc-mr1-dev
* changes:
  Prevent any rotation while seamless rotation is pending.
  Prevent triggering orientation changes until previous completes.
2016-10-04 20:58:44 +00:00
Jason Monk
3523728e77 Merge "QS: Don't set flashlight state when we don't have an id" into nyc-mr1-dev 2016-10-04 20:33:16 +00:00
Lei Yu
3fd73a645a Merge "Add "FILTER_NOT_HIDE" to filter out the apps." into nyc-mr1-dev 2016-10-04 19:51:24 +00:00
Jason Monk
ad32c550c0 QS: Don't set flashlight state when we don't have an id
Also add a dump to FlashlightController for better visibility.

Change-Id: I7e826c58598ccc18e211aaab31a2e4d039234fc1
Fixes: 31352536
2016-10-04 14:50:11 -04:00
Bill Yi
e03f970ab4 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-04 18:47:02 +00:00
Bill Yi
f22cb06b4d Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-04 18:46:43 +00:00
Jorim Jaggi
a92006ef6c Merge "Reload state when user unlocks" into nyc-mr1-dev 2016-10-04 09:55:32 +00:00
Lorenzo Colitti
80f15e3b4c Merge changes from topic 'avoidbadwifi' into nyc-dr1-dev
am: 291af5c568

Change-Id: Idf4004f1cfb6b1b4c53d699f98faff5a55fc7b90
2016-10-04 07:50:20 +00:00
Lorenzo Colitti
d2ad8ece53 Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
am: f11ee9f592

Change-Id: I3090ac5fe7dabf2ee19120bd0ab566edaa95ddb6
2016-10-04 07:50:14 +00:00
Lorenzo Colitti
fdac9b608b Slightly simplify IpManager#compareProvisioning.
am: b77b775213

Change-Id: I31ab37d3fc39baf73fa14ef3b54b781b60347b41
2016-10-04 07:49:23 +00:00
Erik Kline
d719d95139 Conditionally accept loss of on-link IPv6 DNS servers
am: 5b437d6ff9

Change-Id: Ie32080d7918dea0ae89bd3e0987cb1c8f121e0bd
2016-10-04 07:48:46 +00:00
Erik Kline
23cdacbec6 Refactor "avoid bad wifi" logic into a utility class
am: 065ab6ee40

Change-Id: I4a6ad3791ac551b0d64b37dd4e2afef1e8e8ee10
2016-10-04 07:47:52 +00:00
Lorenzo Colitti
291af5c568 Merge changes from topic 'avoidbadwifi' into nyc-dr1-dev
* changes:
  Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
  Slightly simplify IpManager#compareProvisioning.
  Conditionally accept loss of on-link IPv6 DNS servers
  Refactor "avoid bad wifi" logic into a utility class
2016-10-04 07:42:09 +00:00
Lorenzo Colitti
f11ee9f592 Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
Bug: 31827713
Change-Id: I81471f2f3e6c1c4d7bdfebc9dd321bb9d76ad0b6
2016-10-04 15:07:44 +09:00
Lorenzo Colitti
b77b775213 Slightly simplify IpManager#compareProvisioning.
Bug: 31827713
Change-Id: Icc1c8d98feef14c972891451fd94f855d78de43e
2016-10-04 15:07:44 +09:00
Erik Kline
5b437d6ff9 Conditionally accept loss of on-link IPv6 DNS servers
Permit this if and only if we're not "avoiding bad wifi" in general.

Bug: 31827713
Change-Id: I0874ec2d1d09e913ccdbe9f6e178090400808a04
2016-10-04 15:07:43 +09:00
Erik Kline
065ab6ee40 Refactor "avoid bad wifi" logic into a utility class
Additionally, add this utility class to IpManager for compatibility
verification.  A follow-on CL will make use of IpManager's local
AvoidBadWifiTracker.

Bug: 31827713
Change-Id: If8c56c3f8076d6a5157ea180e361bbdadc2bc1dd
2016-10-04 15:07:42 +09:00
Bill Yi
cf2df3bb6e Import translations. DO NOT MERGE
Change-Id: I47285d5faa82286b22f8bc79198791225deb3923
Auto-generated-cl: translation import
2016-10-03 19:33:30 -07:00
Bill Yi
49baec862b Import translations. DO NOT MERGE
Change-Id: Ia2140f6189db3fbc9e00ea6bc3c33b8d2c90396e
Auto-generated-cl: translation import
2016-10-03 19:21:30 -07:00
Robert Carr
b14d4abc16 Prevent any rotation while seamless rotation is pending.
Various errors occur when using even the normal rotation animation while
seamless rotation is pending. So we just defer the rotation like we do
for the normal animation. Since we are doing this, we need to track
when seamless rotation finishes so we can perform a post-rotate
rotation if required.

Bug: 31749456
Change-Id: I99f189306c690ce868496460e9ca7dcc95e4ccdc
2016-10-03 19:14:35 -07:00
Robert Carr
45f6a2718a Prevent triggering orientation changes until previous completes.
Currently we defer rotation while the screen rotation animation
is animating, but there is an additional interval after the animation
completes where the display may not yet be unfrozen and attempting to
rotate again will not work.

Bug: 31749456
Change-Id: I5f6830d85fb326d5032b597cbed1b767f0b627f5
2016-10-03 18:51:37 -07:00
Wei Liu
898468657e Allow shell to acquire wakelock. DO NOT MERGE.
BUG: 31828706
BUG 30832947

Change-Id: I348ab5642ca625b4700ec63f72414729d574da5e
(cherry picked from commit 6e500010b1)
2016-10-03 17:43:22 -07:00
jackqdyulei
4bf191ca75 Add "FILTER_NOT_HIDE" to filter out the apps.
The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted"
by the carrier. So when user insert a specific sim card, these apps
disapper in settings > apps totally unless user enable them.

Bug: 31823872
Test: Manual
Change-Id: I62ec13806d70f68e6cd3cbd014e7513cda36358c
2016-10-03 17:14:28 -07:00
Dianne Hackborn
cb99a72e62 Fix issue #31305336: File corrupt: too many wake locks 101
The limit is MAX_WAKELOCKS_PER_UID+1, since OverflowArrayMap
will add one more to contain the overflow.

Change-Id: I53004582daa0c405427308816728f2c1d2bef40d
2016-10-03 17:00:02 -07:00
Doris Liu
8d4c87b0bf Merge "Restrict AVD and VD parsing to the current element instead of the whole document" into nyc-mr1-dev 2016-10-03 23:28:54 +00:00
Tenghui Zhu
99224b311c Merge "Update JavaDoc about animatable on VectorDrawable" into nyc-mr1-dev 2016-10-03 22:53:45 +00:00
Adam Lesinski
68ec3695d0 Merge "Fix thread race caused double free issue." into nyc-mr1-dev 2016-10-03 21:36:49 +00:00
Doris Liu
1f859716a8 Restrict AVD and VD parsing to the current element instead of the whole document
This CL changes the AVD xml parsing to parsing only within the current
element, which prevents AVD parsing from always skipping to the end of
the doucment. So things that are defined after AVD in the same document
can be picked up by the xml parser.

The same fix has been applied to VD as well.

BUG: 31865175
Test: Manually following comment #1 in the bug above

Change-Id: I4ebdce1eb2e92d6f6e2c37caed9607253d24602f
2016-10-03 21:32:11 +00:00
Bert McMeen
20cf00152d Docs: Wear preview 3 - tweaks to gradle snippet am: 70c6411a10
am: 19404c6f93

Change-Id: I05c3ee4ee575afc6214a44bbe4a5094287ce3c48
2016-10-03 21:21:20 +00:00
Bert McMeen
19404c6f93 Docs: Wear preview 3 - tweaks to gradle snippet
am: 70c6411a10

Change-Id: I823d703c307a6ea51b149cac3b6b2864dbc44511
2016-10-03 21:15:42 +00:00
Chris Tate
ee28c8c22c Merge "Explicitly close FD binder parameters in backup/restore API calls" into nyc-mr1-dev 2016-10-03 21:06:22 +00:00