Add edge-to-edge effect to IndividualPickerFragment

Before: https://drive.google.com/file/d/1sTLLSEYOpLRKOcf5w0db-nMx5qAAga-q/view?usp=sharing
After: https://drive.google.com/file/d/1K0f7Asn8uaJHrGYrqoSXeDwUS2kBBk6M/view?usp=sharing

The daily rotation button will be moved out bottom action bar, so there
is no blocking for grid items.

Bug: 185293474
Test: manual
Change-Id: Ifd991ba9f3a1750c33e572e0145bce73c721a086
diff --git a/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java b/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java
index c9be889..d2921a3 100755
--- a/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java
+++ b/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java
@@ -517,6 +517,15 @@
         updateLoading();
         maybeSetUpImageGrid();
         setUpBottomSheet();
+        // For nav bar edge-to-edge effect.
+        view.findViewById(R.id.wallpaper_grid).setOnApplyWindowInsetsListener((v, windowInsets) -> {
+            v.setPadding(
+                    v.getPaddingLeft(),
+                    v.getPaddingTop(),
+                    v.getPaddingRight(),
+                    windowInsets.getSystemWindowInsetBottom());
+            return windowInsets.consumeSystemWindowInsets();
+        });
         return view;
     }