title: overridePendingTransition makes screen black in API 23,but working well in API 29
body: <p>In my app,i added an refresh button to reload the activity.I also uses overridePendingOperation for smoother transition.</p>
  
  <p>This is the method,which is reloading the activity.</p>
  
  <pre><code>private void refreshActivity(){
      finish();
      overridePendingTransition(R.anim.slide_up,R.anim.slide_up);
      startActivity(getIntent());
      overridePendingTransition(R.anim.slide_up,R.anim.slide_up);
  }
  </code></pre>
  
  <p>This method works perfectly in my RealmeC2(API 29) device,but not working on Xiaomi 4(API 23).It's just showing black screen when i press refresh button.I have no idea why it is happening?</p>
  
  <p>Can anybody help me please?</p>
  
  <p>I am 100% sure that in both devices animation-transition's scale set to 1x.</p>