Skip to content

Commit

Permalink
not use AppCompatActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
anggastudio committed Aug 16, 2020
1 parent 122f56b commit 104fee7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
import android.os.Bundle;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import java.util.ArrayList;
import java.util.Set;

public class ChoosePrinterActivity extends AppCompatActivity {
public class ChoosePrinterActivity extends Activity {

private Set<BluetoothDevice> bondedDevices;
private String mPrinterName;
Expand All @@ -37,8 +36,8 @@ protected void onCreate(Bundle savedInstanceState) {
}

private void hideToolbar() {
if (getSupportActionBar() != null) {
getSupportActionBar().hide();
if (getActionBar() != null) {
getActionBar().hide();
}
}

Expand Down

0 comments on commit 104fee7

Please sign in to comment.