Skip to content

Commit

Permalink
Merge pull request #8870 from hrydgard/android-sdk-24
Browse files Browse the repository at this point in the history
Update to target Android SDK platform 24 (N)
  • Loading branch information
hrydgard authored Jul 24, 2016
2 parents eb72a74 + 526d168 commit fa3f219
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="23" />
android:targetSdkVersion="24" />

<uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.screen.landscape" android:required="false" />
Expand Down
2 changes: 1 addition & 1 deletion android/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-23
target=android-24
1 change: 0 additions & 1 deletion android/src/org/ppsspp/ppsspp/NativeActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ public void getDesiredBackbufferSize(Point sz) {
sz.y = NativeApp.getDesiredBackbufferHeight();
}

@SuppressWarnings("deprecation")
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
1 change: 0 additions & 1 deletion android/src/org/ppsspp/ppsspp/NativeEGLConfigChooser.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.egl.EGLDisplay;

import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView.EGLConfigChooser;
import android.util.Log;

Expand Down
1 change: 0 additions & 1 deletion android/src/org/ppsspp/ppsspp/PpssppActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import android.app.AlertDialog;
import android.content.Intent;
import android.graphics.Point;
import android.os.Build;
import android.os.Bundle;
import android.os.Looper;
Expand Down
2 changes: 1 addition & 1 deletion android/src/org/ppsspp/ppsspp/ShortcutActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ private void respondToShortcutRequest(String path) {

private void showBadGameMessage() {
new Thread() {
@SuppressWarnings("deprecation")
@Override
public void run() {
Looper.prepare();
Expand All @@ -85,6 +84,7 @@ public void run() {

// Event when a file is selected on file dialog.
private SimpleFileChooser.FileSelectedListener onFileSelectedListener = new SimpleFileChooser.FileSelectedListener() {
@Override
public void onFileSelected(File file) {
// create shortcut using file path
respondToShortcutRequest(file.getAbsolutePath());
Expand Down

0 comments on commit fa3f219

Please sign in to comment.