Code sanitization
- Removed bad method/class name typos Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
This commit is contained in:
1 parent
cc257380fe
commit
0de011705b
26 files changed
+65
-86
No files matched your search
@@ -44,7 +44,7 @@ public class DragPreviewProvider {
|
||||
// The padding added to the drag view during the preview generation.
|
||||
public final int previewPadding;
|
||||
|
||||
public Bitmap gerenatedDragOutline;
|
||||
public Bitmap generatedDragOutline;
|
||||
|
||||
public DragPreviewProvider(View view) {
|
||||
mView = view;
|
||||
@@ -120,11 +120,11 @@ public class DragPreviewProvider {
|
||||
}
|
||||
|
||||
public final void generateDragOutline(Canvas canvas) {
|
||||
if (ProviderConfig.IS_DOGFOOD_BUILD && gerenatedDragOutline != null) {
|
||||
if (ProviderConfig.IS_DOGFOOD_BUILD && generatedDragOutline != null) {
|
||||
throw new RuntimeException("Drag outline generated twice");
|
||||
}
|
||||
|
||||
gerenatedDragOutline = createDragOutline(canvas);
|
||||
generatedDragOutline = createDragOutline(canvas);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user