(Context context, String url, String version)
| 15 | public class ApkUpdate extends Update { |
| 16 | |
| 17 | public ApkUpdate(Context context, String url, String version) { |
| 18 | this.url = url; |
| 19 | this.version = version; |
| 20 | name = String.format("cSploit-%s.apk", version); |
| 21 | path = String.format("%s/%s", System.getStoragePath(), name); |
| 22 | prompt = String.format(context.getString(R.string.new_apk_found), version); |
| 23 | } |
| 24 | |
| 25 | @Override |
| 26 | public boolean haveIntent() { |
nothing calls this directly
no test coverage detected