summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherRootView.java
blob: e8c11c48bde39353ad26b51b80c223d5c7254e47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.android.launcher3;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;

public class LauncherRootView extends InsettableFrameLayout {
    public LauncherRootView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected boolean fitSystemWindows(Rect insets) {
        setInsets(insets);
        return true; // I'll take it from here
    }
}