Commit Graph

335201 Commits

Author SHA1 Message Date
Android Build Merger (Role)
e0b04bc3e8 Merge "Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev am: 810c312a29 am: 86271b573a" into oc-mr1-dev-plus-aosp 2017-07-31 19:17:09 +00:00
Android Build Merger (Role)
71dd68bdec Merge "Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev am: 810c312a29 am: c2e30cd5c9" into oc-mr1-dev-plus-aosp 2017-07-31 19:16:50 +00:00
Michal Karpinski
19071e526a Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev am: 810c312a29
am: 86271b573a

Change-Id: I9cccc07b88de19535c63ee623430481553a56657
2017-07-31 19:15:07 +00:00
Michal Karpinski
30d7eb9f1c Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev am: 810c312a29
am: c2e30cd5c9

Change-Id: If613847830b9fc820838e685ba2e57dadaae0765
2017-07-31 19:14:16 +00:00
Android Build Merger (Role)
384fa74812 Merge "Merge "Allow foreground AppWindowToken to influence orientation." into oc-dr1-dev am: 1fd7497f02 am: c71e73863e" into oc-mr1-dev-plus-aosp 2017-07-31 19:13:22 +00:00
Bryce Lee
30543e4442 Merge "Allow foreground AppWindowToken to influence orientation." into oc-dr1-dev am: 1fd7497f02
am: c71e73863e

Change-Id: Ib21c402bef3a5a73ab0a4e4133bb45faeb2b23e8
2017-07-31 19:11:28 +00:00
Eugene Susla
cbc1fb637a Merge "[Companion] Fix NPE due to looking up view btoo soon" into oc-mr1-dev
am: 978b8e1842

Change-Id: If3a550f694858d636e19b77a20837516f75a9545
2017-07-31 19:10:40 +00:00
Bryce Lee
2c931c9e98 Merge "Allow foreground AppWindowToken to influence orientation." into oc-dr1-dev am: 1fd7497f02
am: 343d82adf6

Change-Id: Id708764483b96ff77e9de23e4dd64c365bcf60c5
2017-07-31 19:07:16 +00:00
Michal Karpinski
86271b573a Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev
am: 810c312a29

Change-Id: I4518f7a6317d3c01e37a47b19dee653ccff71502
2017-07-31 19:05:13 +00:00
Michal Karpinski
c2e30cd5c9 Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev
am: 810c312a29

Change-Id: Ida86b2e9f68683c88db24bcbb16eaf14ce8f2d94
2017-07-31 19:03:13 +00:00
TreeHugger Robot
978b8e1842 Merge "[Companion] Fix NPE due to looking up view btoo soon" into oc-mr1-dev 2017-07-31 18:59:52 +00:00
Android Build Merger (Role)
efdfa4daae Merge "Merge "Do not call onConfigurationChanged for appBound position changes." into oc-dr1-dev am: 33d4702a12 am: 69aac0a7b6" into oc-mr1-dev-plus-aosp 2017-07-31 18:56:43 +00:00
Bryce Lee
c71e73863e Merge "Allow foreground AppWindowToken to influence orientation." into oc-dr1-dev
am: 1fd7497f02

Change-Id: Ibc323f15a9a0bc6302ff105036964374c044b5e7
2017-07-31 18:55:39 +00:00
Bryce Lee
9821f406d1 Merge "Do not call onConfigurationChanged for appBound position changes." into oc-dr1-dev am: 33d4702a12
am: 69aac0a7b6

Change-Id: Iac240206ebe869cc4e9819a0222f858c11516830
2017-07-31 18:54:47 +00:00
Bryce Lee
94795bcaf8 Merge "Do not call onConfigurationChanged for appBound position changes." into oc-dr1-dev am: 33d4702a12
am: 05865fb40a

Change-Id: Ia5817040ce14ee6dbd995bd83444f34e78bef375
2017-07-31 18:53:39 +00:00
TreeHugger Robot
810c312a29 Merge "Reintroduce the contract for random token to be non-negative" into oc-dr1-dev 2017-07-31 18:51:17 +00:00
Bryce Lee
343d82adf6 Merge "Allow foreground AppWindowToken to influence orientation." into oc-dr1-dev
am: 1fd7497f02

Change-Id: Ibc6ea27ae4e813e3430ea75c8c26057f6bec2304
2017-07-31 18:50:32 +00:00
Bryce Lee
05865fb40a Merge "Do not call onConfigurationChanged for appBound position changes." into oc-dr1-dev
am: 33d4702a12

Change-Id: I990a3554730cc07440c7d4bc0236e0aeb00e2980
2017-07-31 18:46:20 +00:00
Bryce Lee
69aac0a7b6 Merge "Do not call onConfigurationChanged for appBound position changes." into oc-dr1-dev
am: 33d4702a12

Change-Id: Id6748aab9ee83844303324ea397d4ac699fb5839
2017-07-31 18:45:19 +00:00
Seigo Nonaka
0494dc5d17 Merge "Stop font loading with restricted context." into oc-mr1-dev
am: 06ba486a74

Change-Id: I0c668e01f9fe254b6bedace52d19bd7bcb5d5f1f
2017-07-31 18:36:49 +00:00
Bryce Lee
1fd7497f02 Merge "Allow foreground AppWindowToken to influence orientation." into oc-dr1-dev 2017-07-31 18:34:23 +00:00
Bryce Lee
33d4702a12 Merge "Do not call onConfigurationChanged for appBound position changes." into oc-dr1-dev 2017-07-31 18:32:30 +00:00
TreeHugger Robot
06ba486a74 Merge "Stop font loading with restricted context." into oc-mr1-dev 2017-07-31 18:23:04 +00:00
Makoto Onuki
bc939bbe7c Merge "Reduce duplicate strings due to the package cache." into oc-mr1-dev
am: bb77e6c689

Change-Id: Ia47cf7d0832ef6ca99b4f4991c2e2624bdf03742
2017-07-31 18:03:17 +00:00
TreeHugger Robot
bb77e6c689 Merge "Reduce duplicate strings due to the package cache." into oc-mr1-dev 2017-07-31 17:52:41 +00:00
Steven Moreland
8ca301dc61 SurfaceTexture.cpp: use proper nativehelper headers am: f53501098c am: a3ca9caf46
am: a862715976

Change-Id: I398296dcc973240a2f2da488b4058cee51240140
2017-07-31 17:00:59 +00:00
Android Build Merger (Role)
f8a95c8c0c Merge "Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev am: cbab3edc3e am: 0cd8a31c12" into oc-mr1-dev-plus-aosp 2017-07-31 16:57:19 +00:00
Steven Moreland
a862715976 SurfaceTexture.cpp: use proper nativehelper headers am: f53501098c
am: a3ca9caf46

Change-Id: I0049a5ffd8f24cd7d77506c5515216a4bf15b218
2017-07-31 16:55:02 +00:00
Adrian Roos
dca692c68f Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev am: cbab3edc3e
am: 3bc413bca8

Change-Id: I07022fc1006f3e9470791cf4f51000315139f899
2017-07-31 16:55:01 +00:00
Adrian Roos
66fb81fb95 Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev am: cbab3edc3e
am: 0cd8a31c12

Change-Id: Ifd3f36bb8ea399b77b06903cd9be589eee3d922a
2017-07-31 16:54:59 +00:00
Adrian Roos
3bc413bca8 Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev
am: cbab3edc3e

Change-Id: I49d8dc5f8cdd470064c9450e6722a905a4d1b0ed
2017-07-31 16:48:44 +00:00
Adrian Roos
0cd8a31c12 Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev
am: cbab3edc3e

Change-Id: Ibd62f5942fd09e0c1ec846db0595c76d0ad822be
2017-07-31 16:48:34 +00:00
Steven Moreland
a3ca9caf46 SurfaceTexture.cpp: use proper nativehelper headers
am: f53501098c

Change-Id: I2f4eb3fdbfe875d820e52136d8fb72b60e56b046
2017-07-31 16:48:25 +00:00
TreeHugger Robot
cbab3edc3e Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev 2017-07-31 16:43:07 +00:00
Steven Moreland
f53501098c SurfaceTexture.cpp: 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: SurfaceTexture.cpp finds headers
Bug: 63762847
Change-Id: I3ec1b888c226c2894649d9f9a8f8203891c1ab02
(cherry picked from commit 849252c469)
2017-07-31 16:41:45 +00:00
Bryce Lee
658d984f04 Do not call onConfigurationChanged for appBound position changes.
Since appBounds encodes both dimensions and positions, movement will
cause a diff change. This happens in situations where the dimensions
stay constant, such as dragging a PiP window around.

To avoid flooding the client side with configuration changes, this CL
checks whether the new configuration is equivalent to the existing
configuration with the exception of the position of the appBounds
before sending to the registered callbacks.

Change-Id: I8fbc94458fd9ed3b39494c3587f25e704ec02a7d
Fixes: 63927944
Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests
Test: go/wm-smoke
2017-07-31 08:46:00 -07:00
Bryce Lee
00d586d8f0 Allow foreground AppWindowToken to influence orientation.
It is possible for an activity to request an orientation after
finish has been called, causing the system orientation to be
re-evaluated. Since the activity is closing, it will no longer be
eligible to influence orientation. If another stack/task is brought
to the foreground, it will as well won't be able to participate
since it is not considered an opening app and won't be visible. As a
result, we set the orientation to unspecified, leading to the
foreground activity to be resumed in the wrong orientation.

This changelist addresses the issue by allowing an AppWindowToken to
participate in orientation calculations if it is not closing and is
on top of the wm hierarchy, regardless of its visibility.

Change-Id: I0f316d6d824398d084c7648cf2dc2c2d07b4410d
Fixes: 63982461
Fixes: 63513655
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests#testGetOrientation
Test: go/wm-smoke
2017-07-31 08:24:23 -07:00
Selim Gurun
e8315ab4d7 Merge "Update documentation for Whitelist API" into oc-mr1-dev
am: a30ec5ff4c

Change-Id: I28b1d260e9daf408a71494e054dba59954ef926b
2017-07-31 14:35:22 +00:00
Selim Gurun
a30ec5ff4c Merge "Update documentation for Whitelist API" into oc-mr1-dev 2017-07-31 14:27:52 +00:00
Adrian Roos
e06956e5cd WakeAndUnlock: Make sure blanking is never animated
Fixes an issue where instead of immediately blanking the screen upon
authenticating via fingerprint we animated to blank because another
animating transition was requested at the same time.

Change-Id: I141079c0d4de1776c8328057d364eeb0964eebaf
Fixes: 64080116
Test: Unlock via fingerprint a lot. Verify no flicker.
2017-07-31 15:56:24 +02:00
Neil Fuller
2d196d97f6 Merge "Remove redundant TODOs from PackageTracker" am: 01d686b85e am: b65356709e am: 452dcfce41
am: 9fadf818c6

Change-Id: I258b27a87297cae46218991df26f10f91ac5ae12
2017-07-31 13:29:53 +00:00
Neil Fuller
9fadf818c6 Merge "Remove redundant TODOs from PackageTracker" am: 01d686b85e am: b65356709e
am: 452dcfce41

Change-Id: I699962dee85ff318433004cd91f183c0630e3888
2017-07-31 13:21:41 +00:00
Neil Fuller
452dcfce41 Merge "Remove redundant TODOs from PackageTracker" am: 01d686b85e
am: b65356709e

Change-Id: Icbc33207a154b566791210d6c6169235c139562a
2017-07-31 13:06:44 +00:00
Neil Fuller
b65356709e Merge "Remove redundant TODOs from PackageTracker"
am: 01d686b85e

Change-Id: If74fa1bcd6be188079de231e7903795ea7d0b5be
2017-07-31 13:00:50 +00:00
Neil Fuller
01d686b85e Merge "Remove redundant TODOs from PackageTracker" 2017-07-31 12:51:05 +00:00
Android Build Merger (Role)
ea3602d912 Merge "Merge "AOD: When prox covered disable touch during pulse instead of aborting" into oc-dr1-dev am: 3cace2a148 am: 86e49f224c" into oc-mr1-dev-plus-aosp 2017-07-31 12:44:38 +00:00
Adrian Roos
5b69ea4b1a Merge "AOD: When prox covered disable touch during pulse instead of aborting" into oc-dr1-dev am: 3cace2a148
am: 86e49f224c

Change-Id: Id2ce270c16978b6856598cbc5a2342ca1def27f0
2017-07-31 12:42:17 +00:00
Adrian Roos
1ad4226687 Merge "AOD: When prox covered disable touch during pulse instead of aborting" into oc-dr1-dev am: 3cace2a148
am: 13b17b2990

Change-Id: Ib7e303b11b47096daf7216cd6dbd109a047733f9
2017-07-31 12:42:13 +00:00
Adrian Roos
86e49f224c Merge "AOD: When prox covered disable touch during pulse instead of aborting" into oc-dr1-dev
am: 3cace2a148

Change-Id: Ia30c3884751a44392efb843a2da41a0528162fa2
2017-07-31 12:36:21 +00:00
Adrian Roos
13b17b2990 Merge "AOD: When prox covered disable touch during pulse instead of aborting" into oc-dr1-dev
am: 3cace2a148

Change-Id: I94e9f30fa3f56b56c140f834674d38b776c8ed21
2017-07-31 12:36:20 +00:00