OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Create new BroadcastBehavior annotation."
Jeff Sharkey [Thu, 16 Mar 2017 17:06:35 +0000 (17:06 +0000)]
Merge "Create new BroadcastBehavior annotation."

7 years agoMerge "Protect against weird null case"
TreeHugger Robot [Thu, 16 Mar 2017 16:40:58 +0000 (16:40 +0000)]
Merge "Protect against weird null case"

7 years agoMerge "Better deletions"
TreeHugger Robot [Thu, 16 Mar 2017 16:20:34 +0000 (16:20 +0000)]
Merge "Better deletions"

7 years agoMerge "Update layoutlib following Changes I2500bd4c and If456266f"
Jerome Gaillard [Thu, 16 Mar 2017 16:16:12 +0000 (16:16 +0000)]
Merge "Update layoutlib following Changes I2500bd4c and If456266f"

7 years agoMerge "Set system server's class loader for wrap.system_server" am: 8d2d6bfa12 am...
tony.ys_liu [Thu, 16 Mar 2017 15:54:02 +0000 (15:54 +0000)]
Merge "Set system server's class loader for wrap.system_server" am: 8d2d6bfa12 am: 959628a32e
am: d794855fba

Change-Id: Id7f48fe3c4b1855e8e9a450c70db00f057502ad4

7 years agoMerge "Set system server's class loader for wrap.system_server" am: 8d2d6bfa12
tony.ys_liu [Thu, 16 Mar 2017 15:48:55 +0000 (15:48 +0000)]
Merge "Set system server's class loader for wrap.system_server" am: 8d2d6bfa12
am: 959628a32e

Change-Id: I88bfbb33aa1247a9b0d1d468b35621ed89abcc51

7 years agoMerge "Set system server's class loader for wrap.system_server"
tony.ys_liu [Thu, 16 Mar 2017 15:42:53 +0000 (15:42 +0000)]
Merge "Set system server's class loader for wrap.system_server"
am: 8d2d6bfa12

Change-Id: Iba4af152c9f29ad6e8c9bb1b0a1047e96d287c6b

7 years agoMerge "Set system server's class loader for wrap.system_server"
Treehugger Robot [Thu, 16 Mar 2017 15:33:32 +0000 (15:33 +0000)]
Merge "Set system server's class loader for wrap.system_server"

7 years agoMerge "Change system alert window setting proto comments"
Christine Franks [Thu, 16 Mar 2017 15:25:50 +0000 (15:25 +0000)]
Merge "Change system alert window setting proto comments"

7 years agoProtect against weird null case
Jorim Jaggi [Thu, 16 Mar 2017 14:41:40 +0000 (15:41 +0100)]
Protect against weird null case

No time to figure out what's going on, but this null check helps

Test: Dock app, make fullscreen, hammer home button
Change-Id: I3eb94a8138bc1483b1711556696bcbbaee6084e7
Bug: 36339388

7 years agoBetter deletions
Julia Reynolds [Wed, 15 Mar 2017 18:03:55 +0000 (14:03 -0400)]
Better deletions

- Allow apps to delete notification groups (which cascade to delete all
channels therein)
- Allow apps to get their groups, so they know what they might want to
delete
- Don't throw if someone tries to delete something that already doesn't
exist.

Change-Id: I5f6e25497c5da1e57b52737586e86097332f88f9
Fixes: 36245468
Fixes: 36127382
Test: runtest systemui-notification, cts

7 years agoSupport for showing deleted channel count in settings.
Julia Reynolds [Wed, 15 Mar 2017 15:36:35 +0000 (11:36 -0400)]
Support for showing deleted channel count in settings.

Bug: 36119790
Test: runtest systemui-notification
Change-Id: Ie30243314d64ded66267d0dc85cc0ad940d917f8

7 years agoMerge "Fix light status bar transition"
TreeHugger Robot [Thu, 16 Mar 2017 14:22:53 +0000 (14:22 +0000)]
Merge "Fix light status bar transition"

7 years agoRemove resource id channel/group name fields
Julia Reynolds [Mon, 13 Mar 2017 19:05:40 +0000 (15:05 -0400)]
Remove resource id channel/group name fields

Apps can listen for the LOCALE_CHANGED broadcast to
change names if needed.

Fixes: 35336590
Test: runtest systemui-notification, cts, manual
Change-Id: I62d2778f61e99200692755a6f268828a374837e6

7 years agoMerge "Fix SynthethicPassowrdManager unit tests"
TreeHugger Robot [Thu, 16 Mar 2017 13:49:14 +0000 (13:49 +0000)]
Merge "Fix SynthethicPassowrdManager unit tests"

7 years agoUpdate layoutlib following Changes I2500bd4c and If456266f
Jerome Gaillard [Thu, 16 Mar 2017 12:42:37 +0000 (12:42 +0000)]
Update layoutlib following Changes I2500bd4c and If456266f

Test: layoutlib tests
Change-Id: Idd3993bdc4010fa80a8c78ad80998bc7586322a5

7 years agoFix SynthethicPassowrdManager unit tests
Rubin Xu [Sun, 5 Mar 2017 00:47:09 +0000 (00:47 +0000)]
Fix SynthethicPassowrdManager unit tests

Mock DevicePolicyManager in the unit tests.

Bug: 34600579
Test: runtest frameworks-services -c com.android.server.SyntheticPasswordTests
Change-Id: Ieca30a74d7d9d867994e912d188231510f54e76c

7 years agoMerge "Provide ApplicationContext to Typeface for font requests"
Clara Bayarri [Thu, 16 Mar 2017 09:40:35 +0000 (09:40 +0000)]
Merge "Provide ApplicationContext to Typeface for font requests"

7 years agoMerge "Clarify release/close java docs"
TreeHugger Robot [Thu, 16 Mar 2017 07:20:11 +0000 (07:20 +0000)]
Merge "Clarify release/close java docs"

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c425416...
Elliott Hughes [Thu, 16 Mar 2017 05:50:23 +0000 (05:50 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c425416 am: 40c4210f8f
am: 5c8e3edf48

Change-Id: I4fbdbbb12b7854fcca22de2790c14d315ef44c53

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c425416
Elliott Hughes [Thu, 16 Mar 2017 05:45:47 +0000 (05:45 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c425416
am: 40c4210f8f

Change-Id: I264f92773692b2c5cdc58adac808630a31d2569f

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."
Elliott Hughes [Thu, 16 Mar 2017 05:40:47 +0000 (05:40 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."
am: ef9c425416

Change-Id: I0ea94267a6d6cfa137e77edde288632d04a71bcd

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."
Elliott Hughes [Thu, 16 Mar 2017 05:31:23 +0000 (05:31 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."

7 years agoMerge "Delete some SurfaceView support code."
Rob Carr [Thu, 16 Mar 2017 05:07:06 +0000 (05:07 +0000)]
Merge "Delete some SurfaceView support code."

7 years agoClarify release/close java docs
Jeff Tinker [Fri, 10 Mar 2017 00:10:28 +0000 (16:10 -0800)]
Clarify release/close java docs

bug:25372187
Change-Id: Ibe13943731e53efa9408b0d6bf105063f3ce4334

7 years agoMerge "Support Signal strength offset" am: 98d499877f am: a98cefc55c
Sooraj Sasindran [Thu, 16 Mar 2017 03:36:22 +0000 (03:36 +0000)]
Merge "Support Signal strength offset" am: 98d499877f am: a98cefc55c
am: 51b64c7c0a  -s ours

Change-Id: Ief288382a03c12fb1ea133a53cc9a2215eaab729

7 years agoMerge "Support Signal strength offset" am: 98d499877f
Sooraj Sasindran [Thu, 16 Mar 2017 03:24:14 +0000 (03:24 +0000)]
Merge "Support Signal strength offset" am: 98d499877f
am: a98cefc55c

Change-Id: Ib545af88fb521465f4b2b410c7eab0c9d20dd317

7 years agoMerge "Support Signal strength offset"
Sooraj Sasindran [Thu, 16 Mar 2017 03:19:37 +0000 (03:19 +0000)]
Merge "Support Signal strength offset"
am: 98d499877f

Change-Id: I3087c3f8d6f975f399dfcf8aa8dd734f78caf69f

7 years agoMerge "Support Signal strength offset"
Sooraj Sasindran [Thu, 16 Mar 2017 03:13:29 +0000 (03:13 +0000)]
Merge "Support Signal strength offset"

7 years agoMerge "Add blocking and retrying wrappers for INetd uses." am: ba8c613e16 am: 143d0853a2
Erik Kline [Thu, 16 Mar 2017 02:58:10 +0000 (02:58 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses." am: ba8c613e16 am: 143d0853a2
am: 300c56a977

Change-Id: Ia9d45d8fd636e918c8299b26163de0650f8ddac5

7 years agoMerge "Add blocking and retrying wrappers for INetd uses." am: ba8c613e16
Erik Kline [Thu, 16 Mar 2017 02:54:02 +0000 (02:54 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses." am: ba8c613e16
am: 143d0853a2

Change-Id: I8957b3506f92257cfa052580156d7a87645d11b2

7 years agoMerge "ConnectivityMetricsEvent: add ifname, netid, transports"
TreeHugger Robot [Thu, 16 Mar 2017 02:50:18 +0000 (02:50 +0000)]
Merge "ConnectivityMetricsEvent: add ifname, netid, transports"

7 years agoMerge "Add blocking and retrying wrappers for INetd uses."
Erik Kline [Thu, 16 Mar 2017 02:49:36 +0000 (02:49 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses."
am: ba8c613e16

Change-Id: Iae8ea51852ed6991e3b9ed89297c8a932b9224f3

7 years agoMerge "Add blocking and retrying wrappers for INetd uses."
Treehugger Robot [Thu, 16 Mar 2017 02:42:15 +0000 (02:42 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses."

7 years agoMerge "Update strings"
TreeHugger Robot [Thu, 16 Mar 2017 02:22:24 +0000 (02:22 +0000)]
Merge "Update strings"

7 years agoMerge "Renaming the second active event to avoid confusion."
TreeHugger Robot [Thu, 16 Mar 2017 01:54:07 +0000 (01:54 +0000)]
Merge "Renaming the second active event to avoid confusion."

7 years agoMerge "Allow users to manually request Autofill."
TreeHugger Robot [Thu, 16 Mar 2017 01:33:41 +0000 (01:33 +0000)]
Merge "Allow users to manually request Autofill."

7 years agoMerge "Support Signal strength offset"
Sooraj Sasindran [Thu, 16 Mar 2017 01:27:41 +0000 (01:27 +0000)]
Merge "Support Signal strength offset"

7 years agoMerge "Move expensive TextClock operations to onAttach"
TreeHugger Robot [Thu, 16 Mar 2017 01:10:19 +0000 (01:10 +0000)]
Merge "Move expensive TextClock operations to onAttach"

7 years agoMerge "Integrate API Council feedback into Media Metrics APIs"
Ray Essick [Thu, 16 Mar 2017 01:02:16 +0000 (01:02 +0000)]
Merge "Integrate API Council feedback into Media Metrics APIs"

7 years agoConnectivityMetricsEvent: add ifname, netid, transports
Hugo Benichi [Wed, 15 Mar 2017 07:35:26 +0000 (16:35 +0900)]
ConnectivityMetricsEvent: add ifname, netid, transports

This patch adds new fields to ConnectivityMetricsEvent to make it more
symmetric to IpConnectivityEvent in ipconnectivity.proto.

Follow-up patches will start populating these fields for users of
IpConnectivityLog.

Test: unit tests updated, $ runtest frameworks-net passes
Bug: 34901696
Change-Id: I396767cdfcf38cce893c0d6e1f4524f12e3fdc64

7 years agoMerge "Get rid of LinearTransform"
Mathias Agopian [Thu, 16 Mar 2017 00:51:29 +0000 (00:51 +0000)]
Merge "Get rid of LinearTransform"

7 years agoUpdate strings
Fan Zhang [Thu, 16 Mar 2017 00:38:57 +0000 (17:38 -0700)]
Update strings

Change-Id: I38fcd900cdadea40f96fa2f78587943662a6771f
Fix: 36291553
Test: builds

7 years agoMerge "Merge "integrate portal webview to the default app" am: e3ece71f2e am: dd7ff35...
Android Build Merger (Role) [Thu, 16 Mar 2017 00:38:56 +0000 (00:38 +0000)]
Merge "Merge "integrate portal webview to the default app" am: e3ece71f2e am: dd7ff3586c am: 916aef7eb8  -s ours"

7 years agoMerge "integrate portal webview to the default app" am: e3ece71f2e am: dd7ff3586c
Chen Xu [Thu, 16 Mar 2017 00:38:16 +0000 (00:38 +0000)]
Merge "integrate portal webview to the default app" am: e3ece71f2e am: dd7ff3586c
am: 916aef7eb8  -s ours

Change-Id: Ibb9c094dcb41bea9749f0a119464ee0a23aab224

7 years agoMerge "Connectivity metrics: simplify ConnectivityMetricsEvent"
Hugo Benichi [Thu, 16 Mar 2017 00:37:43 +0000 (00:37 +0000)]
Merge "Connectivity metrics: simplify ConnectivityMetricsEvent"

7 years agoRenaming the second active event to avoid confusion.
Kweku Adams [Thu, 9 Mar 2017 00:48:01 +0000 (16:48 -0800)]
Renaming the second active event to avoid confusion.

BUG: 23532995
Test: make -j 32 ...

Change-Id: I8d44e98520f40f46727cb57ba77932eee2b1b0ea

7 years agoChange system alert window setting proto comments
Christine Franks [Tue, 14 Mar 2017 17:21:25 +0000 (10:21 -0700)]
Change system alert window setting proto comments

Bug: 36070413
Test: only comments changed
Change-Id: I2bb2a8a2be5a0535997e4cb382b52cb98ded6b09

7 years agoMerge "Display magnification via the nav bar Accessibility Button"
Casey Burkhardt [Thu, 16 Mar 2017 00:26:48 +0000 (00:26 +0000)]
Merge "Display magnification via the nav bar Accessibility Button"

7 years agoMerge "Deprecate settingsActivity field in TvInputService"
Conrad Chen [Thu, 16 Mar 2017 00:16:06 +0000 (00:16 +0000)]
Merge "Deprecate settingsActivity field in TvInputService"

7 years agoMerge "AudioRecord: more information in text of IllegalArgumentException"
TreeHugger Robot [Thu, 16 Mar 2017 00:10:31 +0000 (00:10 +0000)]
Merge "AudioRecord: more information in text of IllegalArgumentException"

7 years agoMerge "integrate portal webview to the default app" am: e3ece71f2e
Chen Xu [Thu, 16 Mar 2017 00:06:58 +0000 (00:06 +0000)]
Merge "integrate portal webview to the default app" am: e3ece71f2e
am: dd7ff3586c

Change-Id: I929abe090a0e9632e75004a026af3e93c2898cb8

7 years agoMerge "integrate portal webview to the default app"
Chen Xu [Thu, 16 Mar 2017 00:02:28 +0000 (00:02 +0000)]
Merge "integrate portal webview to the default app"
am: e3ece71f2e

Change-Id: I3c46e8bd47d087701b3c643e59bc9e373dab00bb

7 years agoMerge "Adapt unpaged cursors to paged requests."
TreeHugger Robot [Wed, 15 Mar 2017 23:59:23 +0000 (23:59 +0000)]
Merge "Adapt unpaged cursors to paged requests."

7 years agoMerge "integrate portal webview to the default app"
Chen Xu [Wed, 15 Mar 2017 23:52:52 +0000 (23:52 +0000)]
Merge "integrate portal webview to the default app"

7 years agoMerge "Voice Messaging Intent API."
Okan Kolak [Wed, 15 Mar 2017 23:34:26 +0000 (23:34 +0000)]
Merge "Voice Messaging Intent API."

7 years agoSet system server's class loader for wrap.system_server
tony.ys_liu [Wed, 14 Dec 2016 10:50:29 +0000 (18:50 +0800)]
Set system server's class loader for wrap.system_server

Root Cause: systemServer's class path is not set
  after set wrap.system_server property, and restart system_server,
  it shows a java.lang.RuntimeException:
    Missing class when invoking static main com.android.server.SystemServer

Solution: Correctly pass and parse a passed classpath.

Bug: 34692265
Test: adb root && adb shell stop && adb shell setprop wrap.system_server logwrapper && adb shell start
Change-Id: Ia6707dc05fa627af6cc28360d26b894487a6eff1

7 years agoMerge "Add logging constants for settings security lockscreen preferences."
TreeHugger Robot [Wed, 15 Mar 2017 23:25:57 +0000 (23:25 +0000)]
Merge "Add logging constants for settings security lockscreen preferences."

7 years agoMerge "integrate portal webview to the default app"
TreeHugger Robot [Wed, 15 Mar 2017 23:24:52 +0000 (23:24 +0000)]
Merge "integrate portal webview to the default app"

7 years agoSupport Signal strength offset
Sooraj Sasindran [Thu, 9 Mar 2017 07:43:17 +0000 (23:43 -0800)]
Support Signal strength offset

Support feature to offset LTE rsrp
for higher freaquency lte bands.

Test: Verified on device that signal bars increased
Bug=30628343
Merged-In: Id0b54901a1e8832fb48ba509e6a380c43f4c9497
Change-Id: Id0b54901a1e8832fb48ba509e6a380c43f4c9497

7 years agoMerge "Rename getDataEnabled() to isDataEnabled()."
Jeff Davidson [Wed, 15 Mar 2017 22:43:18 +0000 (22:43 +0000)]
Merge "Rename getDataEnabled() to isDataEnabled()."

7 years agoSupport Signal strength offset
Sooraj Sasindran [Thu, 9 Mar 2017 07:43:17 +0000 (23:43 -0800)]
Support Signal strength offset

Support feature to offset LTE rsrp
for higher freaquency lte bands.

Test: Verified on device that signal bars increased
Bug=30628343
Merged-In: Id0b54901a1e8832fb48ba509e6a380c43f4c9497
Change-Id: Id0b54901a1e8832fb48ba509e6a380c43f4c9497

7 years agoAdapt unpaged cursors to paged requests.
Steve McKay [Thu, 2 Mar 2017 19:24:20 +0000 (11:24 -0800)]
Adapt unpaged cursors to paged requests.

Allow all client targeting Android O to assume paging
    support for any provider.
Adds a new PageViewCursor that adapts an unpaged cursor
    to a paged request.
Updates ContentProviderNative to perform wrapping on
    unpaged results.

Bug: 30927484
Change-Id: I4e225dc16761793c85ef8a195bf049113c79cd20
Test: Added for new class. Run info @ frameworks/base/core/tests/coretests/README

7 years agoMerge "LoadedApk: Notify cross-package use only when code is requested."
Calin Juravle [Wed, 15 Mar 2017 22:26:56 +0000 (22:26 +0000)]
Merge "LoadedApk: Notify cross-package use only when code is requested."

7 years agoMerge "More whitelisting"
TreeHugger Robot [Wed, 15 Mar 2017 22:13:23 +0000 (22:13 +0000)]
Merge "More whitelisting"

7 years agoMerge "Enables drag to dismiss for PiP and adds a dark scrim when dismissing"
Mady Mellor [Wed, 15 Mar 2017 21:59:01 +0000 (21:59 +0000)]
Merge "Enables drag to dismiss for PiP and adds a dark scrim when dismissing"

7 years agointegrate portal webview to the default app
fionaxu [Fri, 10 Mar 2017 18:16:09 +0000 (10:16 -0800)]
integrate portal webview to the default app

Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.

Test: Manual
Bug: 36002256
Change-Id: I2627d5a43039ce433006c058bb4f2c1a39113e59

7 years agoMerge "FloatingToolbar: Change divider color."
TreeHugger Robot [Wed, 15 Mar 2017 21:40:29 +0000 (21:40 +0000)]
Merge "FloatingToolbar: Change divider color."

7 years agoDelete some SurfaceView support code.
Robert Carr [Tue, 14 Mar 2017 02:11:23 +0000 (19:11 -0700)]
Delete some SurfaceView support code.

repositionChild, performDeferredDestroy, and SurfaceControl with
background were all only used by SurfaceView and are now no longer
required in the wm.

Test: Only red.
Change-Id: Icb773572e6d6202f78a6d23b2431fbfacbe272c6

7 years agointegrate portal webview to the default app
fionaxu [Fri, 10 Mar 2017 18:16:09 +0000 (10:16 -0800)]
integrate portal webview to the default app

Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.

new added CaptivePortalLoginActivity is a copy paste from
com.android.captiveportallogin/CaptivePortalLoginActivity combined
with logic from deleted LaunchCaptivePortalActivity.
All webview UI was inherited from com.android.captiveportal

Test: Manual
Bug: 36002256
Merged-in: I2627d5a43039ce433006c058bb4f2c1a39113e59
Change-Id: If422fa12c5f24d9b9e2c9380b3edf94df74bb85f

7 years agoGet rid of LinearTransform
Mathias Agopian [Wed, 15 Mar 2017 21:17:22 +0000 (14:17 -0700)]
Get rid of LinearTransform

A copy of LinearTransform is moved here.

This reverts commit b80f086f69a4bc2e51d1f94ae58d7ba6b20514c4.

Test: compile/run
Bug: treble cleanup
Change-Id: I435cac1f57ded10d434e4354985ad1a1bd3841f3

7 years agoDisplay magnification via the nav bar Accessibility Button
Casey Burkhardt [Mon, 13 Feb 2017 20:43:16 +0000 (12:43 -0800)]
Display magnification via the nav bar Accessibility Button

Adds support for invoking display magnification by first selecting
the Accessibility Button, then touching an area of the screen to
magnify.

Bug: 30960346
Test: Manual
Change-Id: Ifd8a355562f204182e34bd37f71a3637d85cf0e1

7 years agoMerge "Make IGraphicBufferProducer a hybrid interface."
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Make IGraphicBufferProducer a hybrid interface."

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice." am: 8b549c9...
Roshan Pius [Wed, 15 Mar 2017 20:51:59 +0000 (20:51 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice." am: 8b549c9539 am: 530d75965d
am: 081d93d13c

Change-Id: I88fd3cc3f16907a1d14bbf80ae7b35bb92ff21cd

7 years agoMerge "Clipping before keyguard dismiss animation occurs"
TreeHugger Robot [Wed, 15 Mar 2017 20:49:23 +0000 (20:49 +0000)]
Merge "Clipping before keyguard dismiss animation occurs"

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice." am: 8b549c9539
Roshan Pius [Wed, 15 Mar 2017 20:47:48 +0000 (20:47 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice." am: 8b549c9539
am: 530d75965d

Change-Id: Ia7cc8ad2099515876d37201039d42d97abedc1e4

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice."
Roshan Pius [Wed, 15 Mar 2017 20:43:52 +0000 (20:43 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice."
am: 8b549c9539

Change-Id: I9ccfbfcf17590284aedd4449022b107c37e5aef2

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice."
Roshan Pius [Wed, 15 Mar 2017 20:34:33 +0000 (20:34 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice."

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging" am: 844be62eef am: 0c662c0ac0
Andreas Gampe [Wed, 15 Mar 2017 20:25:02 +0000 (20:25 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging" am: 844be62eef am: 0c662c0ac0
am: 77ede7ab80

Change-Id: Ie2133c4e8e5abfd6979ba5c03c8d347985a5dcb4

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging" am: 844be62eef
Andreas Gampe [Wed, 15 Mar 2017 20:15:58 +0000 (20:15 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging" am: 844be62eef
am: 0c662c0ac0

Change-Id: Idaa8ce7b31fb7921877462d0cf98d6d9fd4e1ae8

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging"
Andreas Gampe [Wed, 15 Mar 2017 20:06:36 +0000 (20:06 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging"
am: 844be62eef

Change-Id: I35f0affaef73033c37798eba41dfc1b992187176

7 years agoRestore SystemProperties.PROP_NAME_MAX to keep Kindle running.
Elliott Hughes [Wed, 15 Mar 2017 20:01:53 +0000 (13:01 -0700)]
Restore SystemProperties.PROP_NAME_MAX to keep Kindle running.

The limit has been lifted in O, but without this constant, Kindle crashes here:

  Caused by: java.lang.NoSuchFieldException: PROP_NAME_MAX
    at java.lang.Class.getField(Class.java:1607)
    at com.amazon.android.webkit.AmazonWebKitFactories$Implementation.<clinit>(AmazonWebKitFactories.java:59)

The code seems to want to truncate a system property name to avoid the
exception that SystemProperty.get threw if passed a name that was too long.

Bug: http://b/36095274
Test: select a word in Kindle
Change-Id: Id1881a8a7c6386400a1024beb0d1b741bdaefba7

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging"
Treehugger Robot [Wed, 15 Mar 2017 19:54:09 +0000 (19:54 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging"

7 years agoMerge "Pass advances to Minikin for calculating getTextRunCursor"
TreeHugger Robot [Wed, 15 Mar 2017 19:53:12 +0000 (19:53 +0000)]
Merge "Pass advances to Minikin for calculating getTextRunCursor"

7 years agoMerge "Don't apply the sRGB OETF twice on RGBAF16 bitmaps"
TreeHugger Robot [Wed, 15 Mar 2017 19:32:40 +0000 (19:32 +0000)]
Merge "Don't apply the sRGB OETF twice on RGBAF16 bitmaps"

7 years agoMerge "Prevent minimized state changing from other transitions."
TreeHugger Robot [Wed, 15 Mar 2017 19:30:51 +0000 (19:30 +0000)]
Merge "Prevent minimized state changing from other transitions."

7 years agoMore whitelisting
Makoto Onuki [Wed, 15 Mar 2017 19:24:21 +0000 (12:24 -0700)]
More whitelisting

Bug 34973771

Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Change-Id: I77c7001b31a963dfabe8036647a2e51ede6a759f

7 years agoMerge "Modify createBitmap w/ crop and matrix to not rely on Canvas.setBitmap"
TreeHugger Robot [Wed, 15 Mar 2017 19:23:04 +0000 (19:23 +0000)]
Merge "Modify createBitmap w/ crop and matrix to not rely on Canvas.setBitmap"

7 years agoFloatingToolbar: Change divider color.
Abodunrinwa Toki [Wed, 15 Mar 2017 19:11:12 +0000 (19:11 +0000)]
FloatingToolbar: Change divider color.

Test: Visually inspected.
Bug: 36038316
Change-Id: I4bf3b2abdfe15ff02b3969d1824752640e733128

7 years agoMerge "Fix selected entity type."
TreeHugger Robot [Wed, 15 Mar 2017 19:03:06 +0000 (19:03 +0000)]
Merge "Fix selected entity type."

7 years agoAdd logging constants for settings security lockscreen preferences.
Doris Ling [Wed, 15 Mar 2017 18:52:50 +0000 (11:52 -0700)]
Add logging constants for settings security lockscreen preferences.

Bug: 36163515
Test: builds
Change-Id: I245c69073576975ec1531c83ac90090f3386909f

7 years agoMerge "Clean up public FontConfig APIs"
TreeHugger Robot [Wed, 15 Mar 2017 18:51:56 +0000 (18:51 +0000)]
Merge "Clean up public FontConfig APIs"

7 years agoIntegrate API Council feedback into Media Metrics APIs
Ray Essick [Thu, 9 Mar 2017 18:17:51 +0000 (10:17 -0800)]
Integrate API Council feedback into Media Metrics APIs

Integrates the API Council's feedback into the Media Metrics
related APIs.
-- return types for the getMetrics() calls
-- definition of keys in the set of data that comes back

Bug: 35811992
Test: booted, CTS subset, checked dumpsys media.metrics output
Change-Id: Ib750f9631bd3453be3132760273ccfff0a891f88

7 years agoMerge "Update path in MediaStore when moving/renaming a file/folder."
TreeHugger Robot [Wed, 15 Mar 2017 18:40:32 +0000 (18:40 +0000)]
Merge "Update path in MediaStore when moving/renaming a file/folder."

7 years agoMerge "Fixing bad refactoring of orientation calculation."
TreeHugger Robot [Wed, 15 Mar 2017 18:32:48 +0000 (18:32 +0000)]
Merge "Fixing bad refactoring of orientation calculation."

7 years agoMerge "Changing initial and default focus behavior"
Evan Rosky [Wed, 15 Mar 2017 18:17:44 +0000 (18:17 +0000)]
Merge "Changing initial and default focus behavior"

7 years agoMerge "Expose settings provider to Instant Apps"
Chad Brubaker [Wed, 15 Mar 2017 18:11:55 +0000 (18:11 +0000)]
Merge "Expose settings provider to Instant Apps"

7 years agoDon't apply the sRGB OETF twice on RGBAF16 bitmaps
Romain Guy [Wed, 15 Mar 2017 17:59:19 +0000 (10:59 -0700)]
Don't apply the sRGB OETF twice on RGBAF16 bitmaps

Bug: 36250591
Test: BitmapRGBAF16Test
Change-Id: I39ca9e4bb666ab85066b5d45934f5f10210f6999

7 years agoEnables drag to dismiss for PiP and adds a dark scrim when dismissing
Mady Mellor [Fri, 10 Mar 2017 23:14:10 +0000 (15:14 -0800)]
Enables drag to dismiss for PiP and adds a dark scrim when dismissing

- Adds a scrim that fades in as the PiP is dragged past the bottom movement
  bounds.
- Tweaks the values for minimizing the PiP and dismissing the PiP
- Fixes an issue where the PiP could be minimized in the bottom corners
  of the screen

Test: Manual - drag PiP to bottom of screen to dismiss or swipe down on
PiP when it's at the bottom of the screen
Bug: 35358768
Bug: 35358628
Change-Id: Ib4ad5ed7094fef76ea979b46ea7e03d746625d00

7 years agoClipping before keyguard dismiss animation occurs
Matthew Ng [Tue, 14 Mar 2017 19:23:09 +0000 (12:23 -0700)]
Clipping before keyguard dismiss animation occurs

When the keyguard is going away or from wallpaper, the clipping will be
applied before the animation starts to avoid showing the docked app over
the area that should be clipped by the divider in splitscreen.

Change-Id: I2ca8f77a2b5d514f65a2032d4279dcb4996814e1
Fixes: 34095975
Test: manual