Skip to content

Commit a3404be

Browse files
mikejurkaAndroid (Google) Code Review
authored andcommitted
Merge "Change Recents background to solid color on sw600dp devices" into jb-dev
2 parents 995dd13 + f3abbad commit a3404be

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
/*
4+
* Copyright 2011, The Android Open Source Project
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
-->
19+
<color xmlns:android="http://schemas.android.com/apk/res/android"
20+
android:color="#e6000000"
21+
/>

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutP
428428
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
429429
} else {
430430
lp.flags |= WindowManager.LayoutParams.FLAG_DIM_BEHIND;
431-
lp.dimAmount = 0.7f;
431+
lp.dimAmount = 0.75f;
432432
}
433433
lp.gravity = Gravity.BOTTOM | Gravity.LEFT;
434434
lp.setTitle("RecentsPanel");
@@ -451,9 +451,6 @@ protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutPa
451451
(opaque ? PixelFormat.OPAQUE : PixelFormat.TRANSLUCENT));
452452
if (ActivityManager.isHighEndGfx(mDisplay)) {
453453
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
454-
} else {
455-
lp.flags |= WindowManager.LayoutParams.FLAG_DIM_BEHIND;
456-
lp.dimAmount = 0.7f;
457454
}
458455
lp.gravity = Gravity.BOTTOM | Gravity.LEFT;
459456
lp.setTitle("SearchPanel");

0 commit comments

Comments
 (0)