From 11976d946a909d6432140d80452cfda8444f457f Mon Sep 17 00:00:00 2001 From: Blundell Date: Sun, 15 Dec 2013 12:53:18 +0000 Subject: [PATCH] Static inner class to stop context leaks when using SystemBarConfig getter --- .../readystatesoftware/systembartint/SystemBarTintManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/com/readystatesoftware/systembartint/SystemBarTintManager.java b/library/src/com/readystatesoftware/systembartint/SystemBarTintManager.java index ceb8704..debea99 100644 --- a/library/src/com/readystatesoftware/systembartint/SystemBarTintManager.java +++ b/library/src/com/readystatesoftware/systembartint/SystemBarTintManager.java @@ -299,7 +299,7 @@ private void setupNavBarView(Context context, ViewGroup decorViewGroup) { * device configuration. * */ - public class SystemBarConfig { + public static class SystemBarConfig { private static final String STATUS_BAR_HEIGHT_RES_NAME = "status_bar_height"; private static final String NAV_BAR_HEIGHT_RES_NAME = "navigation_bar_height";