// Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com>
// All rights reserved.

package com.barvoy.sensorama;
import com.barvoy.sensorama.BuildConfig;

import android.app.Application;
import android.content.Context;

import com.parse.Parse;
import com.parse.ParseCrashReporting;

public class SRApp extends Application {
    private static Context context;

    public void onCreate(){
        super.onCreate();
        ParseCrashReporting.enable(this);

        Parse.enableLocalDatastore(this);
        Parse.initialize(this,
                BuildConfig.PARSE_API_ID,
                BuildConfig.PARSE_API_ID
        );
        SRApp.context = getApplicationContext();
    }

    public static Context getAppContext() {
        return SRApp.context;
    }
}

// Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com>
// All rights reserved.

package com.barvoy.sensorama;
import com.barvoy.sensorama.BuildConfig;

import android.app.Application;
import android.content.Context;

import com.parse.Parse;
import com.parse.ParseCrashReporting;

public class SRApp extends Application {
    private static Context context;

    public void onCreate(){
        super.onCreate();
        ParseCrashReporting.enable(this);

        Parse.enableLocalDatastore(this);
        Parse.initialize(this,
                BuildConfig.PARSE_API_ID,
                BuildConfig.PARSE_CLIENT_ID
        );
        SRApp.context = getApplicationContext();
    }

    public static Context getAppContext() {
        return SRApp.context;
    }
}

Fix a typo.