DivestOS/Patches/LineageOS-14.1/android_packages_apps_Exchange/ignore-exchange-server-policy-2-2.patch
2017-05-27 03:27:26 -04:00

29 lines
1.0 KiB
Diff

From 4de809a92b1f2ea0a64db3c8d6a8d770e14389ed Mon Sep 17 00:00:00 2001
From: milaq <micha.laqua@gmail.com>
Date: Wed, 23 Nov 2016 17:33:08 +0100
Subject: [PATCH] ignore exchange server policy (2/2)
disable policies enforced by an exchange server configuration and the inconveniences and uncertainty that go along with it.
based on the "ExchangeBypassXposed" module by Shantanu Goel.
---
src/com/android/exchange/adapter/ProvisionParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/com/android/exchange/adapter/ProvisionParser.java b/src/com/android/exchange/adapter/ProvisionParser.java
index 4888b8d..664a08d 100644
--- a/src/com/android/exchange/adapter/ProvisionParser.java
+++ b/src/com/android/exchange/adapter/ProvisionParser.java
@@ -75,7 +75,7 @@ public class ProvisionParser extends Parser {
}
public boolean hasSupportablePolicySet() {
- return (mPolicy != null) && mIsSupportable;
+ return true;
}
public void clearUnsupportablePolicies() {
--
2.10.2