Misc. "fixes" to correct warnings.
This commit is contained in:
parent
3d8a2e7923
commit
afc673bb15
|
@ -124,8 +124,10 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
|
||||||
mMoreDetails.setVisibility(View.GONE);
|
mMoreDetails.setVisibility(View.GONE);
|
||||||
mInviteButton = (Button) findViewById(R.id.invite);
|
mInviteButton = (Button) findViewById(R.id.invite);
|
||||||
mInviteButton.setOnClickListener(inviteListener);
|
mInviteButton.setOnClickListener(inviteListener);
|
||||||
getActionBar().setHomeButtonEnabled(true);
|
if (getActionBar() != null) {
|
||||||
getActionBar().setDisplayHomeAsUpEnabled(true);
|
getActionBar().setHomeButtonEnabled(true);
|
||||||
|
getActionBar().setDisplayHomeAsUpEnabled(true);
|
||||||
|
}
|
||||||
mEditNickButton.setOnClickListener(new OnClickListener() {
|
mEditNickButton.setOnClickListener(new OnClickListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -364,6 +366,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
|
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
|
||||||
private void setListItemBackgroundOnView(View view) {
|
private void setListItemBackgroundOnView(View view) {
|
||||||
int sdk = android.os.Build.VERSION.SDK_INT;
|
int sdk = android.os.Build.VERSION.SDK_INT;
|
||||||
|
@ -383,7 +386,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
|
||||||
try {
|
try {
|
||||||
startIntentSenderForResult(intent.getIntentSender(), 0,
|
startIntentSenderForResult(intent.getIntentSender(), 0,
|
||||||
null, 0, 0, 0);
|
null, 0, 0, 0);
|
||||||
} catch (SendIntentException e) {
|
} catch (SendIntentException ignored) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue