OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "services.core: remove use of -static hidl java" into stage-aosp-master am...
Steven Moreland [Wed, 2 Aug 2017 21:47:51 +0000 (21:47 +0000)]
Merge "services.core: remove use of -static hidl java" into stage-aosp-master am: e79a0931f7
am: 9bd5b76318  -s ours

Change-Id: Ibaca955ef655e2b00ca96cc5c3a7de4eb21d3538

6 years agoMerge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 21:42:47 +0000 (21:42 +0000)]
Merge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
am: 46f2cdeb63

Change-Id: Ia731476cb31e2a71caf277c29a6ebb34e0ccac90

6 years agoMerge "Remove Conferenceable update squelching" into oc-dr1-dev
Brad Ebinger [Wed, 2 Aug 2017 21:40:34 +0000 (21:40 +0000)]
Merge "Remove Conferenceable update squelching" into oc-dr1-dev
am: 4b6ef9c92d

Change-Id: I93a849f16c7c4d3bc4495f1baff905d16f0e78ff

6 years agoMerge "services.core: remove use of -static hidl java" into stage-aosp-master
Steven Moreland [Wed, 2 Aug 2017 21:35:46 +0000 (21:35 +0000)]
Merge "services.core: remove use of -static hidl java" into stage-aosp-master
am: e79a0931f7

Change-Id: Ia87ef00c10528b161e36631726513d0b87845cc0

6 years agoMerge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:29:07 +0000 (21:29 +0000)]
Merge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev

6 years agoMerge "Remove Conferenceable update squelching" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:26:19 +0000 (21:26 +0000)]
Merge "Remove Conferenceable update squelching" into oc-dr1-dev

6 years agoMerge "services.core: remove use of -static hidl java" into stage-aosp-master
TreeHugger Robot [Wed, 2 Aug 2017 21:22:49 +0000 (21:22 +0000)]
Merge "services.core: remove use of -static hidl java" into stage-aosp-master

6 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 20:42:08 +0000 (20:42 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev
am: 986995d481

Change-Id: Ide81e21c24c6efd66c03c997dcaefbd0a3efd7b8

6 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 20:33:02 +0000 (20:33 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev

6 years agoMerge "Reland "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus...
TreeHugger Robot [Wed, 2 Aug 2017 20:18:03 +0000 (20:18 +0000)]
Merge "Reland "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus-aosp

6 years agoMerge "Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89 am:...
Android Build Merger (Role) [Wed, 2 Aug 2017 20:07:11 +0000 (20:07 +0000)]
Merge "Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89 am: d5cc64f349" into oc-dr1-dev-plus-aosp

6 years agoMerge "camera2: Fix template requirements" into oc-dev am: 2976109d89
Chien-Yu Chen [Wed, 2 Aug 2017 20:05:55 +0000 (20:05 +0000)]
Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89
am: d5cc64f349

Change-Id: I9928429d425d60c08568535495cffe3caa4de992

6 years agoMerge "camera2: Fix template requirements" into oc-dev am: 2976109d89
Chien-Yu Chen [Wed, 2 Aug 2017 20:05:22 +0000 (20:05 +0000)]
Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89
am: 615f9e1277

Change-Id: I1c14baa9dc756fc91b6db1ba7f947a6fa4a4c4e8

6 years agoMerge "camera2: Fix template requirements" into oc-dev
Chien-Yu Chen [Wed, 2 Aug 2017 19:56:55 +0000 (19:56 +0000)]
Merge "camera2: Fix template requirements" into oc-dev
am: 2976109d89

Change-Id: I26487e8565aa190cff6e470bfdbc312b5ec83ceb

6 years agoMerge "camera2: Fix template requirements" into oc-dev
Chien-Yu Chen [Wed, 2 Aug 2017 19:56:55 +0000 (19:56 +0000)]
Merge "camera2: Fix template requirements" into oc-dev
am: 2976109d89

Change-Id: I20b68b33caf48afeead56116602c6a9b2a33ab26

6 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
Santos Cordon [Wed, 2 Aug 2017 19:46:23 +0000 (19:46 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev
am: adec8518af

Change-Id: I70c521db6bb979e6276a57a2b818f050bb8fafae

6 years agoMerge "camera2: Fix template requirements" into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Merge "camera2: Fix template requirements" into oc-dev

6 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 19:43:23 +0000 (19:43 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev
am: 0ee78fd385

Change-Id: Ic3f5297c574aaa3598939399c623c2920623b3ba

6 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
TreeHugger Robot [Wed, 2 Aug 2017 19:38:08 +0000 (19:38 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev

6 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 19:38:01 +0000 (19:38 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev
am: 2af6f25f43

Change-Id: I9f3d772141b872d5561b217e1cb3c0daa0cc1a71

6 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 19:35:48 +0000 (19:35 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
am: e81cdeea1c

Change-Id: I03d14d8688a96ede9b92369b822bd928eaf10a03

6 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
Jeff Sharkey [Wed, 2 Aug 2017 19:33:49 +0000 (19:33 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev
am: 65abebbadd

Change-Id: I5a78f799bde2926eb3f5f6f424148aaf11729c54

6 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 19:28:07 +0000 (19:28 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev

6 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 19:25:42 +0000 (19:25 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
am: ae938cee71

Change-Id: If8a2938a9f10a9c8b60b65323cd34713eeb95f40

6 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:20:19 +0000 (19:20 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev

6 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:16:46 +0000 (19:16 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev

6 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:09:04 +0000 (19:09 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev

6 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 19:08:18 +0000 (19:08 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev

6 years agoReland "services.core: remove use of -static hidl java"
Steven Moreland [Wed, 2 Aug 2017 18:25:28 +0000 (18:25 +0000)]
Reland "services.core: remove use of -static hidl java"

This reverts commit be3162ea8521d7524e2ae31407dc3340f3ae4875.

Bug: 36376126
Test: marlin boots

Change-Id: Ic5317a10f9fe6792908f9db2fa6d5275fe7ea9c1

6 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 18:46:55 +0000 (18:46 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev
am: c7937c13f6

Change-Id: If88c711e3a1fe502db9e73d33b330679d4ba6043

6 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
Romain Guy [Wed, 2 Aug 2017 18:44:40 +0000 (18:44 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
am: 8e8debbe21

Change-Id: I0f66cafd5eee8081f7af72bfb8cebdb93a619662

6 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 18:40:34 +0000 (18:40 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev

6 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
Beverly [Wed, 2 Aug 2017 18:38:00 +0000 (18:38 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
am: 6407874ae0

Change-Id: I8062e205af16792aa5ae0593795a940fc75813bc

6 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:35:10 +0000 (18:35 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev

6 years agoMerge "Revert "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus...
Steven Moreland [Wed, 2 Aug 2017 18:24:43 +0000 (18:24 +0000)]
Merge "Revert "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus-aosp

6 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:22:03 +0000 (18:22 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev

6 years agoRevert "services.core: remove use of -static hidl java"
Steven Moreland [Wed, 2 Aug 2017 18:20:13 +0000 (18:20 +0000)]
Revert "services.core: remove use of -static hidl java"

Changes this depends on are missing from intermediate branches.

This reverts commit 31eb20f06acdbf20570c841198434005e3145e8b.

Change-Id: Ie3c30cf456f922d95ecb8859f0556095a491e2d6

6 years agoMerge "fingerprint: remove use of -static hidl java" into stage-aosp-master am: 5de8c...
Steven Moreland [Wed, 2 Aug 2017 18:12:18 +0000 (18:12 +0000)]
Merge "fingerprint: remove use of -static hidl java" into stage-aosp-master am: 5de8c0ee40
am: 842447df3c

Change-Id: I88abe8764bc50e1e1498cb02794c1728ad5bea69

6 years agoMerge "fingerprint: remove use of -static hidl java" into stage-aosp-master
Steven Moreland [Wed, 2 Aug 2017 18:03:38 +0000 (18:03 +0000)]
Merge "fingerprint: remove use of -static hidl java" into stage-aosp-master
am: 5de8c0ee40

Change-Id: I48d84d0d28d476dae84201b68e943e3ad4dae500

6 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
Lucas Dupin [Wed, 2 Aug 2017 18:03:21 +0000 (18:03 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev
am: b0e5b53bbf

Change-Id: I6e07dca79e8d33522d4f0e9b58dcc48bdff555d2

6 years agoMerge "fingerprint: remove use of -static hidl java" into stage-aosp-master
TreeHugger Robot [Wed, 2 Aug 2017 17:55:25 +0000 (17:55 +0000)]
Merge "fingerprint: remove use of -static hidl java" into stage-aosp-master

6 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:47:59 +0000 (17:47 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev

6 years agoFix keyboard focus in VR
Tarandeep Singh [Tue, 11 Jul 2017 01:50:00 +0000 (18:50 -0700)]
Fix keyboard focus in VR

Consider this VirtualDisplay (VD) scenario:
HostActivity creates a VD which holds SettingsActivity. When EditText
on SettingsActivity is tapped, it gains focus.
On eventual taps, it loses focus i.e. the Window in VD loses focus and
the host activity in primary display gets the focus instead. This
happens because WM's TaskTapPointerEventListener.onPointerEvent()
is called on the default display only.

Root cause:
1. Tap detector isn't registered for non-default display.
2. Tap detector has no info on which displayId touch was received.
3. InputFlinger doesn't deliver InputMonitor events for
non-default displays (fixed in a separate CL)

Fixing above results in onPointerEvent(MotionEvent) to deliver the
Touch events successfully to VD. We restrict these changes to physical
multi-displays and VR VirtualDisplays (which uses virtual touch device).
[VrManagerService calls WMInternal.setVr2dDisplayId(int)]

In future, displayId should be part of InputEvent. Bug: 64258305

Bug: 62033391
Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests
Change-Id: I3626f4de5aa9bcf905da9abd39f3ab1baefc4c48

6 years agoMerge "Add owners for the network security config" am: 8773730cd9 am: e9d50c793a
Chad Brubaker [Wed, 2 Aug 2017 17:41:21 +0000 (17:41 +0000)]
Merge "Add owners for the network security config" am: 8773730cd9 am: e9d50c793a
am: 531f1af615

Change-Id: I77240a60f796c63acd640b8a43cb7054ad2a8bee

6 years agoGracefully handle focus loops created by app dev.
Evan Rosky [Wed, 12 Jul 2017 17:58:07 +0000 (10:58 -0700)]
Gracefully handle focus loops created by app dev.

Instead of ANR in an infinite loop, this will detect
a cycle and return null.

Bug: 62960867
Test: Added in CTS FocusFinderTest#testChainVisibility
Change-Id: Ifb4638e3350642f065c40b3bea112cc12efff447

6 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:30:33 +0000 (17:30 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
am: 6134b7529b

Change-Id: Ib68dcc833b2a25466b147e8c406fa6bbd8517e02

6 years agoMerge "Add owners for the network security config" am: 8773730cd9
Chad Brubaker [Wed, 2 Aug 2017 17:27:51 +0000 (17:27 +0000)]
Merge "Add owners for the network security config" am: 8773730cd9
am: e9d50c793a

Change-Id: Id183ac68171c94d082c992bd3e986c136d6c7764

6 years agoMerge "Fixed an issue where icons were jumping" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 17:27:48 +0000 (17:27 +0000)]
Merge "Fixed an issue where icons were jumping" into oc-dr1-dev
am: 7a719ab0ed

Change-Id: I5e983a7275e1dc117c1c70d6ae7be14b121d5c54

6 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:23:31 +0000 (17:23 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev

6 years agoMerge "Add owners for the network security config"
Chad Brubaker [Wed, 2 Aug 2017 17:20:16 +0000 (17:20 +0000)]
Merge "Add owners for the network security config"
am: 8773730cd9

Change-Id: I18b8aac4c1ac85bde3e6735e1afe6375f5c0e177

6 years agoMerge "Merge "Add hwbinder library" am: 49e2a9a612 am: 811027ede7 am: 2785be7572...
Android Build Merger (Role) [Wed, 2 Aug 2017 17:16:57 +0000 (17:16 +0000)]
Merge "Merge "Add hwbinder library" am: 49e2a9a612 am: 811027ede7 am: 2785be7572" into oc-dr1-dev-plus-aosp

6 years agoMerge "Fixed an issue where icons were jumping" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:16:18 +0000 (17:16 +0000)]
Merge "Fixed an issue where icons were jumping" into oc-dr1-dev

6 years agoMerge "Add hwbinder library" am: 49e2a9a612 am: 811027ede7
Sundong Ahn [Wed, 2 Aug 2017 17:14:55 +0000 (17:14 +0000)]
Merge "Add hwbinder library" am: 49e2a9a612 am: 811027ede7
am: 2785be7572

Change-Id: Ia545b163166465cafa3d4ecbb0a5d0d911224b22

6 years agoMerge "services.core: remove use of -static hidl java" into oc-dr1-dev-plus-aosp
TreeHugger Robot [Wed, 2 Aug 2017 17:14:31 +0000 (17:14 +0000)]
Merge "services.core: remove use of -static hidl java" into oc-dr1-dev-plus-aosp

6 years agoMerge "Add owners for the network security config"
Treehugger Robot [Wed, 2 Aug 2017 17:10:11 +0000 (17:10 +0000)]
Merge "Add owners for the network security config"

6 years agoMerge "Add hwbinder library" am: 49e2a9a612
Sundong Ahn [Wed, 2 Aug 2017 17:05:56 +0000 (17:05 +0000)]
Merge "Add hwbinder library" am: 49e2a9a612
am: 811027ede7

Change-Id: Idec0d080a65d96ff866969f47e9902e40e800fdf

6 years agoMerge "Delete dead code function SpotShadow::makeClockwise" am: 8c9e5c81ad am: 98eaf41eec
Stan Iliev [Wed, 2 Aug 2017 17:01:17 +0000 (17:01 +0000)]
Merge "Delete dead code function SpotShadow::makeClockwise" am: 8c9e5c81ad am: 98eaf41eec
am: fb3f29b608

Change-Id: I29cbdb6b741f0e4d84a12269607cdd32c6a51a74

6 years agoMerge "Add hwbinder library"
Sundong Ahn [Wed, 2 Aug 2017 16:57:50 +0000 (16:57 +0000)]
Merge "Add hwbinder library"
am: 49e2a9a612

Change-Id: I3c7528dcf98bf3b92843594172531fd30a5f29d4

6 years agoMerge "Delete dead code function SpotShadow::makeClockwise" am: 8c9e5c81ad
Stan Iliev [Wed, 2 Aug 2017 16:52:20 +0000 (16:52 +0000)]
Merge "Delete dead code function SpotShadow::makeClockwise" am: 8c9e5c81ad
am: 98eaf41eec

Change-Id: I3760a36d915f495fe8d4e457982440ff61934a6b

6 years agoMerge "Add hwbinder library"
Treehugger Robot [Wed, 2 Aug 2017 16:46:42 +0000 (16:46 +0000)]
Merge "Add hwbinder library"

6 years agoMerge "Delete dead code function SpotShadow::makeClockwise"
Stan Iliev [Wed, 2 Aug 2017 16:44:22 +0000 (16:44 +0000)]
Merge "Delete dead code function SpotShadow::makeClockwise"
am: 8c9e5c81ad

Change-Id: I5d696089e13dc68115451c223646ef5e0688b330

6 years agoMerge "Delete dead code function SpotShadow::makeClockwise"
Treehugger Robot [Wed, 2 Aug 2017 16:29:23 +0000 (16:29 +0000)]
Merge "Delete dead code function SpotShadow::makeClockwise"

6 years agofingerprint: remove use of -static hidl java
Steven Moreland [Wed, 2 Aug 2017 16:02:13 +0000 (09:02 -0700)]
fingerprint: remove use of -static hidl java

These libraries are being removed. Now, the regular java
library can be used as both a static and non-static library,
we are removing these duplicate libraries which cause
several types problems (such as undefined behavior when
both the static and non-static libs are loaded).

Bug: 36376126
Test: boot marlin, add/use fingerprint, check logs
Change-Id: I546d8f5d5788a31b3f70009e687246a4b7e59569

6 years agoMerge "Merge "Clarifies how the autofill service should check for signature hashes...
Android Build Merger (Role) [Wed, 2 Aug 2017 16:11:30 +0000 (16:11 +0000)]
Merge "Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev am: c8f0fd7076 am: 6f9f17475d" into oc-dr1-dev-plus-aosp

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:09:58 +0000 (16:09 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev am: c8f0fd7076
am: 6f9f17475d

Change-Id: Ic1c671be822007e3d0493385e5ceba60f921b607

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:09:20 +0000 (16:09 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev am: c8f0fd7076
am: 32d4e30778

Change-Id: I5e3eff32fe5224d69bb41c4c4c48b880bc701c4b

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:00:41 +0000 (16:00 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev
am: c8f0fd7076

Change-Id: Ida9652bb511ea0aa180e649992a9e5fa6409b2be

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:00:39 +0000 (16:00 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev
am: c8f0fd7076

Change-Id: I3a2419aa6244f01a54211ab60558cc729c29249e

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 15:52:05 +0000 (15:52 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev

6 years agoFix NPE when reading icon for removed session.
Jeff Sharkey [Wed, 2 Aug 2017 15:28:53 +0000 (09:28 -0600)]
Fix NPE when reading icon for removed session.

The underlying session may have been destroyed before we go back to
read out the icon.

Test: builds, boots
Bug: 63795821
Change-Id: I16eb32c74a0e3b1d0605392878d65f28437006a6

6 years agoMerge "com.android.server: use proper nativehelper headers" into stage-aosp-master...
Steven Moreland [Wed, 2 Aug 2017 15:30:37 +0000 (15:30 +0000)]
Merge "com.android.server: use proper nativehelper headers" into stage-aosp-master am: 7d7c269944
am: 81972a18e4

Change-Id: Id008ba3508c972d8d27eebca22009b4823e387e0

6 years agoSend TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications.
Dan Sandler [Wed, 2 Aug 2017 00:55:59 +0000 (20:55 -0400)]
Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications.

They shouldn't make noise, but because they appear on-screen
we should report them to a11y services to potentially
announce them to the user in some other way.

Bug: 38500162
Test: runtest systemui-notification
Change-Id: I3a022329f54d17c7229a05130dce14c0101ec24a

6 years agoMerge "com.android.server: use proper nativehelper headers" into stage-aosp-master
Steven Moreland [Wed, 2 Aug 2017 15:22:09 +0000 (15:22 +0000)]
Merge "com.android.server: use proper nativehelper headers" into stage-aosp-master
am: 7d7c269944

Change-Id: Ie9058f2b554d2d88d31b4bc66ac56d4bf735704d

6 years agoMerge "com.android.server: use proper nativehelper headers" into stage-aosp-master
TreeHugger Robot [Wed, 2 Aug 2017 15:08:37 +0000 (15:08 +0000)]
Merge "com.android.server: use proper nativehelper headers" into stage-aosp-master

6 years agoLightStatus: Fix notification icon color filter
Adrian Roos [Wed, 2 Aug 2017 14:57:11 +0000 (16:57 +0200)]
LightStatus: Fix notification icon color filter

Fixes an issue with the color filter applied to status bar icons where the
tint's alpha channel was ignored.

Change-Id: Idf22c70524fb718995d09ef339b825425ca5f7a7
Fixes: 64139391
Test: Look at light status bar with notifications; verify that icons have slightly gray tint instead of fully black

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Wed, 2 Aug 2017 14:36:03 +0000 (14:36 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 9ce641fd81  -s ours

Change-Id: I35fdc137ba9f079e4d632d2e62c5aacbb83e9ec4

6 years agoSysUI: Move all sensor operations to the background thread
Adrian Roos [Wed, 2 Aug 2017 14:26:50 +0000 (16:26 +0200)]
SysUI: Move all sensor operations to the background thread

Registering / unregistering listeners for sensors now frequently takes several hundred
miliseconds. Work around this by moving all sensor operations off the main thread.

Change-Id: Ic3537889e1d6e045149942bebb0211afe1192033
Fixes: 64103634
Test: Turn on phone from AOD2. Verify no jank.

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 14:25:24 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoAdded null test to avoid regression for onRemoteVolumeChanged.
Beverly [Fri, 28 Jul 2017 18:05:30 +0000 (14:05 -0400)]
Added null test to avoid regression for onRemoteVolumeChanged.

Change-Id: Iebcf30a381250c06055143528914632a00e474bc
Fixes: 63946353
Test: runtest systemui

6 years agoEnsure that all displays are updated upon any changes to rotation.
Santos Cordon [Fri, 28 Jul 2017 18:08:23 +0000 (11:08 -0700)]
Ensure that all displays are updated upon any changes to rotation.

There's generally only ever 1 display on most devices, so this code
has no change. If any additional displays have rotation support, their
displays will be updated accordingly with this change. At the moment,
this only affect VR's virtual display.

This fixes a bug where the Activity on a virtual display never ran
through PhoneWindowManager's rotation policy until it came across an
Activity that had any value for screenOrientation.
The result would be that the activity would display the natural
landscape orientation of the virtual display instead of the portrait
preference that is written into PhoneWindowManager. This change ensures
that the rotation is confirmed with PhoneWindowManager during Activity
layout.

Test: Before change - Run virtual display and see that it doesn't get
it's orientation set via PhoneWindowManager's policy.  After change -
see that the orientation is updated accordingly as part of this change.
Bug: 6328931262862109

Change-Id: I7de7aea790fd11daba36097227e13874bd9aacaa

6 years agoWakeAndUnlock: Make sure to wait for screen turning on
Adrian Roos [Mon, 31 Jul 2017 14:40:19 +0000 (16:40 +0200)]
WakeAndUnlock: Make sure to wait for screen turning on

Fixes an issue where instead of waiting for screen on
we start the unlock transition immediately when the screen
is already on. Instead, we have to wait for it to turn off
and then on again.

Change-Id: Ib1f66edc6ad2d3e71c4bf928b4b0e7531babf6e0
Fixes: 64080116
Test: Unlock via fingerprint a lot. Verify the status bar does not flicker.

6 years agoStart all visible running activities when attaching app
Jorim Jaggi [Wed, 2 Aug 2017 12:37:49 +0000 (14:37 +0200)]
Start all visible running activities when attaching app

This fixes an issue where a translucent activity was on top of a
normal activity in the same process. Now, when reopening the
translucent activity after the process has been killed we only
used to start the very top activity, leaving the normal activity
in destroyed state. However, we make the activity visible already
so in window manager we are waiting for it but a window is never
added to it.

This fixes the issue by starting all activities that are visible
and running once the app is attached.

Test: go/wm-smoke
Test: Have app with translucent activity on top of normal
activity, kill app via shell, navigate back to app via recents.
Observe no excessive delay.

Change-Id: I444b7064b8e2e878fac5fa9ac8b36e0e2fe248bc
Fixes: 33269100

6 years agoMerge "Refine condition for starting window skip" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 12:23:06 +0000 (12:23 +0000)]
Merge "Refine condition for starting window skip" into oc-dr1-dev
am: 612de053b8

Change-Id: I9147082d4776b451b487c74785af9df9e2590ca3

6 years agoMerge "Refine condition for starting window skip" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 12:15:40 +0000 (12:15 +0000)]
Merge "Refine condition for starting window skip" into oc-dr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Aug 2017 07:57:25 +0000 (00:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I80d58d6708464b7254857c5fca1680bbf4f0212b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Revert "Move getNetworkCountryIso impl from TM to PIM."" am: 85a215bae7 am...
Jonathan Basseri [Wed, 2 Aug 2017 02:27:55 +0000 (02:27 +0000)]
Merge "Revert "Move getNetworkCountryIso impl from TM to PIM."" am: 85a215bae7 am: 7728849a39
am: 0fed7e3282

Change-Id: If811c7aa40c5be4b0ffcfa5addef8c4b147a1c71

6 years agoMerge "Revert "Move getNetworkCountryIso impl from TM to PIM."" am: 85a215bae7
Jonathan Basseri [Wed, 2 Aug 2017 02:06:55 +0000 (02:06 +0000)]
Merge "Revert "Move getNetworkCountryIso impl from TM to PIM."" am: 85a215bae7
am: 7728849a39

Change-Id: Id7f000e7a67c53c8c3d26482a7d1697255943bf7

6 years agoMerge "Revert "Move getNetworkCountryIso impl from TM to PIM.""
Jonathan Basseri [Wed, 2 Aug 2017 01:58:18 +0000 (01:58 +0000)]
Merge "Revert "Move getNetworkCountryIso impl from TM to PIM.""
am: 85a215bae7

Change-Id: I30dddd90e5984519219865752f563a45962be593

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev...
Felipe Leme [Wed, 2 Aug 2017 01:57:16 +0000 (01:57 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev am: 6829a1dace
am: e971d933be

Change-Id: Id05a08413742ef94a426738fd0e82243c0553942

6 years agoMerge "Move getNetworkCountryIso impl from TM to PIM." am: 58bbef15d8 am: 02cc8151a6
Jonathan Basseri [Wed, 2 Aug 2017 01:51:21 +0000 (01:51 +0000)]
Merge "Move getNetworkCountryIso impl from TM to PIM." am: 58bbef15d8 am: 02cc8151a6
am: aaeca1e977

Change-Id: I9935e8825683fb23fc03e38a93380add8fe4408a

6 years agoMerge "Revert "Move getNetworkCountryIso impl from TM to PIM.""
Jonathan Basseri [Wed, 2 Aug 2017 01:44:09 +0000 (01:44 +0000)]
Merge "Revert "Move getNetworkCountryIso impl from TM to PIM.""

6 years agoRevert "Move getNetworkCountryIso impl from TM to PIM."
Jonathan Basseri [Wed, 2 Aug 2017 01:10:47 +0000 (01:10 +0000)]
Revert "Move getNetworkCountryIso impl from TM to PIM."

This reverts commit 6f4657363cac93ddcc718d9716e3b138f770f2e2.

Change-Id: Ie0062369198af03441c531cd2181ed9c12b8f012

6 years agoDelete dead code function SpotShadow::makeClockwise
Stan Iliev [Wed, 27 Jul 2016 22:08:06 +0000 (18:08 -0400)]
Delete dead code function SpotShadow::makeClockwise

Delete SpotShadow::makeClockwise, which is unused and does
not link when compiler optimizations are disabled (for debugging).
SpotShadow::makeClockwise calls non-existent function
ShadowTessellator::isClockwise, which only works because the
optimizer deletes the function.

Change-Id: Ib8a014bf168782772faa1da7d75a079c1fd28ed9
(cherry picked from commit fdb625a309755fb762c448dd8c2c4e3a7cc26021)

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev...
Felipe Leme [Wed, 2 Aug 2017 00:35:44 +0000 (00:35 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev am: 6829a1dace
am: 27eb322ed2

Change-Id: Ib78f7d5d690eff9a7b6c424600e1f0a300417b16

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
Felipe Leme [Wed, 2 Aug 2017 00:26:39 +0000 (00:26 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev
am: 6829a1dace

Change-Id: I00eed7ae9679f117296ad1f7162e057720e69aab

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
Felipe Leme [Wed, 2 Aug 2017 00:26:37 +0000 (00:26 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev
am: 6829a1dace

Change-Id: I41dec3cb31e6b523927717950f827f45dadabd8b

6 years agoservices.core: remove use of -static hidl java
Steven Moreland [Tue, 1 Aug 2017 23:34:40 +0000 (16:34 -0700)]
services.core: remove use of -static hidl java

These libraries are being removed. Now, the regular java
library can be used as both a static and non-static library,
we are removing these duplicate libraries which cause
several types problems (such as undefined behavior when
both the static and non-static libs are loaded).

Bug: 36376126
Test: boot marlin device
Merged-In: I6acb6a41fd5c62a3070ada373aed11706c423463
Change-Id: I6acb6a41fd5c62a3070ada373aed11706c423463

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 00:08:15 +0000 (00:08 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev

6 years agoservices.core: remove use of -static hidl java
Steven Moreland [Tue, 1 Aug 2017 23:34:40 +0000 (16:34 -0700)]
services.core: remove use of -static hidl java

These libraries are being removed. Now, the regular java
library can be used as both a static and non-static library,
we are removing these duplicate libraries which cause
several types problems (such as undefined behavior when
both the static and non-static libs are loaded).

Bug: 36376126
Test: boot marlin device
Change-Id: I6acb6a41fd5c62a3070ada373aed11706c423463

6 years agoAdd owners for the network security config
Chad Brubaker [Tue, 1 Aug 2017 20:03:06 +0000 (13:03 -0700)]
Add owners for the network security config

Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I9bb8f5ceaae4a1af8c93f5416a6a5cea42915c62