mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-09-30 05:05:47 +00:00
Reconcile
Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
d782ef887b
commit
9c2914272a
@ -1,3 +1,23 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Valentin Iftime <valiiftime@google.com>
|
||||||
|
Date: Mon, 16 Oct 2023 09:29:17 +0200
|
||||||
|
Subject: [PATCH] Prioritize system toasts
|
||||||
|
|
||||||
|
Insert toasts from system packages at the front of the queue
|
||||||
|
to ensure that apps can't spam with toast to delay system toasts from showing.
|
||||||
|
Also increase Clipboard paste warning toasts length to LENGTH_LONG.
|
||||||
|
|
||||||
|
Test: atest NotificationManagerServiceTest
|
||||||
|
Bug: 293301736
|
||||||
|
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:58d89b491668663963e66906196fd93b9c73ee80)
|
||||||
|
Merged-In: I13547f853476bc88d12026c545aba9f857ce8724
|
||||||
|
Change-Id: I13547f853476bc88d12026c545aba9f857ce8724
|
||||||
|
---
|
||||||
|
.../server/clipboard/ClipboardService.java | 2 +-
|
||||||
|
.../NotificationManagerService.java | 32 ++++++++-
|
||||||
|
.../NotificationManagerServiceTest.java | 68 +++++++++++++++++++
|
||||||
|
3 files changed, 99 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/services/core/java/com/android/server/clipboard/ClipboardService.java b/services/core/java/com/android/server/clipboard/ClipboardService.java
|
diff --git a/services/core/java/com/android/server/clipboard/ClipboardService.java b/services/core/java/com/android/server/clipboard/ClipboardService.java
|
||||||
index 093ecd57124f..18f397551be8 100644
|
index 093ecd57124f..18f397551be8 100644
|
||||||
--- a/services/core/java/com/android/server/clipboard/ClipboardService.java
|
--- a/services/core/java/com/android/server/clipboard/ClipboardService.java
|
@ -136,7 +136,7 @@ applyPatch "$DOS_PATCHES_COMMON/android_external_sonivox/392224.patch"; #T_asb_2
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
if enterAndClear "frameworks/base"; then
|
if enterAndClear "frameworks/base"; then
|
||||||
applyPatch "$DOS_PATCHES/android_frameworks_base/293301736-19.patch"; #x-asb_2024-05 Prioritize system toasts
|
applyPatch "$DOS_PATCHES/android_frameworks_base/392225.patch"; #T_asb_2024-05 Prioritize system toasts
|
||||||
git revert --no-edit 83fe523914728a3674debba17a6019cb74803045; #Reverts "Allow signature spoofing for microG Companion/Services" in favor of below patch
|
git revert --no-edit 83fe523914728a3674debba17a6019cb74803045; #Reverts "Allow signature spoofing for microG Companion/Services" in favor of below patch
|
||||||
applyPatch "$DOS_PATCHES/android_frameworks_base/344888-backport.patch"; #fixup! fw/b: Add support for allowing/disallowing apps on cellular, vpn and wifi networks (CalyxOS)
|
applyPatch "$DOS_PATCHES/android_frameworks_base/344888-backport.patch"; #fixup! fw/b: Add support for allowing/disallowing apps on cellular, vpn and wifi networks (CalyxOS)
|
||||||
applyPatch "$DOS_PATCHES/android_frameworks_base/0007-Always_Restict_Serial.patch"; #Always restrict access to Build.SERIAL (GrapheneOS)
|
applyPatch "$DOS_PATCHES/android_frameworks_base/0007-Always_Restict_Serial.patch"; #Always restrict access to Build.SERIAL (GrapheneOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user