Commit Graph

253881 Commits

Author SHA1 Message Date
Jason Monk
536a1a2ae7 Merge "QS: Layout and animation refinement" into nyc-mr1-dev 2016-06-30 18:36:02 +00:00
Jason Monk
b46059a1d4 QS: Layout and animation refinement
Bug: 29315917
Fixes: 29879993
Change-Id: I0153e81ff9cd81022958a1baf3531ac5ca6b4144
2016-06-30 14:27:44 -04:00
Geoffrey Pitsch
656b9db5fb Merge "Support trimmed images in BootAnimation" into nyc-mr1-dev 2016-06-30 18:24:16 +00:00
Yohei Yukawa
c80c64a97b Merge "Remove InputContentInfo#requestPermission()" into nyc-mr1-dev 2016-06-30 18:21:48 +00:00
Tim Murray
5e261441d3 Merge "Add a new API to improve VR thread scheduling." into nyc-mr1-dev 2016-06-30 18:05:57 +00:00
Philip P. Moltmann
2eae8eb7e2 Prevent PrintRegistry callbacks when finishing
Previously these callbacks could happen while we clean up the print
preview controller. Then these callbacks called in destroyed and cleaned
up modules.

Fixes: 29874802
Change-Id: I5d8497e3364b97a33a837f8e3e825e5d254592f9
2016-06-30 17:38:06 +00:00
Alan Viverette
a2beb44834 Merge \"Only clip PopupWindow in the vertical direction\" into nyc-dev
am: 4b736ea56d

Change-Id: Idf5aedfb2f19595b8317c7dca1640ff0caf31696
2016-06-30 17:35:52 +00:00
Alan Viverette
4b736ea56d Merge "Only clip PopupWindow in the vertical direction" into nyc-dev 2016-06-30 17:24:22 +00:00
Alan Viverette
650cc68f10 Merge \"Exclude children from excess space distribution when using largest child\" into nyc-dev
am: 7705d5fd6e

Change-Id: I747b4dab5bfc31b2461b445d1d983ac95a05693d
2016-06-30 17:19:41 +00:00
Alan Viverette
9705fa0602 Only clip PopupWindow in the vertical direction
Bug: 29865091
Change-Id: Ic4e3b50571034f341aff2c2fbf2c349342622448
2016-06-30 13:17:26 -04:00
Jason Monk
64600cf6b1 Pre-setup restrictions
- Prevent external tiles from system apps
 - Disable help

Bug: 29194585
Change-Id: I92da498110db49f7a523d6f775f191c4b52a4ad6
2016-06-30 13:15:48 -04:00
Andrew Sapperstein
c10b4dc90c Update the volume panel to use a system color.
Removes all hardcoded usages of blue_grey_200 and replaces
them with the use of one color resource that's defined in the
framework.

Change-Id: Ic6450f8ec03c3d9cbf915fa5de6f1184bf64266e
Fixes: 29574243
2016-06-30 10:14:53 -07:00
TreeHugger Robot
7705d5fd6e Merge "Exclude children from excess space distribution when using largest child" into nyc-dev 2016-06-30 17:07:07 +00:00
Srinath Sridharan
e535a5827b Add a new API to improve VR thread scheduling.
Adds a new API that enables device-specific scheduler optimizations for
latency-sensitive VR threads.

BUG: 29163534
Change-Id: I58d7be0eb266eca452c804cd07004784fb7daf2b
2016-06-30 10:03:46 -07:00
Yohei Yukawa
c4b8f36de5 Remove InputContentInfo#requestPermission()
It turns out that requiring editor authors to call
InputContentInfo#requestPermission() as needed is just confusing and can
cause compatibility issues, because if an editor author forgot to call
that method then there would be no way for IME developers to prevent
permission denial except for relaxing the default permission of the
ContentProvider just because of such an application. This is not what we
want to see.

My conclusion is that the system should automatically call
InputContentInfo#requestPermission() (or do any equivalent operation)
when InputConnection#INPUT_CONTENT_GRANT_READ_URI_PERMISSION is
specified, like we have done in Context#startActivity().

With this CL, the system automatically grants a temporary URI permission
to the target application when the IME calls
InputConnection#commitContent() with
InputConnection#INPUT_CONTENT_GRANT_READ_URI_PERMISSION, and the
temporary permission will be revoked by any of the following events:
 - InputContentInfo#releasePermission() is explicitly called by the
   target application.
 - The target application returned false in
   InputConnection#commitContent().
 - All the InputContentInfo instances copied from the original one are
   GC-ed.

Bug: 29450031
Bug: 29892936
Change-Id: I37fb744e4d3d1c59177fb0a9be4ef5c325c9a39f
2016-06-30 09:32:54 -07:00
Teng-Hui Zhu
4f1acfb5f5 Mutate the drawable if a valid state change happen
In another word, create another cached bitmap, when the current VectorDrawable
will look differently when state changed.

b/29870392

Change-Id: I7a5ef91091e547a930368286defc7ab96aeb9471
2016-06-30 16:30:02 +00:00
Alan Viverette
070b22bdee Exclude children from excess space distribution when using largest child
Preserves API 23 behavior.

Bug: 29872769
Change-Id: I514cde81dcca4d78238f407251805cced4c0bea1
2016-06-30 11:15:36 -04:00
TreeHugger Robot
74f7f2ec0d Merge changes I65784f35,Ib6937335 into nyc-mr1-dev
* changes:
  Add detailed test coverage for lingering.
  Add more test coverage for requests and callbacks.
2016-06-30 14:28:38 +00:00
TreeHugger Robot
f5e3481951 Merge changes Ia28652e0,Id2eaafdc,I9c4c8286 into nyc-mr1-dev
* changes:
  Record events for RA option lifetimes
  Log RA listening statistics
  Log events at APF program generation
2016-06-30 14:03:22 +00:00
Lorenzo Colitti
7369d8d1b6 Add detailed test coverage for lingering.
Bug: 23113288
Change-Id: I65784f3589378d97f3c824e600f21f361be8741e
2016-06-30 21:42:17 +09:00
Chris Wren
a801d40531 add neko metrics
Bug: 29878060
Change-Id: I0b1c7fdcb6bd065c3f31147894cca90f110f0213
2016-06-30 08:06:53 -04:00
Hugo Benichi
cfbf7414a1 Record events for RA option lifetimes
This patch defines a new android.net.metrics.RaEvent class carrying
lifetime values contained in RA packets. RaEvent are recorded when
ApfFilter processes a new RA for which there is no match.

Example:
ConnectivityMetricsEvent(15:39:39.808, 0, 0): RaEvent(lifetimes: router=3600s, prefix_valid=2592000s, prefix_preferred=604800s, route_info=-1s, dnssl=-1s, rdnss=3600s)

Change-Id: Ia28652e03ed442d5f2a686ef5b3fafbcb77c503a
2016-06-30 18:26:39 +09:00
Hugo Benichi
647c86d70a Log RA listening statistics
This patch adds a new ApfStats event class that counts RA packet
reception statistics on the RA listener thread of ApfFilter and reports
the maximum program size advertised by hardware.

Statistics are gathered for the lifetime of a network with APF
capabilities and uploaded at network teardown when the listener thread
exits.

Example event:
ConnectivityMetricsEvent(15:44:23.741, 0, 0): ApfStats(284945ms 2048B RA: 2 received, 0 matching, 0 ignored, 0 expired, 0 parse errors, 2 program updates)

Bug: 28204408
Change-Id: Id2eaafdca97f61152a4b66d06061c971bc0aba4c
2016-06-30 18:26:33 +09:00
Hugo Benichi
4fc3ee5be2 Log events at APF program generation
Example:
ConnectivityMetricsEvent(15:24:52.018, 0, 0): ApfProgramEvent(0/0 RAs 121B forever FLAG_MULTICAST_FILTER_ON)
ConnectivityMetricsEvent(15:24:53.036, 0, 0): ApfProgramEvent(1/1 RAs 334B 600s)
ConnectivityMetricsEvent(15:24:53.590, 0, 0): ApfProgramEvent(1/1 RAs 360B 600s FLAG_MULTICAST_FILTER_ON, FLAG_HAS_IPV4_ADDRESS)
ConnectivityMetricsEvent(15:24:58.157, 0, 0): ApfProgramEvent(1/1 RAs 294B 599s FLAG_HAS_IPV4_ADDRESS)

Bug: 28204408
Change-Id: I9c4c82861cf42eb2c7e7bf5471f05e8ff2fc560c
2016-06-30 18:21:09 +09:00
Tyler Gunn
089e99ee4d Merge "Add missing setPulling() method in Connection." into nyc-mr1-dev 2016-06-30 06:20:42 +00:00
David Friedman
24df239047 Docs: Add page about threads to the upcoming DAC Performance site area.
Change-Id: Id82ff4c1c16aee262fbcd3e9f9528fc08fb5dfd5
But: 29338526
2016-06-29 23:07:45 -07:00
David Friedman
741a8c16c7 Docs: Launch-time performance doc for upcoming Performance section on DAC.
Bug: 29234219
Change-Id: I14a56f93b0f14142c10fef37d6f07754e65b6308
2016-06-29 23:04:57 -07:00
TreeHugger Robot
ce7ff88bc2 Merge "Make provisioning timeout apply to both IPv4 and IPv6" into nyc-mr1-dev 2016-06-30 05:41:53 +00:00
Tyler Gunn
c242ceb406 Add missing setPulling() method in Connection.
Change-Id: I89c720b2fa3d3e1304766ba3779410b233a04c6a
2016-06-29 22:35:45 -07:00
Jaewan Kim
7f4f52cb4c Merge "MediaResourceMonitor: Send broadcast to current users" into nyc-mr1-dev 2016-06-30 05:21:27 +00:00
Lorenzo Colitti
6ee0a92ca0 Add more test coverage for requests and callbacks.
1. Support multiple callbacks in TestNetworkCallback. This is
   necessary to test situations where multiple callbacks are
   generated by the same event (e.g., CALLBACK_LOSING on cell
   with CALLBACK_AVAILABLE on wifi when wifi connects), which is
   necessary to test callback order. So far this has not been
   covered because all callback testing was using per-network
   callbacks.
2. Add a benchmark test for registering NetworkRequests and for
   sending onAvailable and onLosing callbacks.

Bug: 23113288
Change-Id: Ib69373358ad766ab1bd989e864a5a51ef762c73c
2016-06-30 13:18:12 +09:00
Erik Kline
feadfda8a0 Make provisioning timeout apply to both IPv4 and IPv6
Bug: 29449295
Change-Id: I743533ca61914c11163ba5c5767a365def3a5461
2016-06-30 13:00:01 +09:00
Bill Yi
847dcc9f4e Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: bb07b0b372  -s ours

Change-Id: I3b4ad7bc8c424e58daddb1d5f16d338f35636eb6
2016-06-30 03:23:51 +00:00
TreeHugger Robot
c4376b5fae Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:17:18 +00:00
TreeHugger Robot
285c920428 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:17:00 +00:00
TreeHugger Robot
bb07b0b372 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-30 03:14:09 +00:00
TreeHugger Robot
8c9d0dbeda Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:10:09 +00:00
Tyler Gunn
9e0450a4e3 Merge "Add conference call label." into nyc-mr1-dev 2016-06-30 02:36:09 +00:00
Dan Albert
0ca5ae5208 Merge \"Fix Windows NDK labeling.\" into nyc-dev
am: d1364cf0f1

Change-Id: I7d3b6ec3ee5580a06a04928218512d030e033d26
2016-06-30 02:08:07 +00:00
TreeHugger Robot
d1364cf0f1 Merge "Fix Windows NDK labeling." into nyc-dev 2016-06-30 01:59:34 +00:00
Makoto Onuki
ea11db15bd Start shortcuts as if publisher apps did using PendingIntent
Bug 29639471

Change-Id: I2aad115669b431cbea785ba92040b1958117ab47
2016-06-29 18:43:45 -07:00
Bill Yi
fc1822bf6d Import translations. DO NOT MERGE
Change-Id: Ic2eaafc229acdeea507de300797046cd1b5d6bae
Auto-generated-cl: translation import
2016-06-29 18:29:55 -07:00
Chris Craik
a6b011e9b0 Merge "Handle post-record-time clipPath scaling" into nyc-mr1-dev 2016-06-30 01:14:36 +00:00
TreeHugger Robot
7519df9eaf Merge "Fix NativeDaemonConnectorException issue accessing null object" into nyc-mr1-dev 2016-06-30 00:20:51 +00:00
TreeHugger Robot
7f44cdd34e Merge "PBAP: Allow wearable handsfree device for PBAP Access" into nyc-mr1-dev 2016-06-29 23:59:09 +00:00
Makoto Onuki
bc8e0052fd Merge "Fix updateShortcuts() with icons" into nyc-mr1-dev 2016-06-29 23:55:03 +00:00
Android Build Merger (Role)
9f22e79625 Merge "Move getRecentTasks() to ParceledListSlice. am: 479212cf50" into nyc-mr1-dev 2016-06-29 23:54:27 +00:00
Jeff Sharkey
3362400aa5 Move getRecentTasks() to ParceledListSlice.
am: 479212cf50

Change-Id: Ic76f624396117d922aac60eac9c2caae4f1d7e27
2016-06-29 23:53:58 +00:00
Makoto Onuki
01e51e59dd Merge "Address API council feedback (continued)" into nyc-mr1-dev 2016-06-29 23:53:51 +00:00
Tyler Gunn
138a3f3ad4 Merge "API cleanups per API review." into nyc-mr1-dev 2016-06-29 23:42:10 +00:00