Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 268d7ad3 authored by Adam Koch's avatar Adam Koch Committed by Android Git Automerger
Browse files

am 310b1e51: am af5b2d3f: am 6e1ce75f: am b430d93b: am cb3ea3d4: Merge "Doc...

am 310b1e51: am af5b2d3f: am 6e1ce75f: am b430d93b: am cb3ea3d4: Merge "Doc fix: Update code snippet in displaying bitmaps training class Bug: 12715659" into klp-docs

* commit '310b1e51':
  Doc fix: Update code snippet in displaying bitmaps training class Bug: 12715659
parents f3560a13 310b1e51
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -172,7 +172,8 @@ public static boolean cancelPotentialWork(int data, ImageView imageView) {

    if (bitmapWorkerTask != null) {
        final int bitmapData = bitmapWorkerTask.data;
        if (bitmapData != data) {
        // If bitmapData is not yet set or it differs from the new data
        if (bitmapData == 0 || bitmapData != data) {
            // Cancel previous task
            bitmapWorkerTask.cancel(true);
        } else {