Skip to content

Commit

Permalink
Restyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed May 30, 2022
1 parent 41532e3 commit 418d0fb
Showing 1 changed file with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ public MatterCommissioningPrompter(Activity activity) {
public void promptForCommissionOkPermission(
int vendorId, int productId, String commissioneeName) {
// TODO: find app by vendorId and productId
Log.d(TAG, "Received prompt for OK permission vendor id:" + vendorId + " productId:" + productId + ". Commissionee: " + commissioneeName);
Log.d(
TAG,
"Received prompt for OK permission vendor id:"
+ vendorId
+ " productId:"
+ productId
+ ". Commissionee: "
+ commissioneeName);
AlertDialog.Builder builder = new AlertDialog.Builder(activity);

builder
Expand All @@ -52,7 +59,14 @@ public void promptForCommissionOkPermission(
@Override
public void promptForCommissionPinCode(int vendorId, int productId, String commissioneeName) {
// TODO: find app by vendorId and productId
Log.d(TAG, "Received prompt for PIN code vendor id:" + vendorId + " productId:" + productId + ". Commissionee: " + commissioneeName);
Log.d(
TAG,
"Received prompt for PIN code vendor id:"
+ vendorId
+ " productId:"
+ productId
+ ". Commissionee: "
+ commissioneeName);
EditText editText = new EditText(activity);
AlertDialog.Builder builder = new AlertDialog.Builder(activity);

Expand All @@ -76,7 +90,14 @@ public void promptForCommissionPinCode(int vendorId, int productId, String commi
}

public void promptCommissioningSucceeded(int vendorId, int productId, String commissioneeName) {
Log.d(TAG, "Received prompt for success vendor id:" + vendorId + " productId:" + productId + ". Commissionee: " + commissioneeName);
Log.d(
TAG,
"Received prompt for success vendor id:"
+ vendorId
+ " productId:"
+ productId
+ ". Commissionee: "
+ commissioneeName);
NotificationCompat.Builder builder =
new NotificationCompat.Builder(activity, CHANNEL_ID)
.setSmallIcon(R.drawable.ic_baseline_check_24)
Expand All @@ -91,7 +112,14 @@ public void promptCommissioningSucceeded(int vendorId, int productId, String com
}

public void promptCommissioningFailed(String commissioneeName, String error) {
Log.d(TAG, "Received prompt for failure vendor id:" + vendorId + " productId:" + productId + ". Commissionee: " + commissioneeName);
Log.d(
TAG,
"Received prompt for failure vendor id:"
+ vendorId
+ " productId:"
+ productId
+ ". Commissionee: "
+ commissioneeName);
NotificationCompat.Builder builder =
new NotificationCompat.Builder(activity, CHANNEL_ID)
.setSmallIcon(R.drawable.ic_baseline_clear_24)
Expand Down

0 comments on commit 418d0fb

Please sign in to comment.