mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
(Android Phoenix) RetroActivityCommon - Implement getAndroidOSVersion
This commit is contained in:
parent
104ae00915
commit
c038f7be8f
@ -8,13 +8,8 @@ import android.util.Log;
|
||||
|
||||
public class RetroActivityCommon extends RetroActivityLocation
|
||||
{
|
||||
/* PENDING INTENT VARIABLES */
|
||||
private Intent pendingIntent = null;
|
||||
|
||||
/* INTENT
|
||||
* TODO: Refactor to some class that RetroActivityCommon will implement
|
||||
* TODO: Make sure after refactoring to class that JNI will still work */
|
||||
|
||||
|
||||
@Override
|
||||
public void onNewIntent(Intent intent)
|
||||
{
|
||||
@ -84,4 +79,9 @@ public class RetroActivityCommon extends RetroActivityLocation
|
||||
retro.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
|
||||
startActivity(retro);
|
||||
}
|
||||
|
||||
public int getAndroidOSVersion()
|
||||
{
|
||||
return android.os.Build.VERSION.SDK_INT;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user