瀏覽代碼

Removed NO_HISTORY flag to fix copying login or password from other apps

Vadik Sirekanyan 5 年之前
父節點
當前提交
f740876dfc
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      app/src/main/java/com/sirekanyan/knigopis/feature/login/LoginActivity.kt

+ 0 - 1
app/src/main/java/com/sirekanyan/knigopis/feature/login/LoginActivity.kt

@@ -47,7 +47,6 @@ class LoginActivity : AppCompatActivity(), LoginPresenter.Router {
     override fun openBrowser(website: Website): Boolean {
         val toolbarColor = ContextCompat.getColor(this, website.color)
         val customTabsIntent = CustomTabsIntent.Builder().setToolbarColor(toolbarColor).build()
-        customTabsIntent.intent.addFlags(FLAG_ACTIVITY_NO_HISTORY)
         return try {
             customTabsIntent.launchUrl(this, website.uri)
             true