Remove unused windowAttributes
Historically used for window insets, then later for watch roundedness as well, then only watch roundedness, and finally nothing at all except recycle(). See I24e6564030a6051c3ac7262868983b43e13eee65 for the point where this became totally unused. Change-Id: Ic03a94a90cbf0b9fc61df190b106747d096b94c4
This commit is contained in:
@@ -45,7 +45,6 @@ import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.BLASTBufferQueue;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
@@ -1153,11 +1152,6 @@ public abstract class WallpaperService extends Service {
|
||||
mLayout.token = mWindowToken;
|
||||
|
||||
if (!mCreated) {
|
||||
// Retrieve watch round info
|
||||
TypedArray windowStyle = obtainStyledAttributes(
|
||||
com.android.internal.R.styleable.Window);
|
||||
windowStyle.recycle();
|
||||
|
||||
// Add window
|
||||
mLayout.type = mIWallpaperEngine.mWindowType;
|
||||
mLayout.gravity = Gravity.START|Gravity.TOP;
|
||||
|
||||
Reference in New Issue
Block a user