251920 Commits

Author SHA1 Message Date
TreeHugger Robot
4efd735a76 Merge "Add test coverage for background networks." into nyc-mr1-dev 2016-09-14 03:17:47 +00:00
TreeHugger Robot
febb0200ba Merge "OtaDexoptService: Add tron logging" into nyc-mr1-dev 2016-09-14 01:21:24 +00:00
Andreas Gampe
77cc8172d3 OtaDexoptService: Add tron logging
Log key properties of A/B OTA dexopting.

Bug: 31458900
Change-Id: Iba1e5a40ff8b4998d4d876800ee59940f01afb6e
2016-09-13 16:16:36 -07:00
Phil Weaver
82f050f736 Merge "Strengthen language about use of a11y API." into nyc-mr1-dev 2016-09-13 22:17:03 +00:00
TreeHugger Robot
510a91a9e6 Merge "Improved logging." into nyc-mr1-dev 2016-09-13 21:44:03 +00:00
John Reck
d1b55a555d Ensure munmap matches mmap am: aa394dd42c am: 068403a842 am: d073e28853 am: c9cf811b50 am: b74a6f60d1
am: bd56ed1485

Change-Id: I5447edc0cb13c6a1b02d09e26b49dec4c205fac2
2016-09-13 20:51:48 +00:00
John Reck
bd56ed1485 Ensure munmap matches mmap am: aa394dd42c am: 068403a842 am: d073e28853 am: c9cf811b50
am: b74a6f60d1

Change-Id: I76f992080c2a7be15bf2518f2d914cb82f3aa30f
2016-09-13 20:47:01 +00:00
John Reck
b74a6f60d1 Ensure munmap matches mmap am: aa394dd42c am: 068403a842 am: d073e28853
am: c9cf811b50

Change-Id: I83e3e2d4279c8075283fb0f54521ef015ef9c596
2016-09-13 20:35:19 +00:00
John Reck
c9cf811b50 Ensure munmap matches mmap am: aa394dd42c am: 068403a842
am: d073e28853

Change-Id: I2acfdb7c623470b678b59228dfdc3aafaf2b3179
2016-09-13 20:28:18 +00:00
John Reck
d073e28853 Ensure munmap matches mmap am: aa394dd42c
am: 068403a842

Change-Id: I527102b95f239c307cdea2a8bb6dcc6d032e21be
2016-09-13 20:21:50 +00:00
TreeHugger Robot
03cf624491 Merge "Immediately deliver new intent to paused activity in docked stack" into nyc-mr1-dev 2016-09-13 20:16:15 +00:00
TreeHugger Robot
c4cea1e0d6 Merge "Extend apn retry configurability to more apn types" into nyc-mr1-dev 2016-09-13 20:14:50 +00:00
John Reck
068403a842 Ensure munmap matches mmap
am: aa394dd42c

Change-Id: I80dbf9a859693cbd90aa472b04ae58d4d081d735
2016-09-13 20:13:27 +00:00
Jason Monk
6ee69994fd Merge "Start Neko job service after reboot (if needed)" into nyc-mr1-dev 2016-09-13 20:07:40 +00:00
Andrew Sapperstein
b04d40e026 Merge "Use DeviceDefault.Settings.Dark for systemui_theme" into nyc-mr1-dev 2016-09-13 19:32:33 +00:00
TreeHugger Robot
6b3965a5df Merge "enable instant apps" into nyc-mr1-dev 2016-09-13 19:22:33 +00:00
Wale Ogunwale
826c706156 Immediately deliver new intent to paused activity in docked stack
When the docked stack is minimized and we are unminimizing it
due to a request to start it's currently paused top activity,
it is possible for the new intent not do be delivered immediately
because it isn't resumed due to another activity been launched in
the system (Recents) which is resumed instead. So, the user won't
see the effect of the new intent until they touch the docked activity
causing it to get the new intent and resume.
We now deliver new intents to the top activity in the docked stack if
it is in a minimized state. Then on the client side we temporarily
resume the activity and pause it again to guarantee onResume is called
after onNewIntent.

Bug: 31371093
Change-Id: Ib1764ccf5efc9d6498ce6cc8a34236c79fc07dad
2016-09-13 10:38:30 -07:00
TreeHugger Robot
843c66d466 Merge "Add optional logging to investigate URI grants." into nyc-mr1-dev 2016-09-13 17:29:52 +00:00
Jack Yu
c1f0e87051 Extend apn retry configurability to more apn types
Extend apn retry configurability to more apn types so
we can control each APN retry behavior. Made mms apn retry
pattern same as default apn.

bug: 31381899
Change-Id: I070d0da97fb1844a1b4e9a6f1eff8d37995cec50
2016-09-13 16:49:59 +00:00
Andreas Gampe
67ce5f0c90 Merge changes from topic 'installd_delete_odex' into nyc-mr1-dev
* changes:
  OtaDexopt: Downgrade apps when low on space
  Installer: Support delete_odex command
2016-09-13 16:37:49 +00:00
TreeHugger Robot
886a45acfe Merge "ApfFilter: take into account IPv4 subnet prefix" into nyc-mr1-dev 2016-09-13 16:28:26 +00:00
Geoffrey Pitsch
5b1702e554 Merge "Support multichannel sounds in bootanim" into nyc-mr1-dev 2016-09-13 16:21:22 +00:00
Lorenzo Colitti
17a01a907e Merge "Add a NET_CAPABILITY_FOREGROUND capability." into nyc-mr1-dev 2016-09-13 16:09:06 +00:00
Jeff Sharkey
c0ee776046 Add optional logging to investigate URI grants.
Developers are seeing odd reports of URI permission grants
disappearing unexpectedly.  This optional logging can be enabled to
show exactly where granting/revoking is happening.

Bug: 30978171
Change-Id: I8a5a976f42d4b71270e69c5597dfcb5d89e18848
(cherry picked from commit d16b1258b2bda629477c73db1d3699a22d90f725)
2016-09-13 15:57:40 +00:00
Geoffrey Pitsch
221330f9f9 Merge "Prevent notifyScreenshotError() from calling twice" into nyc-mr1-dev 2016-09-13 15:39:43 +00:00
TreeHugger Robot
e0ca918e23 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-13 08:34:39 +00:00
TreeHugger Robot
ae8a460985 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-13 08:32:30 +00:00
Joe Fernandez
16bf502278 Merge "docs: September 2016 Dashboard update" into nyc-dev am: 691e49b47c
am: 953099ad8a

Change-Id: I65e0cebad994f3c45e0e2450b608e39c8be744f9
2016-09-13 06:05:44 +00:00
Joe Fernandez
b25727b0dc docs: September 2016 Dashboard update am: 639fd11067
am: a775866de1

Change-Id: I60f3f3ce921114e29b3344f55a7cff59ce265f68
2016-09-13 06:05:40 +00:00
Kevin Hufnagle
cb67204170 Merge "docs: Added note about permission/feature changes with network/GPS." into nyc-dev am: 5251c874cc
am: e60e4cb1ca

Change-Id: I7f044f259c1a4530d97b6aef658daf02bc38ef46
2016-09-13 06:05:37 +00:00
Kevin Hufnagle
de9c94d7fb docs: Added note about permission/feature changes with network/GPS. am: 0090727d95
am: 46ba93917e

Change-Id: I52e75d056595dd0c5e5a31651884db64749133ac
2016-09-13 06:05:35 +00:00
Joe Fernandez
953099ad8a Merge "docs: September 2016 Dashboard update" into nyc-dev
am: 691e49b47c

Change-Id: I2be68e001ccb681f483079ff4c99852b4d8666ad
2016-09-13 05:58:01 +00:00
Joe Fernandez
a775866de1 docs: September 2016 Dashboard update
am: 639fd11067

Change-Id: Icd4933353757e4ff40ee2dda1e8cbd2197455029
2016-09-13 05:57:55 +00:00
Kevin Hufnagle
e60e4cb1ca Merge "docs: Added note about permission/feature changes with network/GPS." into nyc-dev
am: 5251c874cc

Change-Id: I942e60605deb353f5adbed27a93edfd048af1f05
2016-09-13 05:57:43 +00:00
Kevin Hufnagle
46ba93917e docs: Added note about permission/feature changes with network/GPS.
am: 0090727d95

Change-Id: I5dcb85abc91bdba70cc0c966146dfcafe91aa897
2016-09-13 05:57:38 +00:00
TreeHugger Robot
691e49b47c Merge "docs: September 2016 Dashboard update" into nyc-dev 2016-09-13 05:52:22 +00:00
Kevin Hufnagle
5251c874cc Merge "docs: Added note about permission/feature changes with network/GPS." into nyc-dev 2016-09-13 05:49:30 +00:00
Joe Fernandez
639fd11067 docs: September 2016 Dashboard update
Change-Id: I55b5e4d64ec6ff3275a616169fe159b2dfd6c91f
2016-09-12 21:32:47 -07:00
Bill Yi
b60dfc2ac1 Import translations. DO NOT MERGE
Change-Id: I01291d5d8896be638e0f655c0e6c40ac7e4b89f6
Auto-generated-cl: translation import
2016-09-12 20:52:37 -07:00
TreeHugger Robot
f7c2ba5481 Merge "ApfFilter: more precise IPv4 broadcast filter" into nyc-mr1-dev 2016-09-13 03:47:36 +00:00
Bill Yi
e879add49c Import translations. DO NOT MERGE
Change-Id: I2372e02f4e3c9d422cc5e24cbff6358d6b27a5f4
Auto-generated-cl: translation import
2016-09-12 20:44:19 -07:00
TreeHugger Robot
46de5f4917 Merge "Have WakeupMessage call Handler#dispatchMessage()" into nyc-mr1-dev 2016-09-13 03:25:39 +00:00
Lorenzo Colitti
e14d49ad59 Add test coverage for background networks.
Bug: 23113288
Change-Id: Idad62f5f025825f99007ccf7b20f530dc3cf6daa
2016-09-13 12:02:13 +09:00
Lorenzo Colitti
f0e9a33435 Add a NET_CAPABILITY_FOREGROUND capability.
Bug: 23113288
Change-Id: I90cb9ffb5751f0d9ec822933f37680c401e49966
2016-09-13 12:02:13 +09:00
TreeHugger Robot
2c64636a24 Merge changes I8604c9d0,I436a3770,If89fd6d2,I6bad3e75 into nyc-mr1-dev
* changes:
  Escalate HeadsUp when dreaming starts
  Overflow number supports RTL layout
  Update contentDescription of the DismissView when locale changes
  Fixes a crash with a renderthread camera animation
2016-09-13 01:56:37 +00:00
Hugo Benichi
7d21eaedad ApfFilter: take into account IPv4 subnet prefix
When IPv4 is provisioned on an interface with Apf capabilities,
ApfFilter will only keep track of the raw ipv4 address, with no
information about the subnet or prefix length.

This patch adds the missing prefix length information to ApfFilter. This
allows to calculate the subnet broadcast ipv4 address for more
precise ipv4 broadcast filtering when the multicast lock is not held.

Bug: 30231088

Change-Id: Iebaec040703647c4ced30bb585be173e97a1fae5
2016-09-13 10:54:47 +09:00
Hugo Benichi
0dc1d31470 ApfFilter: more precise IPv4 broadcast filter
This patch refines the Apf IPv4 filter for interfaces with Apf
capabilities to drop packets when:
  - the multicast lock is not held
  - the packet is an IPv4 packet
  - the packet is not a DHCP packet addressed to us
  - the packet is L2 broadcast, or IPv4 multicast, or IPv4 broadcast
      - caveat: subnet broadcast address is not checked.

This allows to drop IPv4 broadcast packets whose MAC destination
address is not the L2 broadcast address but the current address of the
interface. Such packets can be received on network that rewrite L2
addresses and can put significant pressure on battery by waking up the
phone unnecessarily.

Bug: 30231088

Change-Id: I8b1785fc5ceadaa1f2881765983e502135dcbc46
2016-09-13 10:54:42 +09:00
Sergei Vasilinetc
e3a9785386 Merge changes Ic26b25e7,I653571d6 into nyc-mr1-dev
* changes:
  HWUI: track upload & recent usage in font cache
  HWUI: calculate used memory in FontCache for gfxinfo
2016-09-13 01:41:12 +00:00
Jean-Michel Trivi
156a29f981 Merge "Fix Zen mode for different notification usage types" into nyc-mr1-dev 2016-09-13 00:46:52 +00:00
Jean-Michel Trivi
d9daf12b33 Merge "Audio focus: clean up FocusRequester early" into nyc-mr1-dev 2016-09-13 00:44:57 +00:00