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

Commit 14164fb1 authored by Xin Li's avatar Xin Li
Browse files

DO NOT MERGE - Merge TP1A.220624.013

Merged-In: I2f3d04546af58edbe7bae2b7d856ab3d87365fdf
Change-Id: Iaf981a42ffa918ec7dc0b86e533c5c8371872271
parents 069963bf 0d3ff311
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -542,14 +542,17 @@ public class ApkLiteParseUtils {


                int minVer = DEFAULT_MIN_SDK_VERSION;
                int minVer = DEFAULT_MIN_SDK_VERSION;
                String minCode = null;
                String minCode = null;
                boolean minAssigned = false;
                int targetVer = DEFAULT_TARGET_SDK_VERSION;
                int targetVer = DEFAULT_TARGET_SDK_VERSION;
                String targetCode = null;
                String targetCode = null;


                if (!TextUtils.isEmpty(minSdkVersionString)) {
                if (!TextUtils.isEmpty(minSdkVersionString)) {
                    try {
                    try {
                        minVer = Integer.parseInt(minSdkVersionString);
                        minVer = Integer.parseInt(minSdkVersionString);
                        minAssigned = true;
                    } catch (NumberFormatException ignored) {
                    } catch (NumberFormatException ignored) {
                        minCode = minSdkVersionString;
                        minCode = minSdkVersionString;
                        minAssigned = !TextUtils.isEmpty(minCode);
                    }
                    }
                }
                }


@@ -558,7 +561,7 @@ public class ApkLiteParseUtils {
                        targetVer = Integer.parseInt(targetSdkVersionString);
                        targetVer = Integer.parseInt(targetSdkVersionString);
                    } catch (NumberFormatException ignored) {
                    } catch (NumberFormatException ignored) {
                        targetCode = targetSdkVersionString;
                        targetCode = targetSdkVersionString;
                        if (minCode == null) {
                        if (!minAssigned) {
                            minCode = targetCode;
                            minCode = targetCode;
                        }
                        }
                    }
                    }
+1 −1
Original line number Original line Diff line number Diff line
@@ -46,5 +46,5 @@ oneway interface IRemoteAnimationRunner {
     * won't have any effect anymore.
     * won't have any effect anymore.
     */
     */
    @UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
    @UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
    void onAnimationCancelled();
    void onAnimationCancelled(boolean isKeyguardOccluded);
}
}
+12 −4
Original line number Original line Diff line number Diff line
@@ -2804,10 +2804,6 @@ public final class ViewRootImpl implements ViewParent,
        // Execute enqueued actions on every traversal in case a detached view enqueued an action
        // Execute enqueued actions on every traversal in case a detached view enqueued an action
        getRunQueue().executeActions(mAttachInfo.mHandler);
        getRunQueue().executeActions(mAttachInfo.mHandler);


        if (mApplyInsetsRequested) {
            dispatchApplyInsets(host);
        }

        if (mFirst) {
        if (mFirst) {
            // make sure touch mode code executes by setting cached value
            // make sure touch mode code executes by setting cached value
            // to opposite of the added touch mode.
            // to opposite of the added touch mode.
@@ -2871,6 +2867,18 @@ public final class ViewRootImpl implements ViewParent,
            }
            }
        }
        }


        if (mApplyInsetsRequested) {
            dispatchApplyInsets(host);
            if (mLayoutRequested) {
                // Short-circuit catching a new layout request here, so
                // we don't need to go through two layout passes when things
                // change due to fitting system windows, which can happen a lot.
                windowSizeMayChange |= measureHierarchy(host, lp,
                        mView.getContext().getResources(),
                        desiredWindowWidth, desiredWindowHeight);
            }
        }

        if (layoutRequested) {
        if (layoutRequested) {
            // Clear this now, so that if anything requests a layout in the
            // Clear this now, so that if anything requests a layout in the
            // rest of this function we will catch it and re-run a full
            // rest of this function we will catch it and re-run a full
+3 −1
Original line number Original line Diff line number Diff line
@@ -138,7 +138,7 @@


        </LinearLayout>
        </LinearLayout>


        <ImageView
        <com.android.internal.widget.CachingIconView
            android:id="@+id/right_icon"
            android:id="@+id/right_icon"
            android:layout_width="@dimen/notification_right_icon_size"
            android:layout_width="@dimen/notification_right_icon_size"
            android:layout_height="@dimen/notification_right_icon_size"
            android:layout_height="@dimen/notification_right_icon_size"
@@ -150,6 +150,8 @@
            android:clipToOutline="true"
            android:clipToOutline="true"
            android:importantForAccessibility="no"
            android:importantForAccessibility="no"
            android:scaleType="centerCrop"
            android:scaleType="centerCrop"
            android:maxDrawableWidth="@dimen/notification_right_icon_size"
            android:maxDrawableHeight="@dimen/notification_right_icon_size"
            />
            />


        <FrameLayout
        <FrameLayout
+3 −1
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@
  ~ See the License for the specific language governing permissions and
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  ~ limitations under the License
  -->
  -->
<ImageView
<com.android.internal.widget.CachingIconView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/right_icon"
    android:id="@+id/right_icon"
    android:layout_width="@dimen/notification_right_icon_size"
    android:layout_width="@dimen/notification_right_icon_size"
@@ -25,4 +25,6 @@
    android:clipToOutline="true"
    android:clipToOutline="true"
    android:importantForAccessibility="no"
    android:importantForAccessibility="no"
    android:scaleType="centerCrop"
    android:scaleType="centerCrop"
    android:maxDrawableWidth="@dimen/notification_right_icon_size"
    android:maxDrawableHeight="@dimen/notification_right_icon_size"
    />
    />
Loading