mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
From 4211c35467725729615cce8fe3cd25f0de58da2a Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Fri, 18 Nov 2016 12:30:43 -0500
|
|
Subject: [PATCH] Allow location providers outside of /system
|
|
|
|
Change-Id: I405981605aeb00a4482d7191905963fc97a5d424
|
|
---
|
|
services/core/java/com/android/server/ServiceWatcher.java | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/services/core/java/com/android/server/ServiceWatcher.java b/services/core/java/com/android/server/ServiceWatcher.java
|
|
index 383e25a..31ae918 100644
|
|
--- a/services/core/java/com/android/server/ServiceWatcher.java
|
|
+++ b/services/core/java/com/android/server/ServiceWatcher.java
|
|
@@ -92,8 +92,7 @@ public class ServiceWatcher implements ServiceConnection {
|
|
String pkg = initialPackageNames.get(i);
|
|
try {
|
|
HashSet<Signature> set = new HashSet<Signature>();
|
|
- Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY
|
|
- | PackageManager.GET_SIGNATURES).signatures;
|
|
+ Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES).signatures;
|
|
set.addAll(Arrays.asList(sigs));
|
|
sigSets.add(set);
|
|
} catch (NameNotFoundException e) {
|
|
--
|
|
2.9.3
|
|
|