Remove unused ApplicationContext fetch

This commit is contained in:
Vipul A M 2016-01-17 23:16:51 +05:30
parent 63d222667a
commit 85bf2073f1
1 changed files with 0 additions and 1 deletions

View File

@ -71,7 +71,6 @@ public class ClipboardModule extends ReactContextBaseJavaModule {
@SuppressLint("DeprecatedMethod")
@ReactMethod
public void setString(String text) {
ReactApplicationContext reactContext = getReactApplicationContext();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
ClipData clipdata = ClipData.newPlainText(null, text);
ClipboardManager clipboard = getClipboardService();