]>
Commit | Line | Data |
---|---|---|
ae569a50 MG |
1 | package de.rmdir.ms2debounce; |
2 | ||
3 | import android.content.Intent; | |
4 | import android.app.IntentService; | |
5 | ||
6 | public class DebounceService extends IntentService { | |
7 | ||
8 | // Create worker thread | |
9 | public DebounceService() { | |
10 | super("DebounceService"); | |
11 | } | |
12 | ||
13 | @Override | |
14 | protected void onHandleIntent(Intent intent) { | |
15 | } | |
16 | ||
17 | @Override | |
18 | public void onCreate() { | |
19 | try { | |
20 | Process ps = Runtime.getRuntime().exec("su"); | |
21 | } catch (Exception e) {} | |
22 | super.onCreate(); | |
23 | } | |
24 | } |