From 9659077eb333fba01ce73d91a669b39383ec38e9 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 21 Sep 2013 21:48:59 +0200 Subject: Add ability to add icon to log messages indicating the log severity (disabled for now) --HG-- extra : rebase_source : 8cf05112d0c781a03d1d45d5b10607290bcb6c6b --- src/de/blinkt/openvpn/core/VpnStatus.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/de/blinkt/openvpn/core/VpnStatus.java') diff --git a/src/de/blinkt/openvpn/core/VpnStatus.java b/src/de/blinkt/openvpn/core/VpnStatus.java index a83714a4..c8e5a8b1 100644 --- a/src/de/blinkt/openvpn/core/VpnStatus.java +++ b/src/de/blinkt/openvpn/core/VpnStatus.java @@ -193,9 +193,15 @@ public class VpnStatus { else throw e; } + } - - // The lint is wrong here + + public LogLevel getLogLevel() + { + return mLevel; + } + + // The lint is wrong here @SuppressLint("StringFormatMatches") private String getMobileInfoString(Context c) { c.getPackageManager(); -- cgit v1.2.3