OSDN Git Service

android-x86/frameworks-base.git
7 years agoFix potential loophole where ime adjust notification is not sent
Chong Zhang [Fri, 1 Jul 2016 21:48:11 +0000 (14:48 -0700)]
Fix potential loophole where ime adjust notification is not sent

- If IME adjust is cleared due to minimizing status change, make
  do a performSurfacePlacement to get UPDATE_DOCKED_STACK_DIVIDER

- If IME adjust status is changed while waiting for drawn for the
  resizing mode, only report the latest status not the stale status

- Add some verbose log to help debugging

bug: 29313747
Change-Id: I0c561d2ad294dba1a966ffa7205f1315b599a4bb

7 years agoMerge "Start shortcuts as if publisher apps did using PendingIntent" into nyc-mr1-dev
Makoto Onuki [Thu, 30 Jun 2016 21:45:03 +0000 (21:45 +0000)]
Merge "Start shortcuts as if publisher apps did using PendingIntent" into nyc-mr1-dev

7 years agoMerge "Add counters for the automatic storage manager." into nyc-mr1-dev
Daniel Nishi [Thu, 30 Jun 2016 21:17:17 +0000 (21:17 +0000)]
Merge "Add counters for the automatic storage manager." into nyc-mr1-dev

7 years agoMerge "Optimized onUnlockUser" into nyc-mr1-dev
Fyodor Kupolov [Thu, 30 Jun 2016 21:06:12 +0000 (21:06 +0000)]
Merge "Optimized onUnlockUser" into nyc-mr1-dev

7 years agoOptimized onUnlockUser
Fyodor Kupolov [Wed, 29 Jun 2016 21:39:19 +0000 (14:39 -0700)]
Optimized onUnlockUser

Offload work to the handler thread to allow AM to proceed with unlocking
the user.

Also optimized generatePackageInfo by not computing GIDs when GET_GIDS
flag is not set.

Bug: 29619732
Change-Id: Ib9dea53ea0d74038baeed67f21077305da61e46e

7 years agoMerge "SysUI: Mantain non-weak reference to listener" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 20:41:51 +0000 (20:41 +0000)]
Merge "SysUI: Mantain non-weak reference to listener" into nyc-mr1-dev

7 years agoMerge "Update the volume panel to use a system color." into nyc-mr1-dev
Andrew Sapperstein [Thu, 30 Jun 2016 20:26:34 +0000 (20:26 +0000)]
Merge "Update the volume panel to use a system color." into nyc-mr1-dev

7 years agoMerge "Status bar blacklist: fix items resetting" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 20:16:53 +0000 (20:16 +0000)]
Merge "Status bar blacklist: fix items resetting" into nyc-mr1-dev

7 years agoMerge "Revert "Remove InputContentInfo#requestPermission()"" into nyc-mr1-dev
Yohei Yukawa [Thu, 30 Jun 2016 19:30:19 +0000 (19:30 +0000)]
Merge "Revert "Remove InputContentInfo#requestPermission()"" into nyc-mr1-dev

7 years agoRevert "Remove InputContentInfo#requestPermission()"
Yohei Yukawa [Thu, 30 Jun 2016 19:24:04 +0000 (19:24 +0000)]
Revert "Remove InputContentInfo#requestPermission()"

This reverts commit c4b8f36de5523366e354fc01b6cba81ad72f6423.

Having InputContentInfo#requestPermission() should not hurt developers,
but we can polish the behavior in a subsequent CL without changing
the API.

Bug: 29450031
Bug: 29892936
Change-Id: I1b43c19417b643d0c269af860db2d309b73a90d5

7 years agoSysUI: Mantain non-weak reference to listener
Jason Monk [Thu, 30 Jun 2016 19:04:11 +0000 (15:04 -0400)]
SysUI: Mantain non-weak reference to listener

Change-Id: Ie11dfac0af90d65baed40f593eb4ffe7ab0cc0e3
Fixes: 29778623

7 years agoStatus bar blacklist: fix items resetting
Jason Monk [Thu, 30 Jun 2016 18:37:10 +0000 (14:37 -0400)]
Status bar blacklist: fix items resetting

Change-Id: Id3f287ce3b0fed4e3a7d0abff5fce025f16d9a1e
Fixes: 27600379

7 years agoMerge "QS: Layout and animation refinement" into nyc-mr1-dev
Jason Monk [Thu, 30 Jun 2016 18:36:01 +0000 (18:36 +0000)]
Merge "QS: Layout and animation refinement" into nyc-mr1-dev

7 years agoQS: Layout and animation refinement
Jason Monk [Thu, 30 Jun 2016 18:22:42 +0000 (14:22 -0400)]
QS: Layout and animation refinement

Bug: 29315917
Fixes: 29879993
Change-Id: I0153e81ff9cd81022958a1baf3531ac5ca6b4144

7 years agoMerge "Support trimmed images in BootAnimation" into nyc-mr1-dev
Geoffrey Pitsch [Thu, 30 Jun 2016 18:24:15 +0000 (18:24 +0000)]
Merge "Support trimmed images in BootAnimation" into nyc-mr1-dev

7 years agoMerge "Remove InputContentInfo#requestPermission()" into nyc-mr1-dev
Yohei Yukawa [Thu, 30 Jun 2016 18:21:46 +0000 (18:21 +0000)]
Merge "Remove InputContentInfo#requestPermission()" into nyc-mr1-dev

7 years agoMerge "Add a new API to improve VR thread scheduling." into nyc-mr1-dev
Tim Murray [Thu, 30 Jun 2016 18:05:56 +0000 (18:05 +0000)]
Merge "Add a new API to improve VR thread scheduling." into nyc-mr1-dev

7 years agoMerge \"Only clip PopupWindow in the vertical direction\" into nyc-dev
Alan Viverette [Thu, 30 Jun 2016 17:35:52 +0000 (17:35 +0000)]
Merge \"Only clip PopupWindow in the vertical direction\" into nyc-dev
am: 4b736ea56d

Change-Id: Idf5aedfb2f19595b8317c7dca1640ff0caf31696

7 years agoMerge "Only clip PopupWindow in the vertical direction" into nyc-dev
Alan Viverette [Thu, 30 Jun 2016 17:24:21 +0000 (17:24 +0000)]
Merge "Only clip PopupWindow in the vertical direction" into nyc-dev

7 years agoMerge \"Exclude children from excess space distribution when using largest child...
Alan Viverette [Thu, 30 Jun 2016 17:19:41 +0000 (17:19 +0000)]
Merge \"Exclude children from excess space distribution when using largest child\" into nyc-dev
am: 7705d5fd6e

Change-Id: I747b4dab5bfc31b2461b445d1d983ac95a05693d

7 years agoOnly clip PopupWindow in the vertical direction
Alan Viverette [Thu, 30 Jun 2016 17:17:26 +0000 (13:17 -0400)]
Only clip PopupWindow in the vertical direction

Bug: 29865091
Change-Id: Ic4e3b50571034f341aff2c2fbf2c349342622448

7 years agoUpdate the volume panel to use a system color.
Andrew Sapperstein [Thu, 30 Jun 2016 17:14:53 +0000 (10:14 -0700)]
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

7 years agoMerge "Exclude children from excess space distribution when using largest child"...
TreeHugger Robot [Thu, 30 Jun 2016 17:07:06 +0000 (17:07 +0000)]
Merge "Exclude children from excess space distribution when using largest child" into nyc-dev

7 years agoAdd a new API to improve VR thread scheduling.
Srinath Sridharan [Tue, 28 Jun 2016 01:13:47 +0000 (18:13 -0700)]
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

7 years agoRemove InputContentInfo#requestPermission()
Yohei Yukawa [Thu, 30 Jun 2016 16:32:54 +0000 (09:32 -0700)]
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

7 years agoExclude children from excess space distribution when using largest child
Alan Viverette [Thu, 30 Jun 2016 15:15:36 +0000 (11:15 -0400)]
Exclude children from excess space distribution when using largest child

Preserves API 23 behavior.

Bug: 29872769
Change-Id: I514cde81dcca4d78238f407251805cced4c0bea1

7 years agoMerge changes I65784f35,Ib6937335 into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 14:28:37 +0000 (14:28 +0000)]
Merge changes I65784f35,Ib6937335 into nyc-mr1-dev

* changes:
  Add detailed test coverage for lingering.
  Add more test coverage for requests and callbacks.

7 years agoMerge changes Ia28652e0,Id2eaafdc,I9c4c8286 into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 14:03:20 +0000 (14:03 +0000)]
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

7 years agoAdd detailed test coverage for lingering.
Lorenzo Colitti [Tue, 28 Jun 2016 12:28:28 +0000 (21:28 +0900)]
Add detailed test coverage for lingering.

Bug: 23113288
Change-Id: I65784f3589378d97f3c824e600f21f361be8741e

7 years agoRecord events for RA option lifetimes
Hugo Benichi [Thu, 23 Jun 2016 01:41:30 +0000 (10:41 +0900)]
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

7 years agoLog RA listening statistics
Hugo Benichi [Tue, 7 Jun 2016 06:35:16 +0000 (15:35 +0900)]
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

7 years agoLog events at APF program generation
Hugo Benichi [Thu, 2 Jun 2016 02:20:27 +0000 (11:20 +0900)]
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

7 years agoMerge "Add missing setPulling() method in Connection." into nyc-mr1-dev
Tyler Gunn [Thu, 30 Jun 2016 06:20:41 +0000 (06:20 +0000)]
Merge "Add missing setPulling() method in Connection." into nyc-mr1-dev

7 years agoMerge "Make provisioning timeout apply to both IPv4 and IPv6" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 05:41:51 +0000 (05:41 +0000)]
Merge "Make provisioning timeout apply to both IPv4 and IPv6" into nyc-mr1-dev

7 years agoAdd missing setPulling() method in Connection.
Tyler Gunn [Thu, 30 Jun 2016 05:35:45 +0000 (22:35 -0700)]
Add missing setPulling() method in Connection.

Change-Id: I89c720b2fa3d3e1304766ba3779410b233a04c6a

7 years agoMerge "MediaResourceMonitor: Send broadcast to current users" into nyc-mr1-dev
Jaewan Kim [Thu, 30 Jun 2016 05:21:26 +0000 (05:21 +0000)]
Merge "MediaResourceMonitor: Send broadcast to current users" into nyc-mr1-dev

7 years agoAdd more test coverage for requests and callbacks.
Lorenzo Colitti [Mon, 27 Jun 2016 07:44:07 +0000 (16:44 +0900)]
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

7 years agoMake provisioning timeout apply to both IPv4 and IPv6
Erik Kline [Tue, 28 Jun 2016 02:40:07 +0000 (11:40 +0900)]
Make provisioning timeout apply to both IPv4 and IPv6

Bug: 29449295
Change-Id: I743533ca61914c11163ba5c5767a365def3a5461

7 years agoMerge \"Import translations. DO NOT MERGE\" into nyc-dev
Bill Yi [Thu, 30 Jun 2016 03:23:51 +0000 (03:23 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: bb07b0b372  -s ours

Change-Id: I3b4ad7bc8c424e58daddb1d5f16d338f35636eb6

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 03:17:17 +0000 (03:17 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 03:16:58 +0000 (03:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 30 Jun 2016 03:14:05 +0000 (03:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 03:10:08 +0000 (03:10 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Add conference call label." into nyc-mr1-dev
Tyler Gunn [Thu, 30 Jun 2016 02:36:07 +0000 (02:36 +0000)]
Merge "Add conference call label." into nyc-mr1-dev

7 years agoMerge \"Fix Windows NDK labeling.\" into nyc-dev
Dan Albert [Thu, 30 Jun 2016 02:08:07 +0000 (02:08 +0000)]
Merge \"Fix Windows NDK labeling.\" into nyc-dev
am: d1364cf0f1

Change-Id: I7d3b6ec3ee5580a06a04928218512d030e033d26

7 years agoMerge "Fix Windows NDK labeling." into nyc-dev
TreeHugger Robot [Thu, 30 Jun 2016 01:59:33 +0000 (01:59 +0000)]
Merge "Fix Windows NDK labeling." into nyc-dev

7 years agoStart shortcuts as if publisher apps did using PendingIntent
Makoto Onuki [Fri, 24 Jun 2016 22:17:44 +0000 (15:17 -0700)]
Start shortcuts as if publisher apps did using PendingIntent

Bug 29639471

Change-Id: I2aad115669b431cbea785ba92040b1958117ab47

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Jun 2016 01:29:55 +0000 (18:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic2eaafc229acdeea507de300797046cd1b5d6bae
Auto-generated-cl: translation import

7 years agoMerge "Handle post-record-time clipPath scaling" into nyc-mr1-dev
Chris Craik [Thu, 30 Jun 2016 01:14:34 +0000 (01:14 +0000)]
Merge "Handle post-record-time clipPath scaling" into nyc-mr1-dev

7 years agoMerge "Fix NativeDaemonConnectorException issue accessing null object" into nyc-mr1-dev
TreeHugger Robot [Thu, 30 Jun 2016 00:20:50 +0000 (00:20 +0000)]
Merge "Fix NativeDaemonConnectorException issue accessing null object" into nyc-mr1-dev

7 years agoMerge "PBAP: Allow wearable handsfree device for PBAP Access" into nyc-mr1-dev
TreeHugger Robot [Wed, 29 Jun 2016 23:59:08 +0000 (23:59 +0000)]
Merge "PBAP: Allow wearable handsfree device for PBAP Access" into nyc-mr1-dev

7 years agoMerge "Fix updateShortcuts() with icons" into nyc-mr1-dev
Makoto Onuki [Wed, 29 Jun 2016 23:55:01 +0000 (23:55 +0000)]
Merge "Fix updateShortcuts() with icons" into nyc-mr1-dev

7 years agoMerge "Move getRecentTasks() to ParceledListSlice. am: 479212cf50" into nyc-mr1-dev
Android Build Merger (Role) [Wed, 29 Jun 2016 23:54:26 +0000 (23:54 +0000)]
Merge "Move getRecentTasks() to ParceledListSlice. am: 479212cf50" into nyc-mr1-dev

7 years agoMove getRecentTasks() to ParceledListSlice.
Jeff Sharkey [Wed, 29 Jun 2016 23:53:58 +0000 (23:53 +0000)]
Move getRecentTasks() to ParceledListSlice.
am: 479212cf50

Change-Id: Ic76f624396117d922aac60eac9c2caae4f1d7e27

7 years agoMerge "Address API council feedback (continued)" into nyc-mr1-dev
Makoto Onuki [Wed, 29 Jun 2016 23:53:49 +0000 (23:53 +0000)]
Merge "Address API council feedback (continued)" into nyc-mr1-dev

7 years agoMerge "API cleanups per API review." into nyc-mr1-dev
Tyler Gunn [Wed, 29 Jun 2016 23:42:08 +0000 (23:42 +0000)]
Merge "API cleanups per API review." into nyc-mr1-dev

7 years agoMerge "Apply animation in relayout invisible the old way" into nyc-mr1-dev
Chong Zhang [Wed, 29 Jun 2016 23:25:13 +0000 (23:25 +0000)]
Merge "Apply animation in relayout invisible the old way" into nyc-mr1-dev

7 years agoHandle post-record-time clipPath scaling
Chris Craik [Wed, 29 Jun 2016 23:22:27 +0000 (16:22 -0700)]
Handle post-record-time clipPath scaling

bug:29547149

Change-Id: I268210b240d2d8e08638114715f9622840fc02f7

7 years agoApply animation in relayout invisible the old way
Chong Zhang [Wed, 29 Jun 2016 23:13:22 +0000 (16:13 -0700)]
Apply animation in relayout invisible the old way

We skipped the applyAnimationLocked to work around a problem with
cached animation loading, however app could be animating without
window animator (only app animator) in which case we shouldn't do
the relayout for potential focus change.

Revert to the old behavior and let applyAnimationLocked decide if
we want to relayout for focus change.

bug: 29874980
Change-Id: I6fdfbe41cbafd7017477c0eda9b4fd26e66c517f

7 years agoMerge "Updated colour theme for watch devices." into nyc-mr1-dev
Michael Kwan [Wed, 29 Jun 2016 23:11:28 +0000 (23:11 +0000)]
Merge "Updated colour theme for watch devices." into nyc-mr1-dev

7 years agoMerge "Handle invalid empty args to createAutoBrightnessSpline" into nyc-mr1-dev
Erik Wolsheimer [Wed, 29 Jun 2016 23:07:36 +0000 (23:07 +0000)]
Merge "Handle invalid empty args to createAutoBrightnessSpline" into nyc-mr1-dev

7 years agoPBAP: Allow wearable handsfree device for PBAP Access
Hemant Gupta [Tue, 7 Jun 2016 07:23:59 +0000 (12:53 +0530)]
PBAP: Allow wearable handsfree device for PBAP Access

Allow wearable handsfree device for PBAP Access

Usecase:
1) Pair and connect with Jabra Stealth Headset.
2) Go out of range so that connection gets disconnected
3) Come back in range, so that reconnection happens.

Observation:
Headset fails to reconnect with DUT in some scenarios.

Root Cause:
Headset does not send page request to DUT in some scenarios
leading to reconnection issues. This propabaly happens because
Headset fails to connect PBAP in previous iteration so it goes
in bad state, and does not page after Link Supervision Timeout.

Current Settings code only allows Audio_video_Handsfree Class of
devices to have PBAP Access permission, and set Rejected Permission
for other Audio Device Class. This headset being Wearable Class (0x0404)
is set as PBAP Rejected, and all PBAP connection to DUT from this remote
device are rejected leading to issue of bad state in headset.

Fix:
Allow wearable class audio devices to also have PBAP access permission.

Bug: 29219133
Change-Id: I18d8412cbeb86c18610091898d1c79f26d3d808d

7 years agoAddress API council feedback (continued)
Makoto Onuki [Wed, 29 Jun 2016 20:37:43 +0000 (13:37 -0700)]
Address API council feedback (continued)

Got a second set of comments.

Bug 29757958

Change-Id: Ib3a3ffd28bc3e35eb0218b0819870eb5c6ebadb5

7 years agoMove getRecentTasks() to ParceledListSlice.
Jeff Sharkey [Wed, 29 Jun 2016 22:00:55 +0000 (16:00 -0600)]
Move getRecentTasks() to ParceledListSlice.

In extreme cases the list of recent tasks can grow beyond the size
of a single Binder transaction.  This change moves over to
ParceledListSlice which handles chunking any large results.

Bug: 29635557
Change-Id: Iaf1227234f5f8c9451f73a6a5c1dc89f2067f05f

7 years agoDocs: Links added to pages for permissions and configuration activity am: cdfe5e4f55...
Bert McMeen [Wed, 29 Jun 2016 22:08:37 +0000 (22:08 +0000)]
Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f55 am: 7a6494aeaf
am: ae5a14bc99

Change-Id: I9b4cbe91c44194d764550b63ddd94b6e2e19f808

7 years agoDocs: Links added to pages for permissions and configuration activity am: cdfe5e4f55
Bert McMeen [Wed, 29 Jun 2016 21:59:31 +0000 (21:59 +0000)]
Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f55
am: 7a6494aeaf

Change-Id: I907cf418d0a53827a7448135b0d712f41d0024e8

7 years agoMerge "Added a virtual interface for Video Telephony call usage counting" into nyc...
Jack Yu [Wed, 29 Jun 2016 21:57:35 +0000 (21:57 +0000)]
Merge "Added a virtual interface for Video Telephony call usage counting" into nyc-mr1-dev

7 years agoDocs: Links added to pages for permissions and configuration activity
Bert McMeen [Wed, 29 Jun 2016 21:54:42 +0000 (21:54 +0000)]
Docs: Links added to pages for permissions and configuration activity
am: cdfe5e4f55

Change-Id: I3e9cde3cb24c5c779059c4708b144a2376c9616c

7 years agoMerge "Use the Deletion Helper when system storage is low." into nyc-mr1-dev
Daniel Nishi [Wed, 29 Jun 2016 21:37:05 +0000 (21:37 +0000)]
Merge "Use the Deletion Helper when system storage is low." into nyc-mr1-dev

7 years agoHandle invalid empty args to createAutoBrightnessSpline
Erik Wolsheimer [Tue, 28 Jun 2016 21:51:07 +0000 (14:51 -0700)]
Handle invalid empty args to createAutoBrightnessSpline

BUG: 18572096
Change-Id: I9dfc2215994a4f7a70ef6bdd04b620917e4ec034

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 29 Jun 2016 21:20:30 +0000 (14:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0766139e2f58cfcb8ffc6fb24b1400deaaf313c6
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 29 Jun 2016 21:01:12 +0000 (14:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia7b82097692eb156683716b945de49f2fa2bd784
Auto-generated-cl: translation import

7 years agoFix NativeDaemonConnectorException issue accessing null object
Daniel 2 Olofsson [Thu, 17 Jan 2013 11:05:34 +0000 (12:05 +0100)]
Fix NativeDaemonConnectorException issue accessing null object

When function getCode is called on
NativeDaemonConnectorException object it may throw exception
due to mEvent object not being set for certain constructors.
Fix is to return a default error code as expected if mEvent
object has not been set rather than trying to call
mEvent.getCode().

Change-Id: Ia8aa23deb8871bb4df73096cc489b685a1765f16

7 years agoMerge \"Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API...
Dianne Hackborn [Wed, 29 Jun 2016 20:50:52 +0000 (20:50 +0000)]
Merge \"Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API\" into nyc-dev
am: 205bc262ce

Change-Id: I3d7186834028be519b512fbcb2240d2ff692f564

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 29 Jun 2016 20:45:21 +0000 (13:45 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idf8c50b91f8f1f39e6dd41a310f529aaeb5ae36c
Auto-generated-cl: translation import

7 years agoMerge "Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API...
Dianne Hackborn [Wed, 29 Jun 2016 20:38:17 +0000 (20:38 +0000)]
Merge "Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API" into nyc-dev

7 years agoMerge \"docs: Edits to Instant Apps FAQs, index page.\" into nyc-dev
Eric Schmidt [Wed, 29 Jun 2016 20:38:04 +0000 (20:38 +0000)]
Merge \"docs: Edits to Instant Apps FAQs, index page.\" into nyc-dev
am: 7a4d857c45

Change-Id: Id3978a63dc42beb9a92ecde46e1b09e4c32c74c0

7 years agoMerge "Remove framework dependencies on Support* demos" into nyc-mr1-dev
TreeHugger Robot [Wed, 29 Jun 2016 20:31:02 +0000 (20:31 +0000)]
Merge "Remove framework dependencies on Support* demos" into nyc-mr1-dev

7 years agoMerge "wifi: allow config of default+verbose ring buffers" into nyc-mr1-dev
Mukesh Agrawal [Wed, 29 Jun 2016 20:28:40 +0000 (20:28 +0000)]
Merge "wifi: allow config of default+verbose ring buffers" into nyc-mr1-dev

7 years agoMerge "docs: Edits to Instant Apps FAQs, index page." into nyc-dev
David Friedman [Wed, 29 Jun 2016 20:26:41 +0000 (20:26 +0000)]
Merge "docs: Edits to Instant Apps FAQs, index page." into nyc-dev

7 years agoMerge "cp preopted files from B partition during PM init." into nyc-mr1-dev
Alex Light [Wed, 29 Jun 2016 20:26:04 +0000 (20:26 +0000)]
Merge "cp preopted files from B partition during PM init." into nyc-mr1-dev

7 years agoMerge changes from topic 'cherrypickWifiWatchdogResetOnTrigger' into nyc-mr1-dev
Rebecca Silberstein [Wed, 29 Jun 2016 20:15:59 +0000 (20:15 +0000)]
Merge changes from topic 'cherrypickWifiWatchdogResetOnTrigger' into nyc-mr1-dev

* changes:
  DO NOT MERGE StateMachine: remove final from SendMessage
  DO NOT MERGE WifiManager: add WIFI_MODE_NO_LOCKS_HELD

7 years agoFix updateShortcuts() with icons
Makoto Onuki [Wed, 29 Jun 2016 20:10:09 +0000 (13:10 -0700)]
Fix updateShortcuts() with icons

But 29822569

Change-Id: I72a0903ccc8acffc42f40d9df7b99ed6de26b66d

7 years agoMerge \"Recents: Make sure blacklist checks the package name as well as activity...
Sid Soundararajan [Wed, 29 Jun 2016 20:13:48 +0000 (20:13 +0000)]
Merge \"Recents: Make sure blacklist checks the package name as well as activity name\" into nyc-dev
am: 10b2fee05f

Change-Id: I8b7783bbe4924437494f0ed5857ee81f574fe8b1

7 years agoMerge "Recents: Make sure blacklist checks the package name as well as activity name...
Sid Soundararajan [Wed, 29 Jun 2016 20:02:51 +0000 (20:02 +0000)]
Merge "Recents: Make sure blacklist checks the package name as well as activity name" into nyc-dev

7 years agoRecents: Make sure blacklist checks the package name as well as activity name
Sid Soundararajan [Wed, 29 Jun 2016 18:57:21 +0000 (11:57 -0700)]
Recents: Make sure blacklist checks the package name as well as activity name

BUG: 28719274
BUG: 28764678
Change-Id: Ib17d3feda8997ce5b29060bff47d51f503c868dc

7 years agoMerge "Have wallpaper target itself when dismissing keyguard with wallpaper" into...
TreeHugger Robot [Wed, 29 Jun 2016 19:29:45 +0000 (19:29 +0000)]
Merge "Have wallpaper target itself when dismissing keyguard with wallpaper" into nyc-mr1-dev

7 years agoAdded a virtual interface for Video Telephony call usage counting
Jack Yu [Wed, 22 Jun 2016 18:35:10 +0000 (11:35 -0700)]
Added a virtual interface for Video Telephony call usage counting

1. Added a virtual VT interface.
2. Qeury VT usage from telephony service.

bug: 20888836
Change-Id: I3df0c22922f8394554230b53f8ae091e17c95595

7 years agoFix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API
Dianne Hackborn [Wed, 29 Jun 2016 18:48:14 +0000 (11:48 -0700)]
Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API

Change-Id: I0034b1681158b9a010d01fb0fcbe7990d9038c1f

7 years agoAPI cleanups per API review.
Tyler Gunn [Wed, 29 Jun 2016 18:23:25 +0000 (11:23 -0700)]
API cleanups per API review.

1. removing deprecation for setExtras on Connection/Conference as these
have legitimate use-cases going forward.
2. Expanded documentation on Call.Callback class to clarify how it is
expected to be used.
3. Updated Callback#onConnectionEvent callback docs to clarify its usage.
4. Expanded Call#sendCallEvent docs to clarify expected namespacing of
call event keys and extras keys, as well as clarification about backwards
compatibility and expectations of ConnectionServices.
5. Standardized the "invoked" vs "notifies" language in the Conference
docs.
6. Clarified how Connection callbacks from Telecom should be implemented.
7. Added Bundle parameter expectations for pre-defined connection events.
8. Documented capabilities and properties toString methods.
9. Documented expectations for onCallEvent method.
10. Expanded documentation for sendConnectionEvent method to clarify
namespacing, use cases, etc.

Bug: 29759275
Bug: 29759954
Bug: 29759773
Change-Id: Ib8c983af4dbbfee68edb60937b268e2c1a9b5e64

7 years agoMerge \"Disable constant state sharing for VectorDrawable\" into nyc-dev
Alan Viverette [Wed, 29 Jun 2016 17:01:21 +0000 (17:01 +0000)]
Merge \"Disable constant state sharing for VectorDrawable\" into nyc-dev
am: f66bdf9b57

Change-Id: I0c6397987d926c35cb5486fd9d2cb22efb8d8f14

7 years agoMerge "Disable constant state sharing for VectorDrawable" into nyc-dev
Alan Viverette [Wed, 29 Jun 2016 16:54:28 +0000 (16:54 +0000)]
Merge "Disable constant state sharing for VectorDrawable" into nyc-dev

7 years agoMerge "Fix off-by-one in am start -R (repeat)" into nyc-mr1-dev
Chong Zhang [Wed, 29 Jun 2016 16:48:33 +0000 (16:48 +0000)]
Merge "Fix off-by-one in am start -R (repeat)" into nyc-mr1-dev

7 years agoMerge "Fixed race condition by using a separate counter" into nyc-mr1-dev
Fyodor Kupolov [Wed, 29 Jun 2016 15:59:47 +0000 (15:59 +0000)]
Merge "Fixed race condition by using a separate counter" into nyc-mr1-dev

7 years agoMerge "Check uid for notification policy access." into nyc-mr1-dev
Julia Reynolds [Wed, 29 Jun 2016 15:41:43 +0000 (15:41 +0000)]
Merge "Check uid for notification policy access." into nyc-mr1-dev

7 years agoDisable constant state sharing for VectorDrawable
Alan Viverette [Wed, 29 Jun 2016 15:32:13 +0000 (11:32 -0400)]
Disable constant state sharing for VectorDrawable

Bug: 29854240
Change-Id: Icc58d04ad6f471d05b085a9089893e4f7205eb7d

7 years agoMerge "An API to check if running in a demo user" into nyc-mr1-dev
Amith Yamasani [Wed, 29 Jun 2016 15:18:33 +0000 (15:18 +0000)]
Merge "An API to check if running in a demo user" into nyc-mr1-dev

7 years agoSupport trimmed images in BootAnimation
Geoffrey Pitsch [Mon, 27 Jun 2016 21:14:30 +0000 (17:14 -0400)]
Support trimmed images in BootAnimation

Each frame directory may optionally contain a `trim.txt` to specify
how the image was trimmed relative to the animation's full size.
See FORMAT.md for more details.

Bug: 29055299
Change-Id: I7a291e9a52b4bbe50a29c519f6a4d0e2cc0389d7

7 years agoCheck uid for notification policy access.
Julia Reynolds [Wed, 29 Jun 2016 12:43:00 +0000 (08:43 -0400)]
Check uid for notification policy access.

Bug: 29421441
Change-Id: Ia0a7b06112dde1c925ec3232f50bf4d90b17b5e5

7 years agoMerge "Use the first Vulkan layer path" into nyc-mr1-dev
Chia-I Wu [Wed, 29 Jun 2016 07:39:01 +0000 (07:39 +0000)]
Merge "Use the first Vulkan layer path" into nyc-mr1-dev