Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7188

E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted

$
0
0

The app that I am developing has a Google Map in its home fragment which is inside a navigation drawer. When I press the back button from a fragment opened by the menu in the navigation drawer the app closes and this error occurs:

E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted

To load the fragment:

private void loadFragment(Fragment fragment) {    FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();    transaction.replace(R.id.map, fragment);    transaction.addToBackStack(null).commit();}

The code to go back is the following:

@Overridepublic void onBackPressed(){    if (dl.isDrawerOpen(GravityCompat.START))        dl.closeDrawer(GravityCompat.START);    else        super.onBackPressed();    if (getFragmentManager().getBackStackEntryCount() > 0) {        getFragmentManager().popBackStack(null, 0);    } else super.onBackPressed();}

any idea on how to solve it?


Viewing all articles
Browse latest Browse all 7188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>