Age | Commit message (Collapse) | Author |
|
mainline-tzdata2-release
Change-Id: I3f24fd1f52757411f691188c361389cd2216b5be
|
|
enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours
am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286
Change-Id: Ic4e82083fcc577c808292d6ae76c5d4e072e9c89
|
|
enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours
am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286
Change-Id: I3fa807e2a5e61dfad45b5e27e3116e9e64338c8b
|
|
am: 224d576c0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286
Change-Id: I49fb56b83a8799ac6a380b269bca06adc5289aba
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286
Change-Id: I6645db77a493d55aacc8f645db625ea5f89a8d36
|
|
rvc-dev am: b27497c4bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632
Change-Id: I597107cf0a85b6dbc73dcc4092d3c077d678e661
|
|
rvc-dev
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349
Change-Id: I82ff44bf8945c25f93934ce0d66a9d6df79c39c0
|
|
am: 41f48c7b10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349
Change-Id: I0912c6d109ad74b0525cc5505a77177ed1f96e4a
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348
Change-Id: I4058c131ac922d0a13482465c08dab0f94d3cab1
|
|
am: 39bc6117dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347
Change-Id: I16c075529730d5d7aab08fa0779dac436aa956e4
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016
Change-Id: I339bd999acca04d1a5252a1d3237200a1bbf0088
|
|
* changes:
DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor
Add mechanism for a task's windows to be trusted overlays (SF)
Change InputWindowInfo::isTrustedOverlay() to be permission and flag based.
|
|
Currently, we only check whether a window is partially obscured during
the initial tap down. However, there is another use case: slippery
enter.
During a slippery enter, the touch down is generated into the
slipped-into window, and touch cancel is generated for the slipped-from
window. The window receiving the slippery enter does not need to have
any flags.
Until we figure out whether we can restrict the usage of this flag to
system components, add this check as an intermediate fix.
Bug: 157929241
Test: atest FlagSlipperyTest
Test: atest inputflinger_tests
Change-Id: I93d9681479f41244ffed4b1f88cceb69be71adf2
Merged-In: I93d9681479f41244ffed4b1f88cceb69be71adf2
|
|
To avoid it being initialised to true randomly.
Bug: 199483370
Bug: 196389741
Change-Id: I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa
Merged-In: I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa
|
|
- Add a layer state to indicate that this layer and its children
in the hierarchy are trusted. This can only be set by callers
holding ACCESS_SURFACE_FLINGER, and will be used for the PIP
task layer to indicate that activities in PIP are trusted (as
they are controlled only by the user and SystemUI)
Bug: 191529039
Bug: 196389741
Test: TBD
Change-Id: Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8
Merged-In: Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8
|
|
Add private flag to WindowManager.LayoutParams. If the flag is set,
check if caller has INTERNAL_SYSTEM_WINDOW permission.
Bug: 155781676
Bug: 196389741
Test: atest WindowManagerServiceTests
Change-Id: I58cf9f38c496e0ae8b2193dca45c0805e831bc9e
Merged-In: I58cf9f38c496e0ae8b2193dca45c0805e831bc9e
|
|
Currently, we only check whether a window is partially obscured during
the initial tap down. However, there is another use case: slippery
enter.
During a slippery enter, the touch down is generated into the
slipped-into window, and touch cancel is generated for the slipped-from
window. The window receiving the slippery enter does not need to have
any flags.
Until we figure out whether we can restrict the usage of this flag to
system components, add this check as an intermediate fix.
Bug: 157929241
Test: atest FlagSlipperyTest
Test: atest inputflinger_tests
Change-Id: I93d9681479f41244ffed4b1f88cceb69be71adf2
Merged-In: I93d9681479f41244ffed4b1f88cceb69be71adf2
(cherry picked from commit 870ececa8d5dfb293e671c716f98ccddae24147f)
|
|
Another bug due to a huge amount of complexity in the Parcel
implementation.
Bug: 203847542
Test: added testcase fails on device w/o Parcel.cpp fix, and it passes
on a device with the fix
Merged-In: I34411675687cb3d18bffa082984ebdf308e1c1a6
Change-Id: I34411675687cb3d18bffa082984ebdf308e1c1a6
(cherry picked from commit 04390376b043bf6a15ff2943a9ed63d9d8173842)
|
|
mainline-tzdata2-release
Change-Id: Ic05c46aa04f9072b3dc93e023a17408956f14474
|
|
Surface#destroy am: fe4d05cd44
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15787430
Change-Id: I90d63e606bb73b24b81b676fc38847cae1b697a8
|
|
Surface#destroy
SurfaceView clients may hold on to surface references. In S this means
they would extend the lifetime of the SurfaceControl resulting in
"leaking" buffers until the references are cleared or the app is
terminated.
Fix this by calling a new destroy function on Surface which will
explicitly remove references to the SurfaceControl and BBQ it holds.
This is safe because SurfaceView controls the lifecycle of the Surface
and knows when the Surface will become invalid. Once invalid, the Surface
cannot become valid again.
Test: repro steps in bug
Bug: 198133921
Change-Id: I88fe98fa275dd76e20a5403c24bd2cb3bee5346d
Merged-In: I88fe98fa275dd76e20a5403c24bd2cb3bee5346d
|
|
am: 17aa765fd3 am: d666af6990 am: 62eaabc324 am: d21fe3951a -s ours am: bb79edeabe -s ours
am skip reason: skipped by user smoreland
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15759163
Change-Id: I975a40b925639f24ac13f697f01beea026f7ddb1
|
|
am: 17aa765fd3 am: d666af6990 am: 62eaabc324 am: d21fe3951a -s ours
am skip reason: skipped by user smoreland
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15759163
Change-Id: Iec5da912d314e933555e504fefb9705fe0233634
|
|
am: 17aa765fd3 am: d666af6990 am: 62eaabc324 am: 8cec52154e -s ours am: 993b1603d4 -s ours
am skip reason: skipped by user smoreland
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15759163
Change-Id: I5f56b6aa9d793a935685cb9c390166094dad8603
|
|
am: 17aa765fd3 am: d666af6990 am: 62eaabc324 am: 8cec52154e -s ours
am skip reason: skipped by user smoreland
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15759163
Change-Id: I7231522436c89fe75b0d96bd1c704545cef38bd9
|
|
d666af6990 am: 62eaabc324
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15759163
Change-Id: I53b504bbb6299988939674ba2b21344569c0da6d
|
|
d666af6990 am: 62eaabc324
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15759163
Change-Id: Ie9e50a46e486fecafac61d66b79095687d671a3f
|
|
d666af6990
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15720346
Bug: 197336441
Change-Id: I703760ecbfa007d27caf76556ed21bbf0558df80
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15720346
Change-Id: I51d7e7341d8af4788dbc224b7ab22129c235aa52
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15720346
Change-Id: Ic08346b606933f364a2dbdad7a09c97b9ef059e7
|
|
This was limiting device uptime to ~1 month. Certainly, devices should
update more frequently, but that decision should not be because of
ubsan!
This is a partial copy of the change
Ifa00c32ee184795b03e16b39ac70ff41ebf00331 here.
Bug: 197336441
Test: TH
Merged-In: Ifa00c32ee184795b03e16b39ac70ff41ebf00331
Change-Id: Ib9f3e63e968ac77f0f6ea6447d586db588e9dbe4
|
|
am: 62d46ebc11 -s ours
am skip reason: Merged-In I2a2d02a0d7e67ee9577857a210cb6157683e5598 with SHA-1 52846cd871 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15550161
Change-Id: Ifa744e0b375e20194f82c0573e859575a15cf25b
|
|
Bug: 169893837
Merged-In: I2a2d02a0d7e67ee9577857a210cb6157683e5598
Change-Id: I0c4b099b959d66900eebc2624c85e000a84e9c54
|
|
Bug: 169893837
Merged-In: I2a2d02a0d7e67ee9577857a210cb6157683e5598
Change-Id: Iecdf0a17afe650483461978b42161940ce002101
|
|
am: 810d19378e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15476911
Change-Id: Ie2c273e9b0162070d692ada54f5430306268fa46
|
|
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15463251
Change-Id: I6ca652e01fcefe9d4414147e4908d3f92f6d3a54
|
|
|
|
Fixes an issue where buffers were compared only using the buffer id.
In shared buffer mode, the client will queue up the same buffer id
multiple times so we need to distinguish using the frame number as
well.
Test: https://buganizer.corp.google.com/issues/195447981#comment18
Fixes: 195447981
Change-Id: I2a2d02a0d7e67ee9577857a210cb6157683e5598
|
|
With the current implementation we might mark layers as NoVote
incorrectly when a sibling has a frame rate.
Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest
Bug: 195205467
Change-Id: I62641f855a027e1192f9a85a4bc50692b1744764
|
|
cebf2e6cd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15459770
Change-Id: I9de490bffcc00106e6b683d2028ee5a6f6e2d1a2
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15463254
Change-Id: I92f144eecb30b7eeb513c9ac204be650e21d6b6f
|
|
Calls to ProximitySensor::activate() may repeatedly set enabled=true.
The current logic doesn't account for that. In order to correctly
report the current sensor state, simply use
mSensorDevice.isSensorActive() instead.
Bug: 194878856
Test: 1) Reproduced problem and verified mIsProxActive in "dumpsys
display" contains the correct value and no more 60/90Hz
flicker.
2) Adding local debugs, then mixing making phone calls with
additional "sensor_test sample -s8 -n5" commands to create
several Prox clients, and verifying logged flags and
reference counts.
Change-Id: I2342844ff4e6301a6b9ac8a33dc3e6047fca83ad
|
|
SensorDevice::isSensorActive() currently returns
"numActiveClients() > 0", but it should return ".isActive".
An "active client" is really one that has some requested batching
parameters stored, which it can do even while the sensor is disabled
but, the isActive bool tracks whether the the sensor is currently
enabled at the HAL, which is what we really want.
Bug: b/194878856
Test: Together with ag/15459770:
1) Reproduced problem and verified mIsProxActive in "dumpsys
display" contains the correct value and no more 60/90Hz
flicker.
2) Adding local debugs, then mixing making phone calls with
additional "sensor_test sample -s8 -n5" commands to create
several Prox clients, and verifying logged flags and
reference counts.
Change-Id: Id4a13ebb5cde8de87ee7547d2989c3c0d1a69a09
|
|
changes" into sc-dev am: edec715c76
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15363852
Change-Id: If77029f7df94092da9ff01972dfec8ed8fa6c7db
|
|
changes" into sc-dev
|
|
This CL fixes one of the issues with SurfaceView parent frame and
content syncing.
With BLAST, we have two surface controls each setting a scale. The
parent surface control sets a scale based on the requested surface
size and the SurfaceView layout size. The BlastBufferQueue surface
control scales the buffer to the requested buffer size if the buffer
has the appropriate scale mode.
The destination frame controls the second scaling and it must be
applied with the parent surface scale changes. This cl fixes flickers
where the requested fixed surface size changes without any view size
changes. This cl allows the caller to pass in a transaction to
BLASTBufferQueue#update which is updated with the destination frame
changes. This transaction can then be applied with the parent
surface changes.
This also fixes an issue where destination Frame was being set on
every buffer update and when we updated the BlastBufferQueue size.
Since buffer transactions can be queued up on the server side, a
stale value maybe applied for a few frames causing flickers.
Fixes: 194458377
Test: bug repro steps
Test: atest SurfaceViewSyncTest#testSurfaceViewSetFixedSize
Change-Id: I216586842ff45bfd398659b5cc0c89eaf51394ff
|
|
sc-dev am: addd383230
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15404307
Change-Id: I4d4f2f42013b538e84f87c9e86d1417852fee376
|
|
into sc-dev am: f6e2ea73ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15412093
Change-Id: Ibf1f802a7bd9565b0b1570dc44300e0301e58552
|