Differential D17818 Diff 48252 src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandUrlActivity.java
Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandUrlActivity.java
1 | package org.kde.kdeconnect.Plugins.RunCommandPlugin; | 1 | package org.kde.kdeconnect.Plugins.RunCommandPlugin; | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | import android.net.Uri; | 3 | import android.net.Uri; | ||
4 | import android.os.Bundle; | 4 | import android.os.Bundle; | ||
5 | import android.os.Vibrator; | 5 | import android.os.Vibrator; | ||
6 | import android.support.annotation.Nullable; | | |||
7 | import android.support.v7.app.AppCompatActivity; | | |||
8 | import android.util.Log; | 6 | import android.util.Log; | ||
9 | import android.view.Gravity; | 7 | import android.view.Gravity; | ||
10 | import android.widget.TextView; | 8 | import android.widget.TextView; | ||
11 | 9 | | |||
12 | import org.kde.kdeconnect.BackgroundService; | 10 | import org.kde.kdeconnect.BackgroundService; | ||
13 | import org.kde.kdeconnect.Device; | 11 | import org.kde.kdeconnect.Device; | ||
14 | import org.kde.kdeconnect_tp.R; | 12 | import org.kde.kdeconnect_tp.R; | ||
15 | 13 | | |||
14 | import androidx.annotation.Nullable; | ||||
15 | import androidx.appcompat.app.AppCompatActivity; | ||||
16 | | ||||
16 | public class RunCommandUrlActivity extends AppCompatActivity { | 17 | public class RunCommandUrlActivity extends AppCompatActivity { | ||
17 | 18 | | |||
18 | @Override | 19 | @Override | ||
19 | protected void onCreate(@Nullable Bundle savedInstanceState) { | 20 | protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
20 | super.onCreate(savedInstanceState); | 21 | super.onCreate(savedInstanceState); | ||
21 | 22 | | |||
22 | if (getIntent().getAction() != null) { | 23 | if (getIntent().getAction() != null) { | ||
23 | try { | 24 | try { | ||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |