Optimise code, indicate changes in copyright headers

This commit is contained in:
Patryk Michalik
2021-04-28 11:37:18 +02:00
parent 7235a78603
commit f6c6bb25d2
4 changed files with 9 additions and 8 deletions
@@ -12,6 +12,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Modifications copyright 2021, Lawnchair
*/
package com.android.launcher3.uioverrides.touchcontrollers;
@@ -93,11 +95,9 @@ public class StatusBarTouchController implements TouchController {
if (mSystemUiProxy.isActive()) {
mLastAction = ev.getActionMasked();
mSystemUiProxy.onStatusBarMotionEvent(ev);
} else {
if (!mExpanded) {
mExpanded = true;
expand();
}
} else if (!mExpanded) {
mExpanded = true;
expand();
}
}