Skip to content

Commit

Permalink
Version change
Browse files Browse the repository at this point in the history
Removed the getDetails during printer discovery as it was displaying the printer as not available.
  • Loading branch information
ltrudu committed Mar 5, 2024
1 parent 16f742a commit 16ad359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ZebraPrintService/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
compileSdk 34
applicationId "com.zebra.zebraprintservice"
minSdkVersion 30
versionCode 38
versionName "1.6.0"
versionCode 39
versionName "1.6.1"
externalNativeBuild {
cmake {
cppFlags "-std=c++14"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList)
List<PrinterInfo> mCurrentList = getPrinters();
for (PrinterInfo printer : mCurrentList)
{
if (DEBUG) Log.i(TAG,"GetPrinters():Printer:" + printer.getName());
boolean bFound = false;
for (PrinterDatabase.Printer stored : printers)
{
Expand All @@ -126,8 +127,6 @@ public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList)
}
if (print != null)
{
print.getDetails();

Intent i = new Intent(mService, PrinterInfoActivity.class);
i.putExtra("printer", Parcels.wrap(printer));
PendingIntent pi = PendingIntent.getActivity(mService, iReqCode, i, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_MUTABLE);
Expand Down

0 comments on commit 16ad359

Please sign in to comment.