File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
app/src/main/java/com/stealthcotper/networktools Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 43
43
# Compile release apks
44
44
- run :
45
45
name : Compile APKs
46
- command : ./gradlew assembleRegularRelease
46
+ command : ./gradlew assembleRelease
47
47
48
48
49
49
# Copy APK files to artifacts
Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ public class MainActivity extends AppCompatActivity {
36
36
protected void onCreate (Bundle savedInstanceState ) {
37
37
super .onCreate (savedInstanceState );
38
38
setContentView (R .layout .activity_main );
39
- Toolbar toolbar = ( Toolbar ) findViewById (R .id .toolbar );
39
+ Toolbar toolbar = findViewById (R .id .toolbar );
40
40
setSupportActionBar (toolbar );
41
41
42
- resultText = ( TextView ) findViewById (R .id .resultText );
43
- editIpAddress = ( EditText ) findViewById (R .id .editIpAddress );
42
+ resultText = findViewById (R .id .resultText );
43
+ editIpAddress = findViewById (R .id .editIpAddress );
44
44
45
45
InetAddress ipAddress = IPTools .getLocalIPv4Address ();
46
46
if (ipAddress != null ){
@@ -239,11 +239,8 @@ public void onFinished(ArrayList<Device> devicesFound) {
239
239
appendResultsText ("Finished " +timeTaken +" s" );
240
240
}
241
241
});
242
-
243
242
}
244
243
245
-
246
-
247
244
@ Override
248
245
public boolean onCreateOptionsMenu (Menu menu ) {
249
246
MenuInflater inflater = getMenuInflater ();
You can’t perform that action at this time.
0 commit comments