diff options
author | pacien | 2019-10-13 01:09:17 +0200 |
---|---|---|
committer | pacien | 2019-10-13 01:09:17 +0200 |
commit | c25f024320abf58d0831f10fa877f6a58635cd53 (patch) | |
tree | 4ca3b5dca47ccb8eb23aa37b8163117310e48b56 /app/src/main/java/org/pacien | |
parent | 2c566d2bf3c3f4663426cc9bb0d3917e5989635b (diff) | |
download | tincapp-c25f024320abf58d0831f10fa877f6a58635cd53.tar.gz |
target sdk 28
switching from android.support to androidx
Diffstat (limited to 'app/src/main/java/org/pacien')
25 files changed, 72 insertions, 72 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt index 196ccd3..37eef88 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -20,11 +20,11 @@ package org.pacien.tincapp.activities | |||
20 | 20 | ||
21 | import android.content.Intent | 21 | import android.content.Intent |
22 | import android.os.Bundle | 22 | import android.os.Bundle |
23 | import android.support.annotation.LayoutRes | 23 | import androidx.annotation.LayoutRes |
24 | import android.support.annotation.StringRes | 24 | import androidx.annotation.StringRes |
25 | import android.support.design.widget.Snackbar | 25 | import com.google.android.material.snackbar.Snackbar |
26 | import android.support.v7.app.AlertDialog | 26 | import androidx.appcompat.app.AlertDialog |
27 | import android.support.v7.app.AppCompatActivity | 27 | import androidx.appcompat.app.AppCompatActivity |
28 | import android.view.* | 28 | import android.view.* |
29 | import kotlinx.android.synthetic.main.base_activity.* | 29 | import kotlinx.android.synthetic.main.base_activity.* |
30 | import org.pacien.tincapp.R | 30 | import org.pacien.tincapp.R |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt index ae82fe7..1811c0c 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -19,8 +19,8 @@ | |||
19 | package org.pacien.tincapp.activities | 19 | package org.pacien.tincapp.activities |
20 | 20 | ||
21 | import android.content.Context | 21 | import android.content.Context |
22 | import android.support.annotation.LayoutRes | 22 | import androidx.annotation.LayoutRes |
23 | import android.support.v4.app.DialogFragment | 23 | import androidx.fragment.app.DialogFragment |
24 | import android.view.LayoutInflater | 24 | import android.view.LayoutInflater |
25 | import android.view.View | 25 | import android.view.View |
26 | import android.view.ViewGroup | 26 | import android.view.ViewGroup |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt index 44f57c7..6f0e5f9 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -18,8 +18,8 @@ | |||
18 | 18 | ||
19 | package org.pacien.tincapp.activities | 19 | package org.pacien.tincapp.activities |
20 | 20 | ||
21 | import android.support.annotation.LayoutRes | 21 | import androidx.annotation.LayoutRes |
22 | import android.support.v4.app.Fragment | 22 | import androidx.fragment.app.Fragment |
23 | import android.view.LayoutInflater | 23 | import android.view.LayoutInflater |
24 | import android.view.View | 24 | import android.view.View |
25 | import android.view.ViewGroup | 25 | import android.view.ViewGroup |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt b/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt index c55e889..7603fa7 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -18,8 +18,8 @@ | |||
18 | 18 | ||
19 | package org.pacien.tincapp.activities.common | 19 | package org.pacien.tincapp.activities.common |
20 | 20 | ||
21 | import android.support.v4.app.FragmentManager | 21 | import androidx.fragment.app.FragmentManager |
22 | import android.support.v4.app.FragmentPagerAdapter | 22 | import androidx.fragment.app.FragmentPagerAdapter |
23 | import org.pacien.tincapp.activities.BaseFragment | 23 | import org.pacien.tincapp.activities.BaseFragment |
24 | import org.pacien.tincapp.context.App | 24 | import org.pacien.tincapp.context.App |
25 | 25 | ||
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt b/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt index d4310a1..284f4de 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -20,7 +20,7 @@ package org.pacien.tincapp.activities.common | |||
20 | 20 | ||
21 | import android.annotation.SuppressLint | 21 | import android.annotation.SuppressLint |
22 | import android.app.Activity | 22 | import android.app.Activity |
23 | import android.support.v7.app.AlertDialog | 23 | import androidx.appcompat.app.AlertDialog |
24 | import android.view.LayoutInflater | 24 | import android.view.LayoutInflater |
25 | import android.view.View | 25 | import android.view.View |
26 | import android.widget.TextView | 26 | import android.widget.TextView |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt b/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt index 2bdbcca..d85768c 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | package org.pacien.tincapp.activities.common | 19 | package org.pacien.tincapp.activities.common |
20 | 20 | ||
21 | import android.support.v7.app.AlertDialog | 21 | import androidx.appcompat.app.AlertDialog |
22 | import org.apache.commons.io.input.ReversedLinesFileReader |