OSDN Git Service
Steven Moreland [Wed, 2 Aug 2017 23:56:20 +0000 (23:56 +0000)]
Merge "com.android.server: use proper nativehelper headers" am:
41a7f5a64f -s ours am:
79e124c9c7 -s ours
am:
0666e1cd5c -s ours
Change-Id: Ibddc7b339d8cba53c73b2471bab11eabca82fa33
Steven Moreland [Wed, 2 Aug 2017 23:44:30 +0000 (23:44 +0000)]
Merge "com.android.server: use proper nativehelper headers" am:
41a7f5a64f -s ours
am:
79e124c9c7 -s ours
Change-Id: I550d6ce82513fc8e160597ba2ff89b6c5efa286a
Steven Moreland [Wed, 2 Aug 2017 23:19:33 +0000 (23:19 +0000)]
Merge "com.android.server: use proper nativehelper headers"
am:
41a7f5a64f -s ours
Change-Id: I470a1998cecb2254f38ea62b08e2408b9b3d4567
Santos Cordon [Wed, 2 Aug 2017 23:17:29 +0000 (23:17 +0000)]
Merge "Move VR preference for portrait orientation." into oc-dr1-dev
am:
7c4069d255
Change-Id: I3fee2180df9f1b18aae17eeae97b5f0006226c64
Treehugger Robot [Wed, 2 Aug 2017 23:02:04 +0000 (23:02 +0000)]
Merge "com.android.server: use proper nativehelper headers"
TreeHugger Robot [Wed, 2 Aug 2017 22:54:52 +0000 (22:54 +0000)]
Merge "Move VR preference for portrait orientation." into oc-dr1-dev
Josh Gao [Wed, 2 Aug 2017 22:22:38 +0000 (22:22 +0000)]
Merge "zygote: always log process exit reason." am:
b14694b043 am:
1453059ae3
am:
c4f129121e
Change-Id: Ib43f235adfb75b4c40f586ad76ea85cd12f34383
Ningyuan Wang [Wed, 2 Aug 2017 22:17:41 +0000 (22:17 +0000)]
Merge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev
am:
54e6518fc8
Change-Id: Ibe4c10de6efea5b4ba79f41cef8ca7a7ed2aa371
Josh Gao [Wed, 2 Aug 2017 22:13:08 +0000 (22:13 +0000)]
Merge "zygote: always log process exit reason." am:
b14694b043
am:
1453059ae3
Change-Id: I024a43786efaa28c4dfc823066d7afdb135572af
TreeHugger Robot [Wed, 2 Aug 2017 22:09:15 +0000 (22:09 +0000)]
Merge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev
* changes:
Add traffic thresholds to prevent wifi network changes
WifiInfo: Add getters for success tx/rx rate
Josh Gao [Wed, 2 Aug 2017 22:04:14 +0000 (22:04 +0000)]
Merge "zygote: always log process exit reason."
am:
b14694b043
Change-Id: Iaa68234674edb9494e518184ee72b1130831cfc9
Christine Franks [Wed, 2 Aug 2017 22:03:42 +0000 (22:03 +0000)]
Merge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev
am:
8d753bc3a3
Change-Id: If7bc865f712dd09257ea07c01a90bc91531ab3b9
Christine Franks [Wed, 2 Aug 2017 21:54:28 +0000 (21:54 +0000)]
Merge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev
Treehugger Robot [Wed, 2 Aug 2017 21:50:44 +0000 (21:50 +0000)]
Merge "zygote: always log process exit reason."
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
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
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
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
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
TreeHugger Robot [Wed, 2 Aug 2017 21:26:19 +0000 (21:26 +0000)]
Merge "Remove Conferenceable update squelching" into oc-dr1-dev
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
Steven Moreland [Tue, 1 Aug 2017 17:18:40 +0000 (10:18 -0700)]
com.android.server: use proper nativehelper headers
libnativehelper exports headers under nativehelper. These were
available before incorrectly as global headers in order to give
access to jni.h.
Test: com.android.server finds headers
Bug:
63762847
Merged-In: Icb3018f520004f65e8dd565d6e1d563551548eba
Change-Id: Ib36fec53c30760af5dac4097b3eceda6c4c6c7f0
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
Tarandeep Singh [Wed, 2 Aug 2017 20:33:02 +0000 (20:33 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev
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
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
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
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
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
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
Josh Gao [Wed, 2 Aug 2017 19:54:05 +0000 (12:54 -0700)]
zygote: always log process exit reason.
Multiple people have run into problems where apps disappear without a
trace. Always log process exit, so that it's clear when a process is
intentionally exiting. (The amount of extraneous logging this generates
is probably minimal.)
Test: none
Change-Id: I77169da4d0f05dabfe38490757975ad7ad0247b2
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
TreeHugger Robot [Wed, 2 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Merge "camera2: Fix template requirements" into oc-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
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
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
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
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
Selim Cinek [Wed, 2 Aug 2017 19:28:07 +0000 (19:28 +0000)]
Merge "Fixed a clipping issue in AOD" 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Wed, 2 Aug 2017 17:47:59 +0000 (17:47 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev
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
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
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
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
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
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
Adrian Roos [Wed, 2 Aug 2017 17:23:31 +0000 (17:23 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
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
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
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
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
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
Treehugger Robot [Wed, 2 Aug 2017 17:10:11 +0000 (17:10 +0000)]
Merge "Add owners for the network security config"
Sundong Ahn [Wed, 2 Aug 2017 17:05:56 +0000 (17:05 +0000)]
Merge "Add hwbinder library" am:
49e2a9a612
am:
811027ede7
Change-Id: Idec0d080a65d96ff866969f47e9902e40e800fdf
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
Sundong Ahn [Wed, 2 Aug 2017 16:57:50 +0000 (16:57 +0000)]
Merge "Add hwbinder library"
am:
49e2a9a612
Change-Id: I3c7528dcf98bf3b92843594172531fd30a5f29d4
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
Treehugger Robot [Wed, 2 Aug 2017 16:46:42 +0000 (16:46 +0000)]
Merge "Add hwbinder library"
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
Treehugger Robot [Wed, 2 Aug 2017 16:29:23 +0000 (16:29 +0000)]
Merge "Delete dead code function SpotShadow::makeClockwise"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
TreeHugger Robot [Wed, 2 Aug 2017 14:25:24 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
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
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:
63289312,
62862109
Change-Id: I7de7aea790fd11daba36097227e13874bd9aacaa
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.
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
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
Jorim Jaggi [Wed, 2 Aug 2017 12:15:40 +0000 (12:15 +0000)]
Merge "Refine condition for starting window skip" into oc-dr1-dev