Skip to content

Instantly share code, notes, and snippets.

View Dil3mm4's full-sized avatar
🇮🇹

Francesco "Dil3mm4" Manzo Dil3mm4

🇮🇹
View GitHub Profile
From 1877cf6473366e84c5b4846b882368bb9fa74be6 Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Fri, 27 Nov 2020 23:00:01 +0000
Subject: [PATCH] FODCircleView: detect touch outside and take action
accordingly
FOD's view was intercepting gestures, we need to avoid that.
Tests:
- enable gesture navigation, open a third party-app that asks for biometric, swipe to recents (or home), ensure FOD doesn't intercept touch and swipe action reaches a successful ending.
From 6f81bf2f33f3f221c9372e1a8a18eb9cd799521f Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Fri, 27 Nov 2020 18:23:28 +0000
Subject: [PATCH] FODCircleView: ensure that when we check for bouncer, we're
on keyguard.
Bouncer doesn't seem to exist anywhere else.
Tests:
- have phone unlocked by trust agent, open any third party app with biometric unlock, ensure FOD is visible
From 1fd7273d943f828b180a8ae0703794bc584fd9ed Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Fri, 27 Nov 2020 14:59:46 +0000
Subject: [PATCH] FOD: KeyguardSecurityContainer doesn't need to be shifted if
FOD isn't available
Tests:
-removed enrolled fp, ensured keyguardsecuritycontainer wasn't shifed
-removed enrolled fp, rebooted, ensured keyguardsecuritycontainer (on SIM PIN) wasn't shifted
From a6befc3f4d6187c8529f3240a7cd5c94b6440ee0 Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Fri, 27 Nov 2020 14:59:46 +0000
Subject: [PATCH] FOD: KeyguardSecurityContainer doesn't need need to be
shifted if FOD isn't available
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java
index 3905d5f5df14..036ac1c80a6b 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java
@Dil3mm4
Dil3mm4 / log
Created November 26, 2020 17:16
commit decb8e5582fcd27fe3cdeda4f3af2c3953ff6678
Author: Dil3mm4 <[email protected]>
Date: Thu Nov 26 03:48:17 2020 +0000
FODCircleView: various improvements.
Added fade-out to FOD view, before going to View.GONE
Tests executed:
- Ensured animation executes correctly
- Ensured interaction with FOD (or any other biometric method) wouldn't compromise animation execution or with FOD functionality itself
From bbe8ccd0c68adf47a7db91632d5563e8f25f735a Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Thu, 26 Nov 2020 14:37:01 +0000
Subject: [PATCH] f
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java b/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java
index 5b5dff14016d..9968f890fa0a 100644
--- a/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java
+++ b/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java
From 740865978d49e4aed56172928b280f5df6c7d16c Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Thu, 26 Nov 2020 03:48:17 +0000
Subject: [PATCH] FODCircleView: various improvements.
Added fade-out to FOD view, before going to View.GONE
Tests executed:
- Ensured animation executes correctly
- Ensured interaction with FOD (or any other biometric method) wouldn't compromise animation execution or with FOD functionality itself
- Ensured that alpha values triggered with the animation, are correct over different lockscreen states
From 339230d6363391480158529da0dd7ca84cb5583f Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Fri, 20 Nov 2020 21:05:29 +0000
Subject: [PATCH] Recents: add kill app button
While at it, rework the layout to be suitable for more than 2 buttons
diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml
index e49f2ecdc..470ddae1b 100644
--- a/quickstep/AndroidManifest.xml
From 1ed5b616eb584b252a7e189e1208ecb5e419c2e0 Mon Sep 17 00:00:00 2001
From: Dil3mm4 <[email protected]>
Date: Wed, 4 Nov 2020 14:13:04 +0000
Subject: [PATCH] NotificationHeaderViewWrapper: let conversation headers be
compliant with other notification ones
diff --git a/packages/SystemUI/res/layout/hybrid_conversation_notification.xml b/packages/SystemUI/res/layout/hybrid_conversation_notification.xml
index 214c44a41c5..302812a79bc 100644
--- a/packages/SystemUI/res/layout/hybrid_conversation_notification.xml
# Copyright (C) 2019 The PixelExperience 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,