SsoWebView.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * ownCloud Android client application
  3. *
  4. * Copyright (C) 2015 ownCloud Inc.
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2,
  8. * as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. *
  18. */
  19. package com.owncloud.android.ui.dialog;
  20. import android.content.Context;
  21. import android.util.AttributeSet;
  22. import android.webkit.WebView;
  23. public class SsoWebView extends WebView {
  24. public SsoWebView(Context context) {
  25. super(context);
  26. }
  27. public SsoWebView(Context context, AttributeSet attr) {
  28. super(context, attr);
  29. }
  30. @Override
  31. public boolean onCheckIsTextEditor () {
  32. return false;
  33. }
  34. }