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

Commit a592d224 authored by Jim Miller's avatar Jim Miller
Browse files

Minor cleanup of left overs from GlowPadView integration.

- remove unused "chevron" assets
- reduce memory footprint in SystemUI by not loading unused handle drawable.

Change-Id: Iad1799d1a8a764c6abb4201520aa47ba84d33c38
parent 875e0554
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -214,8 +214,8 @@ public class GlowPadView extends View {
                mVibrationDuration);
        mFeedbackCount = a.getInt(R.styleable.GlowPadView_feedbackCount,
                mFeedbackCount);
        mHandleDrawable = new TargetDrawable(res,
                a.peekValue(R.styleable.GlowPadView_handleDrawable).resourceId);
        TypedValue handle = a.peekValue(R.styleable.GlowPadView_handleDrawable);
        mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0);
        mHandleDrawable.setState(TargetDrawable.STATE_INACTIVE);
        mOuterRing = new TargetDrawable(res,
                getResourceId(a, R.styleable.GlowPadView_outerRingDrawable));
@@ -717,7 +717,7 @@ public class GlowPadView extends View {
        startBackgroundAnimation(0, 0.0f);
        stopAndHideWaveAnimation();
        hideTargets(animate, false);
        hideGlow(0, 0, 1.0f, null);
        hideGlow(0, 0, 0.0f, null);
        Tweener.reset();
    }

−1.08 KiB
Loading image diff...
−1.16 KiB
Loading image diff...
−1.15 KiB
Loading image diff...
−1.07 KiB
Loading image diff...
Loading