List of usage examples for android.content.res Configuration SCREENLAYOUT_LAYOUTDIR_LTR
int SCREENLAYOUT_LAYOUTDIR_LTR
To view the source code for android.content.res Configuration SCREENLAYOUT_LAYOUTDIR_LTR.
Click Source Link
From source file:io.lqd.sdk.Liquid.java
@SuppressLint("NewApi") private boolean isApplicationInBackground(Activity activity) { boolean configurationChanged; if (Build.VERSION.SDK_INT < 11) { int changingConfigs = activity.getChangingConfigurations(); configurationChanged = (changingConfigs == Configuration.SCREENLAYOUT_LAYOUTDIR_RTL || changingConfigs == Configuration.SCREENLAYOUT_LAYOUTDIR_LTR); } else {//from w w w . j av a 2 s .c om configurationChanged = activity.isChangingConfigurations(); } return mAttachedActivities.size() == 0 && !configurationChanged; }