Repository navigation
Add android:filterTouchesWhenObscured - #1107
Conversation
|
@MTRichards @rperezb THX |
5e7c666 to
8a3ffee
Compare
|
thanks @LukasReschke |
|
The code seems fine 👍 But, note for @purigarcia: we should test if this flags interferes with the operation of the automatic regression tests in progress, testing with an emulator without UI. |
|
Can anybody with an real Android phone test if this interferes with https://play.google.com/store/apps/details?id=com.touchtype.swiftkey&hl=en and https://play.google.com/store/apps/details?id=com.gau.go.launcherex&hl=en? – I did hear some rumor about that on Android 4.4. (Note: reporter filed an independent issue about this to Google) Much appreciated! |
|
@LukasReschke I have tried it with swiftKey. |
|
@tobiasKaminsky Are you by any chance using a Samsung device? Would be awesome to have this tested on a non-samsung device as well (with said applications) since Samsung has some custom patches which affect this shudder Just wanting to ensure that this breaks nothing. If it does we can always go with an accepted risk :) |
|
@LukasReschke no worries. @purigarcia will test this Pull Request with a non-samsung device and also its important to the automation tests. So she will do it. |
|
Hi, I'm checking if the automated tests work fine. Cross fingers! |
|
As discussed internally, and due to problems with the automatic tests, this will be delayed to next release. cc @MTRichards , @cmonteroluque , @rperezb |
|
Let's consider this an accepted risk as of now then and document this as such. – This is aligned with other vendors such as Dropbox who decided the same. |
|
@LukasReschke , the problem I talked about is not related with the PR itself and needs to be fixed anyway. I understand this is not critical, but can keep it around 'til the tests are fixed. |
|
I'd recommend to delay this issue to have a fast bug-fixing release in 2.0.1. Far from being critical, IMHO. cc @rperezb @MTRichards @cmonteroluque |
|
ok @davivel |
|
I'm very sorry to say this will have to go to be delayed one release. See some more details in #1750 (comment) |
To prevent tapjacking like attacks we should explicitly enable this attribute. Fore more details see https://blog.lookout.com/look-10-007-tapjacking/ Note that this does not affect all Android devices as for example Samsung started with Ice Cream to mitigate this issue on OS level. To test this I can recommend the https://github.com/mwrlabs/tapjacking-poc application.
dafaf63 to
2f4fdb2
Compare
|
Rebased and applied to layouts added from the creation of the PR. |
|
I can confirm that the flag doesn't prevent that automated tests interact with the UI. Tested with Espresso. That should be enough to consider it tested. Do you agree, @jesmrec ? |
|
right @davivel, the main problem would be that we can not perform the Espresso UI tests. If we can, go ahead |
To prevent tapjacking like attacks we should explicitly enable this attribute. Fore more details see https://blog.lookout.com/look-10-007-tapjacking/ and https://developer.android.com/intl/en/reference/android/view/View.html#Security
Note that this does not affect all Android devices as for example Samsung started with Ice Cream Sandwich to mitigate this issue on OS level. This PR also does not offer a complete protection but already a pretty suitable one. (for example the ActionBar navigation in fragments still can be invoked, but account settings are at least protected now)
To test this I can recommend the https://github.com/mwrlabs/tapjacking-poc application.
Fixes https://github.com/owncloud/security-tracker/issues/165