Commit Graph

670 Commits

Author SHA1 Message Date
M66B 3291ecc501 Assume metered when no connectivity 2015-11-27 08:27:29 +01:00
M66B 88aca8be36 Update pending intents
Refs #181
2015-11-27 08:23:18 +01:00
M66B 5c50ab8fe1 Fixed cancelling logcat 2015-11-27 08:02:05 +01:00
M66B b9600233f0 Use storage framework to store logcat 2015-11-26 20:34:03 +01:00
M66B a2cbcb16b2 0.44 stable 2015-11-26 08:47:01 +01:00
M66B b4ca593b86 Crowdin sync 2015-11-26 08:42:04 +01:00
M66B 84ba096715 Added IAB safe guards 2015-11-26 08:41:20 +01:00
M66B ed893c8329 Simplification 2015-11-26 08:34:33 +01:00
M66B 2f42e18b2e Show disconnected state 2015-11-25 21:09:00 +01:00
M66B a516cc0007 Low/highlight rule conditions too 2015-11-25 20:52:56 +01:00
M66B a396215f57 0.43 beta 2015-11-25 20:06:55 +01:00
M66B cf171d730e Highlight metered connection
Fixes #179
2015-11-25 20:05:17 +01:00
M66B eb380a8e84 Layout improvements
Refs #177
2015-11-25 11:06:44 +01:00
M66B b00a284cb7 Fixed sending feedback when IAB not available 2015-11-25 09:29:31 +01:00
M66B 757a43c775 0.42 beta 2015-11-25 08:42:08 +01:00
M66B bbce9e14e9 Can it be more subtle?
Test version:
http://www.netguard.me/NetGuard-v0.41-release-subtle.apk
2015-11-25 08:41:24 +01:00
M66B 9a7d2fcc86 Crowdin sync 2015-11-24 20:16:56 +01:00
Ivan a9dd053d0f Update strings.xml
Update
2015-11-24 22:11:10 +03:00
M66B ad3672bde6 Gray background for unchanged rules 2015-11-24 18:43:56 +01:00
M66B c5316320d0 Check if prepared for widget on 2015-11-24 16:33:18 +01:00
M66B 87769405f3 Upgrade after importing 2015-11-24 12:00:22 +01:00
M66B bd0aef5a34 0.41 beta 2015-11-24 11:38:54 +01:00
M66B 34cc8e1951 Do not release wakelock on destroy
11-24 11:23:06.613 17818 17864 I NetGuard.Service: wakelock=false
11-24 11:23:28.191 17818 17818 I NetGuard.Main: Destroy

--- wakelocks are being released

11-24 11:23:28.213   792  9532 I ActivityManager: Killing 17818:eu.faircode.netguard/u0a500 (adj 16): remove task
11-24 11:23:28.271   792  2662 W ActivityManager: Scheduling restart of crashed service eu.faircode.netguard/.SinkholeService in 10300ms
11-24 11:23:28.920   792   805 I ActivityManager: Start proc 29215:eu.faircode.netguard/u0a500 for broadcast eu.faircode.netguard/.Widget
11-24 11:23:28.959 29215 29215 W System  : ClassLoader referenced unknown path: /data/app/eu.faircode.netguard-1/lib/arm
11-24 11:23:28.962 29215 29215 I NetGuard.App: Create version=0.40
11-24 11:23:28.963 29215 29215 I NetGuard.Widget: Received Intent { act=eu.faircode.netguard.APPWIDGET_ON flg=0x10000010 cmp=eu.faircode.netguard/.Widget bnds=[828,300][1044,549] }
11-24 11:23:28.976 29215 29215 I NetGuard.Service: Create
11-24 11:23:28.982 29215 29215 I NetGuard.Service: Restart
11-24 11:23:28.983 29215 29215 I NetGuard.Service: Start intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=false

--- service is recreated

11-24 11:23:28.984 29215 29215 I NetGuard.Service: Start intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=false
11-24 11:23:28.985 29215 29233 I NetGuard.Service: Executing intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=false
11-24 11:23:29.000 29215 29233 I NetGuard.Service: Starting wifi=true metered=false/true roaming=false interactive=true
11-24 11:23:29.022 29215 29233 D NetGuard.Service: Predefined com.google.android.apps.adm blocked=false roaming=false
11-24 11:23:29.022 29215 29233 D NetGuard.Service: Relation com.android.vending related=com.google.android.gms,com.android.providers.downloads
11-24 11:23:29.022 29215 29233 D NetGuard.Service: Relation com.android.chrome related=com.android.providers.downloads
11-24 11:23:29.578 29215 29233 I NetGuard.Service: Allowed=9 blocked=164
11-24 11:23:29.597   792  2662 I Vpn     : Established by eu.faircode.netguard on tun0
11-24 11:23:29.610 29215 29233 I NetGuard.Service: wakelock=false

-- executing second start

11-24 11:23:29.610 29215 29233 I NetGuard.Service: Executing intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=true
11-24 11:23:29.610 29215 29233 E NetGuard.Service: java.lang.RuntimeException: WakeLock under-locked NetGuard wakelock
11-24 11:23:29.610 29215 29233 E NetGuard.Service: java.lang.RuntimeException: WakeLock under-locked NetGuard wakelock
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.PowerManager$WakeLock.release(PowerManager.java:1157)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.PowerManager$WakeLock.release(PowerManager.java:1128)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at eu.faircode.netguard.SinkholeService$ServiceHandler.handleMessage(SinkholeService.java:97)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.Handler.dispatchMessage(Handler.java:102)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.Looper.loop(Looper.java:148)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.HandlerThread.run(HandlerThread.java:61)

-- under locked, because wakelocks were released

11-24 11:23:34.070 12346 12346 D Finsky  : [1] AppCrashProxy.onCreate: Sending feedback for crashed eu.faircode.netguard to com.google.android.gms
11-24 11:23:37.810   792   805 E ActivityManager:  +0% 29215/eu.faircode.netguard: 0% user + 0%
11-24 11:24:41.708   792   805 E ActivityManager:   0.2% 29215/eu.faircode.netguard: 0.1% user + 0% kernel / faults: 9 minor
11-24 11:25:42.400 29215 29215 I NetGuard.Service: Received Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 }
11-24 11:25:42.402 29215 29215 W NetGuard.Service: Wakelock not held
11-24 11:25:42.404 29215 29215 I NetGuard.Service: Start intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=reload vpn=true
2015-11-24 11:32:58 +01:00
M66B 2c5313f526 0.40 beta 2015-11-24 11:11:41 +01:00
M66B 90598c2a79 Added some logging 2015-11-24 10:54:43 +01:00
M66B 6565938101 Refactoring 2015-11-24 10:44:02 +01:00
M66B 9010ac3dc3 Handle service restart 2015-11-24 10:42:45 +01:00
M66B 31a4eba948 Crowdin sync 2015-11-24 08:39:14 +01:00
M66B 190a73aa49 Removed yields 2015-11-23 12:17:36 +01:00
M66B 06bd30e676 0.39 beta 2015-11-23 11:54:26 +01:00
M66B d240694797 Reload rules when comming from idle mode (Android M) 2015-11-23 11:44:59 +01:00
M66B fcac4fec03 Report IAB errors 2015-11-23 11:05:44 +01:00
M66B ab6d65152d Fixed log level 2015-11-23 11:05:16 +01:00
M66B ac637888e5 Prevent bug reporting from crashing NetGuard 2015-11-23 10:58:22 +01:00
M66B 84df549beb Disable NetGuard on start, reload, stop errors 2015-11-23 10:58:05 +01:00
M66B 1115a94a97 Increase interactive delay to 2,5 seconds 2015-11-23 10:11:54 +01:00
M66B 37559ae4ca Updated contributing section 2015-11-23 09:23:41 +01:00
M66B 9710d60eb8 Crowdin sync 2015-11-23 08:42:11 +01:00
M66B e613966d35 Workaround handover problems 2015-11-23 08:34:47 +01:00
M66B 22f3d0766a Fix labels 2015-11-22 23:07:25 +01:00
M66B 01474a3701 Fix bug reporting 2015-11-22 21:27:57 +01:00
M66B 2dc3251dc2 Some Android versions even let VpnService.prepare throw an exeption ... 2015-11-22 20:30:29 +01:00
M66B 69d29bc12f Crowdin sync 2015-11-22 18:17:24 +01:00
M66B 9970416b45 Upgrade when versions different 2015-11-22 18:16:32 +01:00
M66B 54b105a292 Remove bug dialog
It doesn't work if there is no activity running
(requires system alert permission)
2015-11-22 18:14:42 +01:00
M66B b08a1c3980 Cleanup 2015-11-22 14:12:17 +01:00
M66B 6c51a0be3c Shorten texts 2015-11-22 08:53:23 +01:00
M66B b347cbe41b Crowndin sync 2015-11-22 08:49:56 +01:00
M66B c3219a339a Synchronized with Crowdin 2015-11-21 16:29:42 +01:00
M66B f8a438971c Switch to Gradle 2.5, experimental build tools 2015-11-21 14:52:00 +01:00
M66B 22d6f7e035 Graddle build tools update 2015-11-21 13:56:45 +01:00
Marco 1d989c307d Updated italian translation 2015-11-21 11:04:13 +01:00
M66B c0e48b95aa Upgrade before displaying, prevent synchronization issues 2015-11-21 10:53:03 +01:00
M66B 5a76b33489 Crowdin sync 2015-11-21 10:44:42 +01:00
M66B acd034569e Crowdin sync 2015-11-21 10:07:49 +01:00
M66B 3fad37abe8 Crowdin sync 2015-11-21 09:56:41 +01:00
M66B 29258ce20a When screen on Wi-Fi/mobile 2015-11-21 09:48:33 +01:00
M66B e3f8e7d22c Material design expander 2015-11-21 08:01:07 +01:00
M66B 84854f27ff Fixed French translation 2015-11-21 03:21:55 +01:00
M66B 96f53088ce Crowdin baseline 2015-11-21 03:07:18 +01:00
ContactFront 008edef103 Update strings.xml 2015-11-20 19:02:01 -05:00
M66B 9968111906 Logcat count down gimmick 2015-11-20 21:16:10 +01:00
licaon-kter d8027265b1 Updated Romanian translation
Oh, missed 0.37.
2015-11-20 14:58:49 +02:00
M66B 3d94bf20cb 0.37 beta 2015-11-20 11:37:51 +01:00
M66B 1a8a9446d4 Send logcat if crash report not available 2015-11-20 11:36:39 +01:00
M66B 08a4e40b52 Simplifications 2015-11-20 11:34:23 +01:00
M66B 94e8d5c71b Added crash reporting 2015-11-20 10:10:22 +01:00
ContactFront 39f34c4cb8 Update strings.xml 2015-11-19 23:46:42 -05:00
Marco 9155379873 Merge branch 'master' of https://github.com/M66B/NetGuard 2015-11-19 17:50:02 +01:00
Marco 8d568e2aa1 updated italian strings 2015-11-19 17:49:54 +01:00
M66B 9bb65d711f Fixed summary disappearing 2015-11-19 17:23:34 +01:00
M66B 878ba1eeec Changed IAB logic
Still crashing:

11-19 09:18:19.688 28800 28800 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'com.google.android.finsky.protos.Acquisition$AutoDismissTemplate com.google.android.finsky.protos.Acquisition$PostAcquisitionPrompt.autoDismissTemplate' on a null object reference
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.SuccessStep.getLayoutResId(SuccessStep.java:75)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.lightpurchase.PurchaseFragment.onStateChange(PurchaseFragment.java:31066)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.fragments.SidecarFragment.notifyListener(SidecarFragment.java:255)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.fragments.SidecarFragment.setState(SidecarFragment.java:250)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.lightpurchase.CheckoutPurchaseSidecar.confirmAuthChoiceSelected(CheckoutPurchaseSidecar.java:631)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.lightpurchase.purchasesteps.SuccessStepWithAuthChoices.onClick(SuccessStepWithAuthChoices.java:5156)
2015-11-19 09:21:52 +01:00
M66B bb00f41ab8 Show number of allowed/blocked packages in notification summary 2015-11-18 19:33:48 +01:00
M66B efd1fb93bb Showing app version in debug mode 2015-11-18 19:08:04 +01:00
M66B 95fe0a11a2 IAB version 3 2015-11-18 17:57:42 +01:00
M66B 0ece612508 Simplification 2015-11-18 17:48:54 +01:00
M66B caaf936bcb Check VpnService.Builder.establish result 2015-11-18 15:25:32 +01:00
M66B 2dd8b060b2 Dim less 2015-11-18 09:05:43 +01:00
M66B ebf867a7a1 0.36 stable
Play store only release
2015-11-18 08:42:32 +01:00
M66B cc9ee25568 Default allow for new installations
M0r0n control
2015-11-18 08:42:19 +01:00
M66B 7088545565 0.35 stable 2015-11-17 21:06:39 +01:00
M66B 62ee4681b0 Fixed crash 2015-11-17 21:05:55 +01:00
M66B 5d3a5076e4 Support = FAQ
Revert "Added menu FAQ"

This reverts commit 3f1615b633.
2015-11-17 16:24:13 +01:00
M66B 7cfa70c2ac Updated FAQ
Refs #164
2015-11-17 16:19:19 +01:00
licaon-kter 2d426aa96e Updated Romanian translation 2015-11-17 15:42:50 +02:00
M66B ec453bd799 Updated Dutch translation 2015-11-17 14:31:10 +01:00
M66B 3f1615b633 Added menu FAQ
Closes #161
2015-11-17 14:26:26 +01:00
M66B 5b5ebb4741 0.34 stable 2015-11-17 10:45:59 +01:00
M66B 738dd7d659 Fixed reloading rules 2015-11-17 10:44:08 +01:00
M66B 56f8db475b 0.33 stable 2015-11-16 17:58:14 +01:00
Marcel Bokhorst e63f5cc8bd Merge pull request #159 from marco-scavuzzo/master
updated italian translation
2015-11-16 17:57:28 +01:00
User99gmxat 06e5978516 Update strings.xml 2015-11-16 17:42:57 +01:00
Marco 033cccfa81 updated italian translation 2015-11-16 14:58:20 +01:00
Ivan c6480127e9 Update strings.xml
Update
2015-11-16 11:38:35 +03:00
M66B 3864602760 0.32 stable 2015-11-16 08:24:46 +01:00
ContactFront 24d6c827b2 Update strings.xml 2015-11-15 16:30:54 -05:00
licaon-kter 53876d95c1 Wifi is Wi-Fi, right? 2015-11-15 21:18:48 +02:00
licaon-kter 3502328f4d Update Romanian translation 2015-11-15 20:55:56 +02:00
M66B 7c6a351ed3 Updated texts 2015-11-15 17:44:21 +01:00
M66B 39442fe1b7 Added WiFi debug indication 2015-11-15 17:13:25 +01:00
M66B 557397bd39 Include settings in debug info 2015-11-15 16:58:15 +01:00
M66B b68f93118f Updated Dutch translation 2015-11-15 16:48:51 +01:00
M66B fe7ef2367c Add technical info, removed action bar indicators 2015-11-15 16:39:59 +01:00
User99gmxat 2d988eeba7 Update strings.xml 2015-11-15 14:24:48 +01:00
Marco 5a575a5dbf Updated italian translation 2015-11-15 12:17:12 +01:00
licaon-kter 29af81beff Update Romanian translation 2015-11-15 12:07:41 +02:00
M66B 4ddcc56b18 0.31 beta 2015-11-15 10:50:42 +01:00
M66B 9c8fb291b3 Updated Dutch translation 2015-11-15 10:44:32 +01:00
M66B 5044006679 Added settings to use metered indication
Default off
2015-11-15 10:43:06 +01:00
M66B 152f75e70c Updated text 2015-11-15 09:04:16 +01:00
M66B f600847480 Refactored IAB 2015-11-14 21:25:05 +01:00
M66B 257fd9fc4f Use use string resource for main activity label
Refs #146
2015-11-14 18:11:29 +01:00
Marco c6054ca428 Updated italian translation 2015-11-14 16:51:13 +01:00
Marco ab738968c0 Fixing wrong name shown in launcher and activity title 2015-11-14 16:49:25 +01:00
Ivan ff80ed0fd7 Update strings.xml
Update.
How about a line break, if it does not fit into one line? Half of text of <string name="setting_unused"> not visible. Or it will affect the visual component of the application?
2015-11-14 18:26:31 +03:00
Marco 49685617bc Fixed typo in italian string.xml file 2015-11-14 12:27:02 +01:00
Marco e42a5b30d9 Merge branch 'master' of https://github.com/M66B/NetGuard 2015-11-14 12:24:53 +01:00
M66B a6c3996936 Label all components 2015-11-14 12:24:21 +01:00
Marco b507b4c72f updated italian translation 2015-11-14 12:24:19 +01:00
Marco 3eef3024b5 Updated italian translation 2015-11-14 12:21:56 +01:00
M66B 8472c00264 Label all components 2015-11-14 12:17:57 +01:00
M66B 077abf9bc1 Revert "Listen for updates on the foreground only"
This reverts commit 68fb60cd48.
2015-11-14 11:04:27 +01:00
M66B 71d158ca5d Revert "Fixed theme switching"
This reverts commit 74bbfab052.
2015-11-14 11:04:18 +01:00
M66B 74bbfab052 Fixed theme switching 2015-11-14 11:02:35 +01:00
M66B 68fb60cd48 Listen for updates on the foreground only 2015-11-14 10:49:37 +01:00
M66B 84617b9b00 Less verbose network status / live update 2015-11-14 10:49:15 +01:00
M66B f8ef70d5a6 Show valid fingerprint logcat/version 2015-11-14 10:33:56 +01:00
M66B 07189b633f Handle manage network usage intent 2015-11-14 09:57:10 +01:00
M66B 660a830000 Added network info to debug info 2015-11-14 09:50:45 +01:00
M66B e39c72c017 0.30 beta 2015-11-14 09:07:01 +01:00
M66B 8ceab79d84 Fixed Slovak translation 2015-11-14 09:05:06 +01:00
M66B 2a741e26e0 Updated texts
Closes #140
2015-11-14 08:51:20 +01:00
ContactFront 1836aa66a9 Update strings.xml 2015-11-13 21:53:23 -05:00
licaon-kter 5da332b35c Minor fix in Romanian
It pays to delete data on a new version. ;)
2015-11-14 00:06:08 +02:00
licaon-kter 37b70c174d Update Romanian translation 2015-11-13 23:54:45 +02:00
pyler 041dc00cd0 Updated SK translation 2015-11-13 20:03:30 +01:00
M66B e479e1370d Updated Dutch translation 2015-11-13 19:48:05 +01:00
M66B e00a87db72 Is disabled / has no internet message 2015-11-13 19:46:35 +01:00
M66B 40c61bdc5e Added option to default allow when screen on 2015-11-13 16:01:42 +01:00
M66B 532904f229 dim applications without internet access 2015-11-13 14:36:56 +01:00
M66B 906cb469d5 Allow logcat in debug builds 2015-11-13 12:38:02 +01:00
M66B c80366e5fd Destroy logcat process to prevent fbinfer warning 2015-11-13 12:34:56 +01:00
M66B edb7ae095a Close file in/out stream VPN tunnel 2015-11-13 12:20:08 +01:00
M66B b43af7d7ce Close input stream logcat exec 2015-11-13 12:16:18 +01:00
M66B aee85ebc8a Handle race condition with outher VPN solutions 2015-11-13 11:45:55 +01:00
M66B 14b0aea105 Revert Ethernet exception 2015-11-13 11:05:46 +01:00
Marco 91442585af updated italian translation 2015-11-13 10:55:37 +01:00
M66B add3fe8936 Auto update minor versions libraries 2015-11-13 10:12:20 +01:00
licaon-kter 623d1f8de7 Updated Romanian translation 2015-11-13 10:39:46 +02:00
M66B 833f61530f 0.29 stable 2015-11-13 08:41:30 +01:00