[tor-commits] [orbot/master] apps should only show those with internet permission

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Jun 27 17:04:20 UTC 2014


commit 312c6da2c7b6b7197d7bb6b5f9fcd3702db2a640
Author: Nathan Freitas <nathan at freitas.net>
Date:   Fri Jun 27 13:01:48 2014 -0400

    apps should only show those with internet permission
---
 src/org/torproject/android/settings/AppManager.java |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/org/torproject/android/settings/AppManager.java b/src/org/torproject/android/settings/AppManager.java
index b80fccd..f43dd6f 100644
--- a/src/org/torproject/android/settings/AppManager.java
+++ b/src/org/torproject/android/settings/AppManager.java
@@ -217,15 +217,13 @@ public class AppManager extends Activity implements OnCheckedChangeListener, OnC
 		   }
 			
 			
-			/*
-			 * TODO n8fr8 June 2012: adding all apps for now b/c the Internet permission concept is not really working
 			if (!app.usesInternet())
 				continue;
 			else
 			{
 				apps.add(app);
-			}*/
-			apps.add(app);
+			}
+			
 			
 			app.setEnabled(aInfo.enabled);
 			app.setUid(aInfo.uid);





More information about the tor-commits mailing list