mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
use sdk 30 -- required by Play Store
This commit is contained in:
parent
f8ef1af1fb
commit
5982af1a4a
4 changed files with 6 additions and 3 deletions
|
@ -62,7 +62,7 @@ android {
|
|||
defaultConfig {
|
||||
// HostApduService requires 19. But is it a problem?
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 29 // must match ../build.gradle
|
||||
targetSdkVersion 30 // must match ../build.gradle
|
||||
versionCode VERSION_CODE_BASE
|
||||
versionName VERSION_NAME
|
||||
}
|
||||
|
|
|
@ -85,6 +85,7 @@ public abstract class DelegateBase implements DlgClickNotify,
|
|||
Assert.assertTrue( 0 < menuID );
|
||||
m_delegator = delegator;
|
||||
m_activity = delegator.getActivity();
|
||||
Assert.assertTrueNR( null != m_activity );
|
||||
m_dlgDelegate = new DlgDelegate( m_activity, this, this );
|
||||
m_layoutID = layoutID;
|
||||
m_optionsMenuID = menuID;
|
||||
|
|
|
@ -217,8 +217,10 @@ abstract class XWFragment extends Fragment implements Delegator {
|
|||
public void addFragment( XWFragment fragment, Bundle extras )
|
||||
{
|
||||
MainActivity main = (MainActivity)getActivity();
|
||||
if ( null != main ) { // I've seen this come back null
|
||||
main.addFragment( fragment, extras );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addFragmentForResult( XWFragment fragment, Bundle extras,
|
||||
|
|
|
@ -32,7 +32,7 @@ subprojects {
|
|||
afterEvaluate {project ->
|
||||
if (project.hasProperty("android")) {
|
||||
android {
|
||||
compileSdkVersion 29 // must match app/build.gradle
|
||||
compileSdkVersion 30 // must match app/build.gradle
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue