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

Commit 5a33bbb2 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6566083 from 1e255c4d to sc-d1-release

Change-Id: Ia183429c3139d6e30694f03ec756f3e2b3642c30
parents 309ee107 1e255c4d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
  <item android:drawable="@color/app_background_color"/>

  <item
      android:drawable="@drawable/app_icon"
      android:height="150dp"
      android:width="150dp"
      android:gravity="center"/>

</layer-list>
+3 −0
Original line number Diff line number Diff line
@@ -15,6 +15,9 @@
-->

<resources xmlns:android="http://schemas.android.com/apk/res/android">
    <style name="LauncherTheme" parent="DocumentsTheme">
        <item name="android:windowBackground">@drawable/launcher_screen_night</item>
    </style>
    <style name="DocumentsTheme" parent="@android:style/Theme.DeviceDefault.DocumentsUI">

        <!-- Toolbar -->
+6 −2
Original line number Diff line number Diff line
@@ -412,12 +412,16 @@ public final class SearchViewManagerTest {
        mSearchViewManager.onClick(null);
        mSearchChipViewManager.mCheckedChipItems = getFakeSearchChipDataList();

        final long startTime = LocalDate.now().minusDays(7).atStartOfDay(ZoneId.systemDefault())
                .toInstant().toEpochMilli();

        final Bundle queryArgs = mSearchViewManager.buildQueryArgs();
        assertFalse(queryArgs.isEmpty());

        final long endTime  = LocalDate.now().minusDays(7).atStartOfDay(ZoneId.systemDefault())
                .toInstant().toEpochMilli();
        final long weekAgoTime = queryArgs.getLong(QUERY_ARG_LAST_MODIFIED_AFTER);
        assertEquals(LocalDate.now().minusDays(7).atStartOfDay(ZoneId.systemDefault())
                .toInstant().toEpochMilli(), weekAgoTime);
        assertTrue(weekAgoTime == endTime || weekAgoTime == startTime);
    }

    @Test