Loading res/drawable/bg_ps_header.xml +10 −6 Original line number Diff line number Diff line Loading @@ -14,9 +14,13 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/accent_ripple_color"> <item> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="@dimen/ps_container_corner_radius" /> <solid android:color="?attr/materialColorSurfaceContainerHigh" /> </shape> </item> </ripple> res/drawable/ps_lock_background.xml +14 −10 Original line number Diff line number Diff line Loading @@ -15,8 +15,10 @@ ~ limitations under the License. --> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:inset="4dp"> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/accent_ripple_color"> <item> <inset android:inset="4dp"> <shape android:shape="rectangle"> <corners android:radius="@dimen/ps_lock_corner_radius" /> <solid android:color="?attr/materialColorPrimaryFixedDim" /> Loading @@ -25,3 +27,5 @@ android:right="@dimen/ps_lock_button_background_padding" /> </shape> </inset> </item> </ripple> src/com/android/launcher3/allapps/PrivateProfileManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -410,8 +410,10 @@ public class PrivateProfileManager extends UserProfileManager { private void addHeaderOnClickListener(RelativeLayout header) { if (getCurrentState() == STATE_DISABLED) { header.setOnClickListener(view -> lockingAction(/* lock */ false)); header.setClickable(true); } else { header.setOnClickListener(null); header.setClickable(false); } } Loading Loading
res/drawable/bg_ps_header.xml +10 −6 Original line number Diff line number Diff line Loading @@ -14,9 +14,13 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/accent_ripple_color"> <item> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="@dimen/ps_container_corner_radius" /> <solid android:color="?attr/materialColorSurfaceContainerHigh" /> </shape> </item> </ripple>
res/drawable/ps_lock_background.xml +14 −10 Original line number Diff line number Diff line Loading @@ -15,8 +15,10 @@ ~ limitations under the License. --> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:inset="4dp"> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/accent_ripple_color"> <item> <inset android:inset="4dp"> <shape android:shape="rectangle"> <corners android:radius="@dimen/ps_lock_corner_radius" /> <solid android:color="?attr/materialColorPrimaryFixedDim" /> Loading @@ -25,3 +27,5 @@ android:right="@dimen/ps_lock_button_background_padding" /> </shape> </inset> </item> </ripple>
src/com/android/launcher3/allapps/PrivateProfileManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -410,8 +410,10 @@ public class PrivateProfileManager extends UserProfileManager { private void addHeaderOnClickListener(RelativeLayout header) { if (getCurrentState() == STATE_DISABLED) { header.setOnClickListener(view -> lockingAction(/* lock */ false)); header.setClickable(true); } else { header.setOnClickListener(null); header.setClickable(false); } } Loading