We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e7cd0 commit 3122c02Copy full SHA for 3122c02
client/android/src/org/amnezia/vpn/AmneziaActivity.kt
@@ -268,9 +268,22 @@ class AmneziaActivity : QtActivity() {
268
override fun onResume() {
269
super.onResume()
270
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
271
- window.decorView.postDelayed({
272
- sendTouch(1f, 1f)
273
- }, 100)
+ window.decorView.apply {
+ invalidate()
+
274
+ postDelayed({
275
+ sendTouch(1f, 1f)
276
+ }, 100)
277
278
279
+ sendTouch(2f, 2f)
280
+ }, 200)
281
282
283
+ requestLayout()
284
285
+ }, 250)
286
+ }
287
}
288
289
0 commit comments