small fixes
This commit is contained in:
parent
7095ecea2f
commit
377a892cf2
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ public class QuickActionsWidget extends LinearLayout {
|
|||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
FragmentManager fm = ((AppCompatActivity) getContext()).getSupportFragmentManager();
|
||||
if (action instanceof NewAction) {
|
||||
if (action instanceof NewAction) {
|
||||
fm.beginTransaction()
|
||||
.add(R.id.fragmentContainer, new QuickActionListFragment(), QuickActionListFragment.TAG)
|
||||
.addToBackStack(QuickActionListFragment.TAG).commitAllowingStateLoss();
|
||||
|
|
Loading…
Reference in a new issue