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

Commit 4cf472c8 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10763631 from 5abcd747 to udc-qpr1-release

Change-Id: I42bb2e8051ee97b72289e53343fa43ea727929e5
parents 674e43e5 5abcd747
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ final class NavigationBarController {
                mNavigationBarFrame.setOnApplyWindowInsetsListener((view, insets) -> {
                    if (mNavigationBarFrame != null) {
                        boolean visible = insets.isVisible(captionBar());
                        mNavigationBarFrame.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
                        mNavigationBarFrame.setVisibility(visible ? View.VISIBLE : View.GONE);
                    }
                    return view.onApplyWindowInsets(insets);
                });
+12 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ import android.util.SparseArray;
import android.view.DragEvent;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.PointerIcon;
import android.view.View;
import android.view.ViewDebug;
import android.view.ViewGroup;
@@ -3139,4 +3140,15 @@ public class WebView extends AbsoluteLayout
        if (result == null) return super.onApplyWindowInsets(insets);
        return result;
    }

    @Override
    @Nullable
    public PointerIcon onResolvePointerIcon(@NonNull MotionEvent event, int pointerIndex) {
        PointerIcon icon =
                mProvider.getViewDelegate().onResolvePointerIcon(event, pointerIndex);
        if (icon != null) {
            return icon;
        }
        return super.onResolvePointerIcon(event, pointerIndex);
    }
}
+10 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ import android.util.SparseArray;
import android.view.DragEvent;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.PointerIcon;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.view.WindowInsets;
@@ -496,6 +497,15 @@ public interface WebViewProvider {
        default WindowInsets onApplyWindowInsets(@Nullable WindowInsets insets) {
            return null;
        }

        /**
         * @hide Only used by WebView.
         */
        @SuppressWarnings("unused")
        @Nullable
        default PointerIcon onResolvePointerIcon(@NonNull MotionEvent event, int pointerIndex) {
            return null;
        }
    }

    interface ScrollDelegate {
+7 −0
Original line number Diff line number Diff line
@@ -5377,6 +5377,13 @@
         of known compatibility issues. -->
    <string-array name="config_highRefreshRateBlacklist"></string-array>

    <!-- The list of packages to automatically opt in to refresh rate suppressing by small area
    detection. Format of this array should be packageName:threshold and threshold value should
     be between 0 to 1-->
    <string-array name="config_smallAreaDetectionAllowlist" translatable="false">
        <!-- Add packages:threshold here -->
    </string-array>

    <!-- The list of packages to force slowJpegMode for Apps using Camera API1 -->
    <string-array name="config_forceSlowJpegModeList" translatable="false">
        <!-- Add packages here -->
+2 −0
Original line number Diff line number Diff line
@@ -4239,6 +4239,8 @@
  <java-symbol type="array" name="config_highRefreshRateBlacklist" />
  <java-symbol type="array" name="config_forceSlowJpegModeList" />

  <java-symbol type="array" name="config_smallAreaDetectionAllowlist" />

  <java-symbol type="layout" name="chooser_dialog" />
  <java-symbol type="layout" name="chooser_dialog_item" />
  <java-symbol type="drawable" name="chooser_dialog_background" />
Loading