Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Patches :D #2

Open
wants to merge 386 commits into
base: eleven
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
386 commits
Select commit Hold shift + click to select a range
f177c45
Snap for 5984067 from 0be01b4efc148049015e3df39bee7f1ec6f20ba6 to rvc…
Nov 2, 2019
f3bb6e4
Snap for 5987274 from 7a0e3938a2ca75b8b4922693d42e827e11625bc6 to rvc…
Nov 5, 2019
c25b14e
Snap for 5989825 from e21953e92e256e3db7960d0210d477f45ecd31e5 to rvc…
Nov 6, 2019
4e9fcbb
Snap for 5992631 from efc9eec7149b33fc755c448cddb28fec288dccdd to rvc…
Nov 7, 2019
ad9e677
Snap for 5999026 from e00dd195c59f5511e64d8ac28de8ed88c5990f3b to rvc…
Nov 10, 2019
f68a1ed
Snap for 6001908 from bed73cb0313f74a332fbe543088f1fe1d25fe305 to rvc…
Nov 12, 2019
6103686
Snap for 6004599 from cf802c508f7c151d1e5d33fe3a59844271168cdc to rvc…
Nov 13, 2019
57da32a
Snap for 6007460 from 1256e378e82cdc696f7c05846537b52ad8a63cf6 to rvc…
Nov 14, 2019
72268f1
[SurfaceFlinger] Don't persist buffers to HWC when powered off.
AMouri Nov 12, 2019
773ee02
Merge cherrypicks of [9734022, 9734337, 9733748, 9733749, 9734338, 97…
Nov 14, 2019
bcf699b
Snap for 6013487 from e9975827e8be35c0fcc3a200ef8b1d336d6d201e to rvc…
Nov 17, 2019
bed006f
Snap for 6016664 from d3df1b3476a0840c16622be619ba5876351a2bb2 to rvc…
Nov 19, 2019
17eb923
Snap for 6019291 from edc2d69c20413a284e0ccd8733738ab64326a19b to rvc…
Nov 20, 2019
a3edf95
Snap for 6022569 from cb6af747af315bbafe0aa769a36ad4d5229d1954 to rvc…
Nov 21, 2019
ce201c1
Snap for 6029552 from a3c5d2326e731dfb3b708001fa639d7a0eaa4c1c to rvc…
Nov 24, 2019
5fd7c31
Snap for 6035658 from 0a37a2c52bad3f8f236fa9c5083e578b013d1576 to rvc…
Nov 27, 2019
20bde44
Snap for 6038280 from 2af911b84fcb551c788ec4533904d9d480815992 to rvc…
Nov 28, 2019
fe9fffa
Snap for 6041582 from 28d8c7db9bda4410adeee25affdff1e546d6de7f to rvc…
Dec 1, 2019
6707718
Snap for 6045210 from 470eee763633c0ef2afb59415e777b8a6a9ca869 to rvc…
Dec 3, 2019
0f6f718
Snap for 6047681 from 75bed1e67098294ec45072e3aab0013ce45025ce to rvc…
Dec 4, 2019
30eb7de
Snap for 6050516 from b6d054318bdea320bb708fadcb43f965b66e5ee3 to rvc…
Dec 5, 2019
1c929d2
Snap for 6053205 from 85d384afd04af77130ef2c61f46928eaef8ed6ae to rvc…
Dec 6, 2019
cbe5fa4
Snap for 6056566 from 896bcfceafc9f696d5f93032bc2814f2e35c9bf2 to rvc…
Dec 7, 2019
f736f44
Snap for 6060420 from 0d4bd95f746fe21e2a24b1e66d2215acc130e136 to rvc…
Dec 10, 2019
c80b42e
Snap for 6063671 from c718b0d3b40839beaee08b5b317a6e8e86b47747 to rvc…
Dec 11, 2019
a80e835
Snap for 6066770 from 130841cc90d73f6fa289a533ac7a1dbf22331f43 to rvc…
Dec 12, 2019
ecb74e7
Snap for 6069976 from b81762c72c55a91f6c1fa7ce2370bc194d48e34e to rvc…
Dec 13, 2019
7405ba0
Snap for 6073191 from af87114fee38f4dcf2f687b8f4b2fdcd702f72d8 to rvc…
Dec 14, 2019
1a45ac9
Snap for 6073908 from 1aa60c16314c3f589ab3d73a6bde3d5b88743563 to rvc…
Dec 15, 2019
61e8c67
Snap for 6077728 from af94d9d49f287db0fdb1b8662b32614c71483b0a to rvc…
Dec 17, 2019
3010746
Snap for 6081300 from 1730b0be85f5005ffef0e9f2a68727045b039218 to rvc…
Dec 18, 2019
42d8eb5
Snap for 6084815 from 71ff716378840914f4bfc081908e0a63b28e9a49 to rvc…
Dec 19, 2019
f5f92cf
Snap for 6088378 from bca35eb9604b88505b6c8166d607bf8b51d6cfc4 to rvc…
Dec 20, 2019
e90a210
Snap for 6091606 from 66b3f67067e3d91d7372f974baf0f8e678270732 to rvc…
Dec 21, 2019
c25e1e6
Snap for 6092494 from c58d6be0cd51f07aaeac8702355b8500dd6a2ffd to rvc…
Dec 22, 2019
36c04dd
Snap for 6095466 from c41ab321c1361ef9faabeefc78c69d606ef2aceb to rvc…
Dec 24, 2019
edee2a8
Snap for 6098112 from 234fca17effce057b6beaf2d8052583c2c1b04e6 to rvc…
Dec 26, 2019
f78ff27
Snap for 6099757 from 6f6e23056a9e2c1fc6128d2775ceeee0ac2dd374 to rvc…
Dec 27, 2019
84b3e23
Snap for 6108108 from f7308542d34d0b07ac860e2ea6e2cb601e213a44 to rvc…
Jan 3, 2020
72aba07
Snap for 6110375 from 1ca25ba9dc813b1a97e14997ce6bf5cb59e42be5 to rvc…
Jan 4, 2020
ef7580b
Snap for 6111104 from ae73bff6bfc908e61b7621c081699cc99b8ba921 to rvc…
Jan 5, 2020
043b0a7
Snap for 6114771 from 2880ff3e6262d95c6167e076f9efe15e1a5fe3dd to rvc…
Jan 7, 2020
d094564
Snap for 6118234 from e950a4e1e932e95b78e757be811ac8e85993bd47 to rvc…
Jan 8, 2020
f8f80ae
Snap for 6121193 from 966888df94240830d03d589600a35af2e5385e42 to rvc…
Jan 9, 2020
af554f8
Snap for 6123763 from 93e7902237955a248c57378696b9c29ae71a4e00 to rvc…
Jan 10, 2020
bb42d59
Snap for 6127482 from 448dba5c737a0abbaceeca1bcfd8224ae34fc022 to rvc…
Jan 11, 2020
88690f3
Snap for 6128581 from 0d7734aa3395f490bf2fb538912770af52de4ff4 to rvc…
Jan 12, 2020
56cde6f
Snap for 6129334 from c095d63733ee40d71c39ba8083e218d568a438ba to rvc…
Jan 13, 2020
2f190de
Snap for 6132583 from 4991c5978364f1b6e65486d972978c3f63342d34 to rvc…
Jan 14, 2020
3649b7b
Snap for 6134912 from dc82d9e659fbcbfd7e58e2f830105e13391c2917 to rvc…
Jan 15, 2020
98f63ab
Snap for 6138855 from 0f67b9fa6cae94800ba9d8bbfd5265ae250e8621 to rvc…
Jan 16, 2020
ba07fb2
Snap for 6142138 from fbb86a6baec5b0e91a94413a629d7a49f000d28b to rvc…
Jan 17, 2020
de76ab5
Snap for 6145313 from b8c7368328425733bc4566cb40a0e292641e92bc to rvc…
Jan 18, 2020
6a5bcf1
Snap for 6146171 from 46bb0aec07de33d13c545c39f5e2720450a50731 to rvc…
Jan 19, 2020
aed22d5
Snap for 6152176 from a961e1172646cb0ddad3fab0566693f1732624ad to rvc…
Jan 22, 2020
9a879d4
Snap for 6154573 from db7802b312452ba08a84fd87100aae5b21458799 to rvc…
Jan 23, 2020
ba20230
Snap for 6157842 from 75df83e93a635f0d4f6c8ce2d8470bdb5b50234e to rvc…
Jan 24, 2020
be5037c
Snap for 6160382 from 366d217b091445db43dbd37ab1729d671a1e1719 to rvc…
Jan 25, 2020
7fa2306
Snap for 6161078 from 77707d96b56ecb7658769f525f8e1a0bf16c14da to rvc…
Jan 26, 2020
2b385d5
Snap for 6161801 from b2a6955c6bc7a59b916cf71347afc9c7e57c54ee to rvc…
Jan 27, 2020
698899b
Snap for 6164373 from 466691bed8140fba59e581600e71cdcb6c64e8bd to rvc…
Jan 28, 2020
95a7f4e
Snap for 6166993 from 5e18e87382e421c37947f92096832d589afbf8af to rvc…
Jan 29, 2020
4dee0ec
Snap for 6170127 from cb6991f1dd5ac9f421c9a43d9cf858369e07b342 to rvc…
Jan 30, 2020
62e34ed
Snap for 6172028 from 199495817eb791d0a0745bb2c940b980277330d3 to rvc…
Jan 31, 2020
d7fac69
Snap for 6174197 from 34189ff16408cdbf62e0d2cff9806c56d8b87fc6 to rvc…
Feb 1, 2020
b93fb95
Snap for 6175640 from 933e81b592902c56cb2cec4c63915a878b3653ad to rvc…
Feb 2, 2020
fa2c5b6
Snap for 6176706 from 5a377dd1be593ba62381f5509aba3564d7ef0797 to rvc…
Feb 3, 2020
0400f2c
Snap for 6179498 from 20a6ee25857178a120aa91a3875ad8854c0b4426 to rvc…
Feb 4, 2020
e13c3f6
Snap for 6182732 from b1f1a5d40c363d57ef0579087bd8bbd4c7a4b0cb to rvc…
Feb 5, 2020
f15d17f
Snap for 6185678 from 21a64de2f77e9a909de2c414e683535130b16d6e to rvc…
Feb 6, 2020
2aae8da
Snap for 6188643 from 415974ebae005add7f781f468c8ae8a02f1b1e2c to rvc…
Feb 7, 2020
c22d075
Revert "SF: Remove refresh_rate_switching flag. With a fix."
nogavicka360 Feb 7, 2020
12500db
Merge cherrypicks of [10273604, 10273858] into rvc-release
Feb 7, 2020
4730e93
Snap for 6191568 from 01a43ca0e2c3f9dbfb830bcc3b92012490c787ac to rvc…
Feb 8, 2020
1a01c40
Snap for 6192959 from 7340afce22fd873890f9511834b5f03029bc9c7f to rvc…
Feb 9, 2020
40db386
Snap for 6197114 from 314dc6c2e6403b937fe2094e08eb3487a5f36182 to rvc…
Feb 11, 2020
6db519d
Revert "SurfaceFlinger: use vsyncPeriod from HWC"
Feb 11, 2020
45e47e7
Merge cherrypicks of [10300388] into rvc-release
Feb 11, 2020
d09c190
Snap for 6199579 from f22c0ebb8ad2bc22ab3e78b4e377ef39f3c9470e to rvc…
Feb 12, 2020
b4c3450
Snap for 6203617 from 3c28860e9781f19ee11d0270c49cae283dfbc039 to rvc…
Feb 13, 2020
6c85473
Snap for 6206568 from e755d04ebe55ee37ead0fe678970a7720935de7e to rvc…
Feb 14, 2020
8f71ca8
Snap for 6210127 from 133083e57a0ea88e6eee4b1e68801bfb59dfaefa to rvc…
Feb 15, 2020
b358546
Snap for 6211803 from 2095463ae4d0cc3d2c8420443ea25ab125198d4d to rvc…
Feb 16, 2020
f44b2ea
Snap for 6212682 from b0d738af0fe2874416cecac9eb7f931d01a12a31 to rvc…
Feb 17, 2020
6cb9c6c
Snap for 6214566 from 31cf0a0d5a9c722e1a86f57963e5e8dd0e1bef76 to rvc…
Feb 18, 2020
30be0f2
Snap for 6216739 from e78aa72ad48bbe6d9ed97c9bfca9f87b64d62787 to rvc…
Feb 19, 2020
b96fae8
Snap for 6220271 from 0a588706dbd34220a53c0e4f49103005e65a0969 to rvc…
Feb 20, 2020
21b2b53
Snap for 6224475 from ae00b8c56790c448163a40332521b219526590c5 to rvc…
Feb 21, 2020
9f552ab
Snap for 6227479 from 219643eebd19e550100f317ea52854bde4047d8f to rvc…
Feb 22, 2020
2cc69c1
Snap for 6237110 from 5a1891dc220b8bac9874e2bc4f3e5de44d14f97a to rvc…
Feb 26, 2020
50e0029
Snap for 6239836 from 57cabaca38fd527acdec5fb92c7c5189214ba2b1 to rvc…
Feb 27, 2020
d285820
Snap for 6245507 from 85f33da39fe97768da15e65a4787e4ca87573468 to rvc…
Feb 28, 2020
7b58ca3
Snap for 6249303 from 2e2bb5b89ccd8e3f7023a13a846d32329f9ee645 to rvc…
Feb 29, 2020
683c699
Snap for 6255322 from 104600438dbedd857bbb88291f84759d39b1dc5e to rvc…
Mar 3, 2020
b0da9e6
Snap for 6259407 from 62e949bcc82056b7c9da441f3172cfd1e4a88cc6 to rvc…
Mar 4, 2020
3e37eea
Snap for 6264568 from a821321b901c5fdd9d00914ad3dbfbfa07f78695 to rvc…
Mar 5, 2020
72f49dc
Snap for 6269144 from f098f119a1854d123f0f82fb22aaec777176c76a to rvc…
Mar 6, 2020
887648c
Snap for 6272866 from 559b4339c728ee56c4eebc4d3c50866564501afa to rvc…
Mar 7, 2020
d33cbe2
Snap for 6274646 from 44ecbf8a3c5f1b5b876a77a55df2898c66463f62 to rvc…
Mar 8, 2020
52122b7
Snap for 6279178 from 966d74c49dcf2b641950ca99691509d90f8276cd to rvc…
Mar 10, 2020
1863a96
Snap for 6282804 from 3bbfb422fc832df7d590c45be1000fcfa51ae7fe to rvc…
Mar 11, 2020
a1d6f69
Snap for 6286840 from 9fd126d0b550e4b1c5c55c6f90c73c6894793c90 to rvc…
Mar 12, 2020
d6e5fff
Snap for 6291259 from 48dc9323b392fec20f532403e08ea20435845170 to rvc…
Mar 13, 2020
6c25b67
Snap for 6294963 from da8418c0fdf29d574940730a8458f8702beeb00a to rvc…
Mar 14, 2020
5a83ac4
Snap for 6296359 from 80bc2f6a5735ac863fc4539dd7bc46522aef9739 to rvc…
Mar 14, 2020
cd4a3fe
Snap for 6301911 from 8e46e756719b34359cd046621dbabac4c5afde9f to rvc…
Mar 17, 2020
9d7393f
Snap for 6305839 from 1032fac2f76b0eb83ddf0f22784e994547824c6a to rvc…
Mar 18, 2020
2da6cae
Snap for 6309957 from 2b902ca117b8e877c88903e9aa2693d6ecc81e59 to rvc…
Mar 19, 2020
2322d23
Snap for 6314400 from 3895bbf1a894d8a034ce2b942b17af52c1cbc133 to rvc…
Mar 20, 2020
21ba104
Snap for 6318458 from 134a699e8dc8fab48182f8575ca95c49af8428e5 to rvc…
Mar 21, 2020
069cda3
Snap for 6320579 from f08d9c835f9e422e34f19b0ed779cea1ec983105 to rvc…
Mar 21, 2020
938c3f7
Snap for 6321673 from 0ca2209ef700cae9a071db3ab54b78272c985d1b to rvc…
Mar 22, 2020
f030e87
Snap for 6325693 from 0002e6c4f5205e2b2f091bac99d9bb5f31b6167b to rvc…
Mar 24, 2020
0f63e79
Snap for 6329815 from f3b34f7fbf5f78d44c352bed5dfe8d85d1acfd4e to rvc…
Mar 25, 2020
8fe3ca6
Snap for 6333744 from e56e17755945d138336f7c45978a4d883173e444 to rvc…
Mar 26, 2020
952ce1f
Snap for 6338078 from e5e415084bf5bbe662743caca58e97e396097916 to rvc…
Mar 27, 2020
955ada1
Snap for 6342437 from 1718db1f09105a5393c7aa6b49a526ed5910ceb9 to rvc…
Mar 28, 2020
c84d39c
Snap for 6343882 from edbc86de0530ebe4919ce9a84b221f4f32fd67e1 to rvc…
Mar 28, 2020
e3c13cd
Snap for 6348860 from 6aa156cad417719c6ed9b84a8ed04e5ab7a2bc31 to rvc…
Mar 31, 2020
313c112
Snap for 6353066 from 5ea5df566c65074a7f405d8a31ed894f169785cd to rvc…
Apr 1, 2020
c3da1b0
Snap for 6357023 from e8a88834b77ca9d861af1851b3708889bf3be60f to rvc…
Apr 2, 2020
e20e8bf
Snap for 6360479 from fc4165121b6343e674f3899784eeef367f3801fa to rvc…
Apr 3, 2020
44c8d3e
Snap for 6364069 from 4e2936c2d1d9fa231da596c4288a612574a194e8 to rvc…
Apr 4, 2020
51f029c
Snap for 6370344 from 584ab0d9d98d0f0ae0b5974353e8369f46fff889 to rvc…
Apr 7, 2020
1a39352
Snap for 6374687 from 8aea79013448caab444bb6d43de5eb4199774e10 to rvc…
Apr 8, 2020
bd38c8c
Snap for 6378851 from 164a1d8b1eb9b12894e62e76813421d8bd7fd830 to rvc…
Apr 9, 2020
039e80c
Snap for 6383144 from 06e0cee7de37628cb39898903300ae55c83189c0 to rvc…
Apr 10, 2020
ebee71a
Snap for 6386750 from 696b6c83b15397d6c6088f5be58e5f78e998d72b to rvc…
Apr 11, 2020
451e8cf
Snap for 6388139 from 7c24a5510f030b6fba2d112b6d8236a20d7217e8 to rvc…
Apr 11, 2020
8caf284
Snap for 6392464 from 748bae0bc62f77f136528feeba7b4b5208b2509e to rvc…
Apr 14, 2020
f8c8541
Snap for 6396429 from 9bb4cfb009f1317605e8ff090e0ce930e15d4d40 to rvc…
Apr 15, 2020
735ce57
Snap for 6398428 from 931c87d9863ff5439a95d09425afca13e4f94c4f to rvc…
Apr 16, 2020
03a694f
Snap for 6402531 from 2984b7af4f7969cdc02dea6a1722635cc9a432dd to rvc…
Apr 17, 2020
434859b
Snap for 6406367 from caeea929f73849ecbcaf76540a8e2a9066a6eefa to rvc…
Apr 18, 2020
e7dbf4b
Snap for 6408188 from c0867245ec632091b53ab58704454b50723f7a84 to rvc…
Apr 18, 2020
b5183a1
Revert "Use resolution to round sensor event values"
astange Apr 20, 2020
f358e8a
Merge cherrypicks of [11174105, 11175293] into rvc-release
Apr 20, 2020
5ab8bc4
Snap for 6412615 from a0bb096dc6af57fdc944260409d1d75d10103276 to rvc…
Apr 21, 2020
4368557
Revert "Use resolution to round sensor event values"
astange Apr 20, 2020
c0cb383
Merge cherrypicks of [11199368, 11200393, 11199382] into rvc-release
Apr 21, 2020
2874f1f
Snap for 6416172 from d838f6933d325bde1ee769cac1c58561a92b69f4 to rvc…
Apr 22, 2020
a4a22de
Snap for 6420265 from 85c2ee61552053499e1ec0ad00862cade90e2904 to rvc…
Apr 23, 2020
3c7b9a1
Snap for 6424828 from dbdf0ab6f470d6edc85b7902bef2d153b8295c17 to rvc…
Apr 24, 2020
05f343a
Snap for 6429305 from dc64a603d235f9c12ad598c9151af6ad8b23b3f6 to rvc…
Apr 25, 2020
2ad86e6
Snap for 6436225 from c50b604460d60c84862b08566f35c789ab0457a3 to rvc…
Apr 28, 2020
9f7e187
Snap for 6440900 from eeff9de91c28ff8ea69072260b9ed67444b969a1 to rvc…
Apr 29, 2020
236cb1a
Snap for 6445537 from 6650884c0e05b4e65731090449cacbf370118712 to rvc…
Apr 30, 2020
41ab555
Snap for 6449986 from 1b8793a693aaba1be177f1cfaf8932aa30ac0034 to rvc…
May 1, 2020
e5a5525
Snap for 6453963 from 40dbb5fb4132379406f72c6d2b6519a89ed97d9d to rvc…
May 2, 2020
2e01e63
Snap for 6456040 from 6c245b42f53376ccd4a7f04c711a49aac1eab926 to rvc…
May 2, 2020
3d34748
Snap for 6457037 from 49497c9af796204dc09aed3e0d643e82402f7f2c to rvc…
May 3, 2020
f6c8935
Snap for 6461449 from a2fad15aac4609e9a33d38bad4882f4c32ea542b to rvc…
May 5, 2020
fc2b37d
Snap for 6465574 from 547bea0331cd9d24e3931fefe4ea4fdfd6ddbbcf to rvc…
May 6, 2020
6cd452a
Snap for 6469672 from 2f116e22b0cac8591dd91e67c9581e9a52033d46 to rvc…
May 7, 2020
063f41a
Snap for 6473661 from 4264917141fe1f4a38da5f0698c5cc87f7720f80 to rvc…
May 8, 2020
a490132
Snap for 6477313 from a511811bd94c4bc859cdb693d25fc02a9317b59d to rvc…
May 9, 2020
4475a07
Snap for 6478919 from 0050943c5ca982c1ce2398414f888d5c66eccb8a to rvc…
May 9, 2020
214a9a7
Snap for 6484097 from 7db72bbbbfe01b1dd46e8a4d82d85e9ec6db5662 to rvc…
May 12, 2020
313ec83
Snap for 6488384 from 942c53703fa4d1dec14d0e68b594c83e5fd30c4f to rvc…
May 13, 2020
8bdd6d1
Snap for 6492800 from 9adccca5dd6186173b5049996e55e1d637dc44a6 to rvc…
May 14, 2020
e2f616f
Snap for 6500447 from 418a9e4235ead6c3b8a6ad812cdcd21de7471d8b to rvc…
May 16, 2020
3d187d0
Snap for 6502385 from 9b5bf0f42d57387a3451aa9eb9bfb1075fcb91a4 to rvc…
May 16, 2020
c93b4a1
Snap for 6507440 from b79738ea7064d3880a3eea54238fb0ebb17291f0 to rvc…
May 19, 2020
e8df22b
Snap for 6511878 from 513a77cffdbad1be2cacff7a9ed272659c376c64 to rvc…
May 20, 2020
dcd86e7
Snap for 6516174 from 76ad0655bbf35a88362d6f9aaa31585bd83b886c to rvc…
May 21, 2020
6f8787a
Snap for 6522252 from 68904ad94c9a6ab6294ac0d4394a191c1d4c7f02 to rvc…
May 23, 2020
804ffa7
Snap for 6534196 from ac17aa0a0f8a137ad5dd010ba41e17bab27a32b7 to rvc…
May 28, 2020
82a6a0b
Snap for 6538416 from 0b257105a2b1b8848cff6bd7a9d20765cf9cadd5 to rvc…
May 29, 2020
c3594a0
Snap for 6542686 from b74fe1dc23243f74ed6deb3f38457f818d8b5383 to rvc…
May 30, 2020
b7f9d1a
Snap for 6544675 from 983e568b3c370659f11fcf76cbd45c61dfd8dc33 to rvc…
May 30, 2020
b097c95
Snap for 6549063 from b31d3c81e9061961c23c24b8f29a81d772b13d93 to rvc…
Jun 2, 2020
9c1d9e8
Snap for 6553159 from c43da98656bbf1944991b5d3fa415e2a8f2c966c to rvc…
Jun 3, 2020
13792d2
Snap for 6560464 from a8d1de82db55e770b6919386bc2a90fdc7079e0a to rvc…
Jun 5, 2020
21f2f81
Snap for 6564423 from 5bcc8f8a38ed372cb7487abc6fbdb1ffb87e1681 to rvc…
Jun 6, 2020
88edd7c
Snap for 6570104 from 32ca5feb993cb0e35863d8b4cb12d389ccf6d6bb to rvc…
Jun 9, 2020
e49dfd5
Snap for 6573866 from 6c457787c993f181c712260629f3e6c5dfa1b166 to rvc…
Jun 10, 2020
ddd64bc
Snap for 6578268 from ce1cb8c69d956bd5cf9214a3fe72095106bc83ed to rvc…
Jun 11, 2020
7145c96
Snap for 6582636 from 5e520a5a8e1263f48b972f04eeaeb110144eb284 to rvc…
Jun 12, 2020
d02015c
Snap for 6586393 from 680edcf1209d440420de98300a33f8dac1cb8312 to rvc…
Jun 13, 2020
3ff7db5
Snap for 6592941 from a9ef659a8bc5fbde5eabf4047c0069251d3e3a2b to rvc…
Jun 16, 2020
4771fb5
Snap for 6596975 from dbc3025d05435657f35416eade5e20a066ff3751 to rvc…
Jun 17, 2020
bd5482d
Snap for 6601700 from 0f083b8f3387aa9985c73896559ac1f7d1c079cb to rvc…
Jun 18, 2020
50d2080
Snap for 6606167 from 72b3fa467da003ac78248b6868ed51d2401e0b47 to rvc…
Jun 19, 2020
3cb0ea2
Snap for 6610691 from 109ad7156997f031717183664ac51a03110bc2b3 to rvc…
Jun 20, 2020
9f74d42
Snap for 6617762 from 4524ce518978310b58ccb13c1fc7438f7c71819c to rvc…
Jun 23, 2020
24fc3f0
Snap for 6621766 from 80d685aef18683ed175e0a3fddbd8f55a83c788d to rvc…
Jun 24, 2020
35827ac
Snap for 6626121 from 017bcd179d70208bb8a3fcbe115f8cfa5e64b794 to rvc…
Jun 25, 2020
7bee6de
Snap for 6630229 from f4facf26144de0efcdb3806e6fc852b5be9c9501 to rvc…
Jun 26, 2020
c2dca11
Snap for 6634012 from 18c692ccd16ff35ad3214ee7342feab48a6b3d9e to rvc…
Jun 27, 2020
347631c
Snap for 6635529 from f4beceb1e8497d18057818c526003bcbe4c3c06e to rvc…
Jun 27, 2020
d790a82
Snap for 6643631 from 9b2526e50d375d60e5a6a43992649d9bb25c176a to rvc…
Jul 1, 2020
a5546e7
Snap for 6668007 from 9aacd0cffd172b636f55f73fb620375c7c04021f to rvc…
Jul 10, 2020
b072f65
Snap for 6680390 from 4b2220c0c0cdf33d694e39444e31df4532d037c6 to rvc…
Jul 15, 2020
b8293fd
Snap for 6690197 from df8a0739f7ab42ce59e2370867d26ed2793b6228 to rvc…
Jul 18, 2020
b437df0
GpuService: secure setUpdatableDriverPath
Jul 29, 2020
1f8eaf9
libbinder_ndk: fix failure when dump/shell are unset
smore-lore Aug 6, 2020
2682439
Prevent mEventCache UAF in SensorEventConnection
Sep 22, 2020
e0ef447
libbinder: Add ClientCounterCallbackImpl to LazyServiceRegistrar
Oct 28, 2020
d12cbfc
resolve merge conflicts of cae2ee036040fc0dce9fc82af9bf8d85240d566b t…
Dec 9, 2020
6fa3f0d
libbinder: check null bytes in readString*Inplace
smore-lore Nov 18, 2020
ffa62ed
libbinder: readString*Inplace SafetyNet (II)
smore-lore Dec 4, 2020
c02140b
SF: handle long waiting Layer sync point
Oct 13, 2020
9e07dbd
Ensure that expected present time is in the future
Snild-Sony Jan 22, 2021
8734385
Merge tag 'android-11.0.0_r32' into staging/lineage-18.1_merge-androi…
haggertk Mar 6, 2021
1e7f9e6
gralloc4: fix PlaneLayout encode typecasting
Sep 15, 2020
2968795
Merge tag 'android-11.0.0_r38' into staging/lineage-18.1_merge-androi…
haggertk Jun 8, 2021
9297865
Do not modify vector after getting references
vishniakou Mar 3, 2021
6f1f9d4
Merge cherrypicks of [15151698, 15151719, 15151903, 15151905, 1515190…
Jun 30, 2021
ed22282
Properly scale touch input window through resolution changes
webgeek1234 Feb 22, 2021
240b811
Use the original device ID when the injected event is unchanged
Jun 17, 2021
23c9f41
Revert "Use the original device ID when the injected event is unchanged"
sam3000 Jul 28, 2021
11c9e3c
Merge tag 'android-11.0.0_r43' into staging/lineage-18.1_merge-androi…
haggertk Sep 8, 2021
571b407
libbinder: uptimeMillis returns int64_t! am: 3ba4963f5b am: 17aa765fd…
smore-lore Sep 3, 2021
a7eb8e3
Merge cherrypicks of [15800618, 15800895, 15800896, 15800898, 1580090…
Sep 10, 2021
d911130
Merge tag 'android-security-11.0.0_r49' into staging/lineage-18.1_mer…
haggertk Nov 3, 2021
a9d41ef
avoid extra release of unowned objects in Parcel error path
smore-lore Nov 2, 2021
f97fe13
Merge cherrypicks of [16177016, 15975347, 15975348, 15975349, 1619463…
Nov 12, 2021
04e1f8e
Merge tag 'android-security-11.0.0_r51' into staging/lineage-18.1_mer…
haggertk Jan 5, 2022
53414ca
Check if the window is partially obscured for slippery enters
vishniakou Dec 9, 2020
d433168
Merge cherrypicks of [16194632] into security-aosp-rvc-release.
Jan 15, 2022
c15bd7d
Merge tag 'android-security-11.0.0_r53' into staging/lineage-18.1_mer…
haggertk Mar 8, 2022
e26f838
EGL: Loader: Enable desktop openGL on Nvidia platforms
bylaws Mar 16, 2020
c41fa07
EGL: nvidia: Don't use extension map
webgeek1234 Mar 25, 2022
06852ff
EGL: nvidia: For desktop gl contexts, use gles v2 hooks list
webgeek1234 Mar 25, 2022
101d8a1
Fix eglMakeCurrent crash when in opengl contexts
webgeek1234 Apr 21, 2018
4415ef3
RESTRICT AUTOMERGE SurfaceFlinger: fix a potential race condition in …
Jun 6, 2022
04d8086
Merge cherrypicks of [18766123] into security-aosp-rvc-release.
Jun 11, 2022
847c78f
Merge tag 'android-security-11.0.0_r58' of https://android.googlesour…
haggertk Aug 4, 2022
3a3c097
Change InputWindowInfo::isTrustedOverlay() to be permission and flag …
lzye May 10, 2020
2495fc8
Add mechanism for a task's windows to be trusted overlays (SF)
Jun 29, 2021
ed9f09b
DO NOT MERGE Initialize DrawingState::trustedOverlay to false in cons…
hex539 Sep 10, 2021
5be28bb
SurfaceControl: Add setDropInputMode api
Jan 27, 2022
b8c1281
InputFlinger: Add DROP_INPUT feature flags
Jan 26, 2022
f947be7
SurfaceFlinger: Implement drop input modes
Feb 8, 2022
cdf3a65
Merge cherrypicks of [15975347, 15975348, 15975349, 16508592, 1650859…
Oct 7, 2022
2bd85a0
Merge tag 'android-security-11.0.0_r62' of https://android.googlesour…
haggertk Dec 7, 2022
918105e
Allow windowhandles with NO_INPUT_CHANNEL - DO NOT MERGE
Mar 4, 2022
a0e903c
Merge cherrypicks of ['ag/18029504'] into security-aosp-rvc-release.
Dec 8, 2022
ca36dc1
Merge tag 'android-security-11.0.0_r64' of https://android.googlesour…
haggertk Feb 11, 2023
d686fc8
Mitigate the security vulnerability by sanitizing the transaction flags.
Oct 5, 2022
37fb465
Merge cherrypicks of ['googleplex-android-review.googlesource.com/208…
Mar 2, 2023
1c6ab30
Check for malformed Sensor Flattenable
devinmoore-goog Feb 17, 2023
7ccc06a
Remove some new memory leaks from SensorManager
devinmoore-goog Feb 17, 2023
0e7353f
Add removeInstanceForPackageMethod to SensorManager
astange Feb 21, 2023
fae5956
Merge cherrypicks of ['googleplex-android-review.googlesource.com/215…
Mar 9, 2023
b42d864
inputflinger: allow disabling input devices via idc
bylaws Feb 4, 2022
b591c47
Merge tag 'android-security-11.0.0_r66' of https://android.googlesour…
haggertk Apr 12, 2023
c25b27d
Merge tag 'android-security-11.0.0_r67' of https://android.googlesour…
haggertk May 5, 2023
53a3877
Merge branch 'lineage-18.1' into eleven
Meghthedev May 29, 2023
aa776a6
Allow sensors list to be empty
devinmoore-goog Apr 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cmds/surfacereplayer/proto/src/trace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ message SurfaceChange {
ReparentChildrenChange reparent_children = 20;
BackgroundBlurRadiusChange background_blur_radius = 21;
ShadowRadiusChange shadow_radius = 22;
TrustedOverlayChange trusted_overlay = 23;
}
}

Expand Down Expand Up @@ -208,4 +209,8 @@ message DetachChildrenChange {

message ShadowRadiusChange {
required float radius = 1;
}

message TrustedOverlayChange {
required float is_trusted_overlay = 1;
}
17 changes: 9 additions & 8 deletions include/input/InputWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ struct InputWindowInfo {
TYPE_ACCESSIBILITY_OVERLAY = FIRST_SYSTEM_WINDOW + 32,
TYPE_DOCK_DIVIDER = FIRST_SYSTEM_WINDOW + 34,
TYPE_NOTIFICATION_SHADE = FIRST_SYSTEM_WINDOW + 40,
TYPE_TRUSTED_APPLICATION_OVERLAY = FIRST_SYSTEM_WINDOW + 42,
LAST_SYSTEM_WINDOW = 2999,
};

enum {
INPUT_FEATURE_DISABLE_TOUCH_PAD_GESTURES = 0x00000001,
INPUT_FEATURE_NO_INPUT_CHANNEL = 0x00000002,
INPUT_FEATURE_DISABLE_USER_ACTIVITY = 0x00000004,
INPUT_FEATURE_DROP_INPUT = 0x00000008,
};

/* These values are filled in by the WM and passed through SurfaceFlinger
Expand Down Expand Up @@ -163,6 +163,12 @@ struct InputWindowInfo {
bool hasFocus = false;
bool hasWallpaper = false;
bool paused = false;
/* This flag is set when the window is of a trusted type that is allowed to silently
* overlay other windows for the purpose of implementing the secure views feature.
* Trusted overlays, such as IME windows, can partly obscure other windows without causing
* motion events to be delivered to them with AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED.
*/
bool trustedOverlay = false;
int32_t ownerPid = -1;
int32_t ownerUid = -1;
int32_t inputFeatures = 0;
Expand All @@ -175,20 +181,15 @@ struct InputWindowInfo {
void addTouchableRegion(const Rect& region);

bool touchableRegionContainsPoint(int32_t x, int32_t y) const;
bool frameContainsPoint(int32_t x, int32_t y) const;

/* Returns true if the window is of a trusted type that is allowed to silently
* overlay other windows for the purpose of implementing the secure views feature.
* Trusted overlays, such as IME windows, can partly obscure other windows without causing
* motion events to be delivered to them with AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED.
*/
bool isTrustedOverlay() const;
bool frameContainsPoint(int32_t x, int32_t y) const;

bool supportsSplitTouch() const;

bool overlaps(const InputWindowInfo* other) const;

status_t write(Parcel& output) const;

static InputWindowInfo read(const Parcel& from);
};

Expand Down
5 changes: 3 additions & 2 deletions libs/binder/IServiceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ sp<IBinder> ServiceManagerShim::getService(const String16& name) const

const bool isVendorService =
strcmp(ProcessState::self()->getDriverName().c_str(), "/dev/vndbinder") == 0;
const long timeout = uptimeMillis() + 5000;
const long timeout = 5000;
int64_t startTime = uptimeMillis();
// Vendor code can't access system properties
if (!gSystemBootCompleted && !isVendorService) {
#ifdef __ANDROID__
Expand All @@ -230,7 +231,7 @@ sp<IBinder> ServiceManagerShim::getService(const String16& name) const
const long sleepTime = gSystemBootCompleted ? 1000 : 100;

int n = 0;
while (uptimeMillis() < timeout) {
while (uptimeMillis() - startTime < timeout) {
n++;
ALOGI("Waiting for service '%s' on '%s'...", String8(name).string(),
ProcessState::self()->getDriverName().c_str());
Expand Down
8 changes: 5 additions & 3 deletions libs/binder/Parcel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2334,12 +2334,14 @@ void Parcel::ipcSetDataReference(const uint8_t* data, size_t dataSize,
type == BINDER_TYPE_FD)) {
// We should never receive other types (eg BINDER_TYPE_FDA) as long as we don't support
// them in libbinder. If we do receive them, it probably means a kernel bug; try to
// recover gracefully by clearing out the objects, and releasing the objects we do
// know about.
// recover gracefully by clearing out the objects.
android_errorWriteLog(0x534e4554, "135930648");
android_errorWriteLog(0x534e4554, "203847542");
ALOGE("%s: unsupported type object (%" PRIu32 ") at offset %" PRIu64 "\n",
__func__, type, (uint64_t)offset);
releaseObjects();

// WARNING: callers of ipcSetDataReference need to make sure they
// don't rely on mObjectsSize in their release_func.
mObjectsSize = 0;
break;
}
Expand Down
45 changes: 42 additions & 3 deletions libs/binder/tests/binderLibTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ enum BinderLibTestTranscationCode {
BINDER_LIB_TEST_NOP_TRANSACTION_WAIT,
BINDER_LIB_TEST_GETPID,
BINDER_LIB_TEST_ECHO_VECTOR,
BINDER_LIB_TEST_REJECT_BUF,
BINDER_LIB_TEST_REJECT_OBJECTS,
};

pid_t start_server_process(int arg2, bool usePoll = false)
Expand Down Expand Up @@ -1116,14 +1116,53 @@ TEST_F(BinderLibTest, BufRejected) {
// And now, overwrite it with the buffer object
memcpy(parcelData, &obj, sizeof(obj));
data.setDataSize(sizeof(obj));
EXPECT_EQ(data.objectsCount(), 1);

status_t ret = server->transact(BINDER_LIB_TEST_REJECT_OBJECTS, data, &reply);

status_t ret = server->transact(BINDER_LIB_TEST_REJECT_BUF, data, &reply);
// Either the kernel should reject this transaction (if it's correct), but
// if it's not, the server implementation should return an error if it
// finds an object in the received Parcel.
EXPECT_NE(NO_ERROR, ret);
}

TEST_F(BinderLibTest, WeakRejected) {
Parcel data, reply;
sp<IBinder> server = addServer();
ASSERT_TRUE(server != nullptr);

sp<BBinder> binder = new BBinder();
wp<BBinder> wpBinder(binder);
flat_binder_object obj{
.hdr = {.type = BINDER_TYPE_WEAK_BINDER},
.flags = 0,
.binder = reinterpret_cast<uintptr_t>(wpBinder.get_refs()),
.cookie = reinterpret_cast<uintptr_t>(wpBinder.unsafe_get()),
};
data.setDataCapacity(1024);
// Write a bogus object at offset 0 to get an entry in the offset table
data.writeFileDescriptor(0);
EXPECT_EQ(data.objectsCount(), 1);
uint8_t *parcelData = const_cast<uint8_t *>(data.data());
// And now, overwrite it with the weak binder
memcpy(parcelData, &obj, sizeof(obj));
data.setDataSize(sizeof(obj));

// a previous bug caused other objects to be released an extra time, so we
// test with an object that libbinder will actually try to release
EXPECT_EQ(OK, data.writeStrongBinder(new BBinder()));

EXPECT_EQ(data.objectsCount(), 2);

// send it many times, since previous error was memory corruption, make it
// more likely that the server crashes
for (size_t i = 0; i < 100; i++) {
EXPECT_EQ(BAD_VALUE, server->transact(BINDER_LIB_TEST_REJECT_OBJECTS, data, &reply));
}

EXPECT_EQ(NO_ERROR, server->pingBinder());
}

class BinderLibTestService : public BBinder
{
public:
Expand Down Expand Up @@ -1422,7 +1461,7 @@ class BinderLibTestService : public BBinder
reply->writeUint64Vector(vector);
return NO_ERROR;
}
case BINDER_LIB_TEST_REJECT_BUF: {
case BINDER_LIB_TEST_REJECT_OBJECTS: {
return data.objectsCount() == 0 ? BAD_VALUE : NO_ERROR;
}
default:
Expand Down
9 changes: 9 additions & 0 deletions libs/gui/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ cc_library_headers {
min_sdk_version: "29",
}

// AIDL files that should be exposed to java
filegroup {
name: "guiconstants_aidl",
srcs: [
"android/gui/DropInputMode.aidl",
],
}

cc_defaults {
name: "libgui_defaults",

Expand All @@ -38,6 +46,7 @@ cc_defaults {
defaults: ["libgui_bufferqueue-defaults"],

srcs: [
":guiconstants_aidl",
":framework_native_aidl",
":libgui_bufferqueue_sources",

Expand Down
36 changes: 36 additions & 0 deletions libs/gui/LayerState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ status_t layer_state_t::write(Parcel& output) const
output.writeFloat(frameRate);
output.writeByte(frameRateCompatibility);
output.writeUint32(fixedTransformHint);
output.writeBool(isTrustedOverlay);
output.writeUint32(static_cast<uint32_t>(dropInputMode));
return NO_ERROR;
}

Expand Down Expand Up @@ -200,6 +202,11 @@ status_t layer_state_t::read(const Parcel& input)
frameRate = input.readFloat();
frameRateCompatibility = input.readByte();
fixedTransformHint = static_cast<ui::Transform::RotationFlags>(input.readUint32());
isTrustedOverlay = input.readBool();

uint32_t mode;
mode = input.readUint32();
dropInputMode = static_cast<gui::DropInputMode>(mode);
return NO_ERROR;
}

Expand Down Expand Up @@ -269,6 +276,27 @@ void DisplayState::merge(const DisplayState& other) {
}
}

void DisplayState::sanitize(bool privileged) {
if (what & DisplayState::eLayerStackChanged) {
if (!privileged) {
what &= ~DisplayState::eLayerStackChanged;
ALOGE("Stripped attempt to set eLayerStackChanged in sanitize");
}
}
if (what & DisplayState::eDisplayProjectionChanged) {
if (!privileged) {
what &= ~DisplayState::eDisplayProjectionChanged;
ALOGE("Stripped attempt to set eDisplayProjectionChanged in sanitize");
}
}
if (what & DisplayState::eSurfaceChanged) {
if (!privileged) {
what &= ~DisplayState::eSurfaceChanged;
ALOGE("Stripped attempt to set eSurfaceChanged in sanitize");
}
}
}

void layer_state_t::merge(const layer_state_t& other) {
if (other.what & ePositionChanged) {
what |= ePositionChanged;
Expand Down Expand Up @@ -439,6 +467,14 @@ void layer_state_t::merge(const layer_state_t& other) {
what |= eFixedTransformHintChanged;
fixedTransformHint = other.fixedTransformHint;
}
if (other.what & eTrustedOverlayChanged) {
what |= eTrustedOverlayChanged;
isTrustedOverlay = other.isTrustedOverlay;
}
if (other.what & eDropInputModeChanged) {
what |= eDropInputModeChanged;
dropInputMode = other.dropInputMode;
}
if ((other.what & what) != other.what) {
ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating? "
"other.what=0x%" PRIu64 " what=0x%" PRIu64,
Expand Down
28 changes: 28 additions & 0 deletions libs/gui/SurfaceComposerClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,34 @@ SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setFixed
return *this;
}

SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setTrustedOverlay(
const sp<SurfaceControl>& sc, bool isTrustedOverlay) {
layer_state_t* s = getLayerState(sc);
if (!s) {
mStatus = BAD_INDEX;
return *this;
}

s->what |= layer_state_t::eTrustedOverlayChanged;
s->isTrustedOverlay = isTrustedOverlay;
return *this;
}

SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setDropInputMode(
const sp<SurfaceControl>& sc, gui::DropInputMode mode) {
layer_state_t* s = getLayerState(sc);
if (!s) {
mStatus = BAD_INDEX;
return *this;
}

s->what |= layer_state_t::eDropInputModeChanged;
s->dropInputMode = mode;

registerSurfaceControlForCallback(sc);
return *this;
}

// ---------------------------------------------------------------------------

DisplayState& SurfaceComposerClient::Transaction::getDisplayState(const sp<IBinder>& token) {
Expand Down
40 changes: 40 additions & 0 deletions libs/gui/android/gui/DropInputMode.aidl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/**
* Copyright (c) 2022, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package android.gui;


/**
* Input event drop modes: Input event drop options for windows and its children.
*
* @hide
*/
@Backing(type="int")
enum DropInputMode {
/**
* Default mode, input events are sent to the target as usual.
*/
NONE,

/**
* Window and its children will not receive any input even if it has a valid input channel.
* Touches and keys will be dropped. If a window is focused, it will remain focused but will
* not receive any keys. If the window has a touchable region and is the target of an input
* event, the event will be dropped and will not go to the window behind. ref: b/197296414
*/
ALL,
}

15 changes: 14 additions & 1 deletion libs/gui/include/gui/LayerState.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <gui/ITransactionCompletedListener.h>
#include <math/mat4.h>

#include <android/gui/DropInputMode.h>
#ifndef NO_INPUT
#include <input/InputWindow.h>
#endif
Expand Down Expand Up @@ -105,6 +106,8 @@ struct layer_state_t {
eBackgroundBlurRadiusChanged = 0x80'00000000,
eProducerDisconnect = 0x100'00000000,
eFixedTransformHintChanged = 0x200'00000000,
eTrustedOverlayChanged = 0x400'00000000,
eDropInputModeChanged = 0x8000'00000000,
};

layer_state_t()
Expand Down Expand Up @@ -139,7 +142,9 @@ struct layer_state_t {
frameRateSelectionPriority(-1),
frameRate(0.0f),
frameRateCompatibility(ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT),
fixedTransformHint(ui::Transform::ROT_INVALID) {
fixedTransformHint(ui::Transform::ROT_INVALID),
isTrustedOverlay(false),
dropInputMode(gui::DropInputMode::NONE) {
matrix.dsdx = matrix.dtdy = 1.0f;
matrix.dsdy = matrix.dtdx = 0.0f;
hdrMetadata.validTypes = 0;
Expand Down Expand Up @@ -237,6 +242,13 @@ struct layer_state_t {
// a buffer of a different size. -1 means the transform hint is not set,
// otherwise the value will be a valid ui::Rotation.
ui::Transform::RotationFlags fixedTransformHint;

// An inherited state that indicates that this surface control and its children
// should be trusted for input occlusion detection purposes
bool isTrustedOverlay;

// Force inputflinger to drop all input events for the layer and its children.
gui::DropInputMode dropInputMode;
};

struct ComposerState {
Expand All @@ -255,6 +267,7 @@ struct DisplayState {

DisplayState();
void merge(const DisplayState& other);
void sanitize(bool privileged);

uint32_t what;
sp<IBinder> token;
Expand Down
Loading