Snap for 4824048 from bfee8559eaca4b3ce0625bc55cc9eb76108e42c2 to pi-release
Change-Id: I49a0c20b2d692f1514129988c028df7524631294
diff --git a/src/com/android/support/car/lenspicker/LensPickerActivity.java b/src/com/android/support/car/lenspicker/LensPickerActivity.java
index 48be59e..686795a 100644
--- a/src/com/android/support/car/lenspicker/LensPickerActivity.java
+++ b/src/com/android/support/car/lenspicker/LensPickerActivity.java
@@ -25,16 +25,15 @@
import android.service.media.MediaBrowserService;
import android.text.TextUtils;
import android.util.Log;
-import android.view.View;
+
+import androidx.car.widget.DayNightStyle;
+import androidx.car.widget.PagedListView;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
-import androidx.car.widget.DayNightStyle;
-import androidx.car.widget.PagedListView;
-
/**
* An Activity to present the user with a list of applications that can be started for a given
* facet.
@@ -61,14 +60,9 @@
mPagedListView = (PagedListView) findViewById(R.id.list_view);
// Set this to light mode, since the scroll bar buttons always appear
// on top of a dark scrim.
- mPagedListView.setDayNightStyle(DayNightStyle.FORCE_NIGHT);
+ mPagedListView.setDayNightStyle(DayNightStyle.ALWAYS_LIGHT);
- findViewById(R.id.dismiss_area).setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- finish();
- }
- });
+ findViewById(R.id.dismiss_area).setOnClickListener(v -> finish());
}
@Override