Notification improvements #1175
1 changed files with 1 additions and 6 deletions
|
@ -2781,12 +2781,7 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
|
||||||
}
|
}
|
||||||
|
|
||||||
private Fragment getCurrentFragment() {
|
private Fragment getCurrentFragment() {
|
||||||
List<Fragment> fragmentList = getSupportFragmentManager().getFragments();
|
return getSupportFragmentManager().findFragmentById(R.id.content_main);
|
||||||
|
|
||||||
if (fragmentList.size() > 0)
|
|
||||||
return fragmentList.get(fragmentList.size() - 1);
|
|
||||||
else
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void hideActionBar() {
|
public void hideActionBar() {
|
||||||
|
|
Loading…
Reference in a new issue