package com.mapswithme.maps;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class SmartGLActivity extends Activity
{
  private static String TAG = "SmartGLActivity";

  protected SmartGLSurfaceView m_view = null;

  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    Log.d(TAG, "onCreate");
    super.onCreate(savedInstanceState);

    setContentView(R.layout.map);
    m_view = (SmartGLSurfaceView)findViewById(R.id.map_smartglsurfaceview);
  }

  @Override
  protected void onRestart()
  {
    Log.d(TAG, "onRestart");
    super.onRestart();
  }

  @Override
  protected void onStart()
  {
    Log.d(TAG, "onStart");
    super.onStart();
  }

  @Override
  protected void onResume()
  {
    Log.d(TAG, "onResume");
    m_view.onResume();
    super.onResume();
  }

  @Override
  protected void onPause()
  {
    Log.d(TAG, "onPause");
    m_view.onPause();
    super.onPause();
  }

  @Override
  protected void onStop()
  {
    Log.d(TAG, "onStop");
    m_view.onStop();
    super.onStop();
  }

  @Override
  protected void onDestroy()
  {
    Log.d(TAG, "onDestroy");
    super.onDestroy();
  }
}

@@ -52,16 +52,41 @@
 tivity;%0A
+import android.os.Build;%0A
 import a
@@ -127,16 +127,51 @@
 til.Log;
+%0Aimport android.view.WindowManager;
 %0A%0Apublic
@@ -447,16 +447,135 @@
 tate);%0A%0A
+    if (!Build.MODEL.equals(%22Kindle Fire%22))%0A      getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);%0A%0A
     setC

Use Full Screen only on Kindle Fire to display notifications toolbar