Cloudnell / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

traffic statistics not working yet #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Traffic stats are not working yet.

Notifications are always appearing in the title-bar

Original issue reported on code.google.com by christophevandeplas@gmail.com on 8 Mar 2010 at 6:57

GoogleCodeExporter commented 9 years ago
In Notifications.java:
Notification notification = new Notification(
    R.drawable.vpn_connected,
    configFile.getName() +": " + msg,
    System.currentTimeMillis()
);

The second parameter is always different, this causes the new notifications in 
the
title-bar.

Original comment by christophevandeplas@gmail.com on 8 Mar 2010 at 7:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I also extended the TrafficStats class to handle the stats and parse the Bytes 
per
second.

Full code implemented and committed. 

Original comment by christophevandeplas@gmail.com on 8 Mar 2010 at 7:03