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

Commit 40b137f4 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Hide GlowPadView warnings" into cm-10.2

parents f020564f cf937b76
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1316,7 +1316,7 @@ public class GlowPadView extends View {
        if (mTargetDescriptions == null || mTargetDescriptions.isEmpty() || index >= mTargetDescriptions.size()) {
            mTargetDescriptions = loadDescriptions(mTargetDescriptionsResourceId);
            if (mTargetDrawables.size() != mTargetDescriptions.size()) {
                Log.w(TAG, "The number of target drawables must be"
                if (DEBUG) Log.v(TAG, "The number of target drawables must be"
                        + " equal to the number of target descriptions.");
                return null;
            }
@@ -1328,7 +1328,7 @@ public class GlowPadView extends View {
        if (mDirectionDescriptions == null || mDirectionDescriptions.isEmpty() || index >= mDirectionDescriptions.size()) {
            mDirectionDescriptions = loadDescriptions(mDirectionDescriptionsResourceId);
            if (mTargetDrawables.size() != mDirectionDescriptions.size()) {
                Log.w(TAG, "The number of target drawables must be"
                if (DEBUG) Log.v(TAG, "The number of target drawables must be"
                        + " equal to the number of direction descriptions.");
                return null;
            }