title: ACCESS_FINE_LOCATION permission
body: <p>I'm litte ashamed. But cant find what's wrong. </p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.szymon.gpslab1"
  android:versionCode="15"
  android:versionName="4.0.3"&gt;
  
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
  &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:supportsRtl="true"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name"
          android:theme="@style/AppTheme.NoActionBar" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>It's my manifest.
  and here's my code:</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  LocationManager locationManager;
  LocationListener locationListener;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      setSupportActionBar(toolbar);
  
      locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
      locationListener = new MyLocationListener();
  
      locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener);
  }
  private class MyLocationListener implements LocationListener{
  
      @Override
      public void onLocationChanged(Location location) {
          System.out.println("ZMIENIAMY SIĘ, zmieniamy siebie");
      }
  
      @Override
      public void onStatusChanged(String provider, int status, Bundle extras) {
  
      }
  
      @Override
      public void onProviderEnabled(String provider) {
  
      }
  
      @Override
      public void onProviderDisabled(String provider) {
  
      }
  }
  }
  </code></pre>
  
  <p>Im using the newest android studio (intellij) with embedded (?) emulator. Phone is out of options.
  ANd here what i've got:</p>
  
  <pre><code>FATAL EXCEPTION: main  
  Process: com.example.szymon.gpslab1, PID: 3274  
  java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.szymon.gpslab1/com.example.szymon.gpslab1.MainActivity}: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.  
  
  Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.  
  </code></pre>
  
  <p>I belive this is stupid mistake, but I've never like developed for android, im the javaman, and i've reached every tutorial on net, cant find answer.</p>
  
  <p>Ah and y, I have location on in my emulator.</p>