Another context menu fix for Chrome OS
@@ -20,6 +20,7 @@ import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.AsyncTask;
+import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.support.design.widget.TabLayout;
@@ -97,6 +98,9 @@ public class SelectAppActivity extends AppCompatActivity {
WindowManager.LayoutParams params = getWindow().getAttributes();
params.dimAmount = 0;
getWindow().setAttributes(params);
+
+ if(U.isChromeOs(this) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1)
+ getWindow().setElevation(0);
}
progressBar = (ProgressBar) findViewById(R.id.progress_bar);
