Merge "Remove unused windowAttributes"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3f329a27c8
@@ -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