mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-09-05 17:12:09 +00:00
![Tad](/assets/img/avatar_default.png)
I think this is like the 6th time I've done this. I always remove it, wait a few months, pull out a device that I want to run it on and then spend hours restoring and bringing it back. I always think to myself do I really need to toy with this device? No, I don't, but I do it anyway. :)
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From 79c65fa6741cecda0b38a4881a07ec54a4896b69 Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Tue, 10 Jul 2018 08:13:23 -0400
|
|
Subject: [PATCH] Harden signature spoofing
|
|
|
|
Change-Id: Iad362df358cb9cdf6e2ce9d511f09ee6b77a90e2
|
|
---
|
|
core/res/AndroidManifest.xml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
|
|
index 1e5a7ad1f9..224fea23c8 100644
|
|
--- a/core/res/AndroidManifest.xml
|
|
+++ b/core/res/AndroidManifest.xml
|
|
@@ -1598,7 +1598,7 @@
|
|
<!-- Allows an application to change the package signature as seen by applications -->
|
|
<permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE"
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
- android:protectionLevel="dangerous"
|
|
+ android:protectionLevel="signature"
|
|
android:label="@string/permlab_fakePackageSignature"
|
|
android:description="@string/permdesc_fakePackageSignature" />
|
|
|
|
--
|
|
2.18.0
|
|
|