package com.example.nokiaxtheme;

import java.util.Locale;

import android.content.Context;
import android.os.Build;

public class Helpers {

	/**
	 * Sets the correct theme based on the device that the app is running on.
	 * You have two options for implementing this:
	 *  - set the theme on the Application object
	 *  - call this method at the beginning of onCreate in every Activity
	 * 
	 * @param c  context, e.g. an Application or Activity
	 */
	public static void setTheme(Context c) {
		//if (!Build.MANUFACTURER.toLowerCase(Locale.US).contains("nokia")) {
		//	c.setTheme(R.style.AppTheme);
		//} else {
			c.setTheme(R.style.AppTheme_Nokia);
		//}
	}
	
}

@@ -490,18 +490,16 @@
  c) %7B%0A%09%09
-//
 if (!Bui
@@ -560,18 +560,16 @@
 %22)) %7B%0A%09%09
-//
 %09c.setTh
@@ -593,18 +593,16 @@
 eme);%0A%09%09
-//
 %7D else %7B
@@ -645,12 +645,10 @@
 a);%0A
+
 %09%09
-//
 %7D%0A%09%7D

Fix theme setter