Skip to content

Commit 5cbae12

Browse files
committed
Added necessary dependencies that were removed in PR #285
1 parent 8dc3452 commit 5cbae12

File tree

6 files changed

+16
-0
lines changed

6 files changed

+16
-0
lines changed

source-code/app/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ dependencies {
6565
compile files('libs/kellinwood-logging-lib-1.1.jar')
6666
compile files('libs/kellinwood-logging-log4j-1.0.jar')
6767
compile files('libs/axml.jar')
68+
compile files('libs/pkix-1.51.0.0.jar')
69+
compile files('libs/core-1.51.0.0.jar')
70+
compile files('libs/prov-1.51.0.0.jar')
71+
compile files('libs/zipio-lib-1.8.jar')
6872

6973
compile 'com.squareup.picasso:picasso:2.5.2'
7074
compile 'org.jsoup:jsoup:1.9.1'
2.24 MB
Binary file not shown.
679 KB
Binary file not shown.
1.12 MB
Binary file not shown.
20.7 KB
Binary file not shown.

source-code/app/src/main/java/org/buildmlearn/toolkit/fragment/LoadApkFragment.java

+12
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,18 @@ public boolean onItemLongClick(AdapterView<?> parent, View view, int position, l
147147
return true;
148148
}
149149
});
150+
151+
getView().setFocusableInTouchMode(true);
152+
getView().requestFocus();
153+
getView().setOnKeyListener(new View.OnKeyListener() {
154+
@Override
155+
public boolean onKey(View v, int keyCode, KeyEvent event) {
156+
if (keyCode == KeyEvent.KEYCODE_BACK) {
157+
return true;
158+
}
159+
return false;
160+
}
161+
});
150162
}
151163

152164
/**

0 commit comments

Comments
 (0)