{
  "id": "pixel7-camera-preview",
  "version": "1.0.0",
  "title": "Camera preview and focus checks",
  "deviceFamily": "phone",
  "modelId": "pixel7",
  "modelApplicability": {
    "id": "pixel7",
    "name": "Pixel 7",
    "family": "phone",
    "revision": "Standard Pixel 7 (2022), stock Android",
    "os": "Android 14 December 2023 update or later for Repair Mode. Other checks: stock Android with the named settings available.",
    "region": "US-first; repair options depend on country and warranty.",
    "help": "Open Settings → About phone and confirm Pixel 7. Check Android version and security update locally. Pixel 7a and Pixel 7 Pro are separate models.",
    "exclusions": [
      "Pixel 7a",
      "Pixel 7 Pro",
      "Pixel 6",
      "custom Android ROM"
    ],
    "sourceIds": [
      "pixel-safety",
      "pixel-repair"
    ]
  },
  "exclusions": [
    "Pixel 7a",
    "Pixel 7 Pro",
    "Pixel 6",
    "custom Android ROM"
  ],
  "intent": "Distinguish a lens obstruction from a recurring Pixel Camera app problem.",
  "category": "diagnostics",
  "prerequisites": [
    "Phone is cool enough for normal use",
    "Camera lens is not cracked"
  ],
  "tools": [
    "Soft clean cloth",
    "Good lighting"
  ],
  "materials": [
    "A private place to keep your findings",
    "A current backup if the device is accessible"
  ],
  "checks": [
    {
      "id": "safety",
      "goal": "Separate unsafe hardware from routine preparation.",
      "question": "Any swelling, casing separation, liquid damage, smoke, burning smell, or damaged battery/adapter?",
      "sourceIds": [
        "pixel-safety"
      ],
      "options": [
        {
          "id": "safe",
          "label": "No visible danger",
          "next": "check-1"
        },
        {
          "id": "danger",
          "label": "Yes, or suspected damage",
          "next": "stop"
        },
        {
          "id": "unknown",
          "label": "I cannot confirm",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "check-1",
      "goal": "Remove surface and transient app effects.",
      "question": "Have you tried a clear lens in good light and restarted normally?",
      "sourceIds": [
        "pixel-camera"
      ],
      "options": [
        {
          "id": "yes",
          "label": "Yes",
          "next": "check-2"
        },
        {
          "id": "no",
          "label": "No",
          "next": "attention"
        },
        {
          "id": "unknown",
          "label": "Not checked / unsure",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "check-2",
      "goal": "Separate camera-specific from app-specific symptoms.",
      "question": "Do front and rear previews now work in Pixel Camera?",
      "sourceIds": [
        "pixel-camera"
      ],
      "options": [
        {
          "id": "yes",
          "label": "Both previews work",
          "next": "ready"
        },
        {
          "id": "no",
          "label": "A preview still fails",
          "next": "service"
        },
        {
          "id": "unknown",
          "label": "Not checked / unsure",
          "next": "uncertain"
        }
      ]
    }
  ],
  "branches": [
    {
      "from": "safety",
      "answer": "safe",
      "to": "check-1"
    },
    {
      "from": "safety",
      "answer": "danger",
      "to": "stop"
    },
    {
      "from": "safety",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "check-1",
      "answer": "yes",
      "to": "check-2"
    },
    {
      "from": "check-1",
      "answer": "no",
      "to": "attention"
    },
    {
      "from": "check-1",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "check-2",
      "answer": "yes",
      "to": "ready"
    },
    {
      "from": "check-2",
      "answer": "no",
      "to": "service"
    },
    {
      "from": "check-2",
      "answer": "unknown",
      "to": "uncertain"
    }
  ],
  "steps": [
    {
      "id": "step-1",
      "text": "Remove a removable case that blocks a lens and gently wipe the back glass with a soft clean cloth. Compare the preview in good lighting.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "General troubleshooting steps 1–3 / Selfie camera / Fix shutter delay"
    },
    {
      "id": "step-2",
      "text": "Restart Pixel 7 using Power + Volume up to show the power menu, then choose the normal restart. Retest the Pixel Camera app, not just a third-party camera app.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "General troubleshooting steps 1–3 / Selfie camera / Fix shutter delay"
    },
    {
      "id": "step-3",
      "text": "If still affected, press and hold Camera → App info → Storage & cache → Clear cache. Select cache only, then reopen the camera.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "General troubleshooting steps 1–3 / Selfie camera / Fix shutter delay"
    },
    {
      "id": "step-4",
      "text": "Check the Pixel Camera app update in Play Store. Compare the front and rear preview and record which fails; do not interpret a slight camera rattle as a failure by itself.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "General troubleshooting steps 1–3 / Selfie camera / Fix shutter delay"
    }
  ],
  "outcomeChecks": [
    "Save which reversible check restored the preview. Compare again during normal use before treating it as resolved.",
    "Persistent front/rear preview or focus faults need Google repair support with the comparison. Cache clearing does not certify hardware health."
  ],
  "stopConditions": [
    "Stop using and charging a swollen or damaged battery. Do not open, compress, puncture, or attempt battery removal. Contact the manufacturer or a qualified service provider.",
    "Disconnect a damaged accessory if it is safe to do so. Do not open a mains power adapter.",
    "Save accessible data before restarting. Do not reset, erase, flash firmware, bypass a lock, or open the enclosure in this task."
  ],
  "terminals": {
    "ready": {
      "type": "preparation_saved",
      "title": "Checks recorded",
      "text": "Save which reversible check restored the preview. Compare again during normal use before treating it as resolved."
    },
    "service": {
      "type": "service_needed",
      "title": "Arrange service or support",
      "text": "Persistent front/rear preview or focus faults need Google repair support with the comparison. Cache clearing does not certify hardware health."
    },
    "attention": {
      "type": "maintenance_possible",
      "title": "Complete the preparation first",
      "text": "Review the relevant step above. Gather the missing item or perform the reversible check, then go back and update your answer. A missing prerequisite does not identify a failed part."
    },
    "uncertain": {
      "type": "preparation_saved",
      "title": "Save an incomplete preparation record",
      "text": "Your observation is still unknown. Save the unanswered checks and use the linked support instructions or a qualified provider to confirm the next step."
    },
    "stop": {
      "type": "service_needed",
      "title": "Stop and get professional help",
      "text": "Do not charge, use, open or press on a device with suspected battery damage. Do not handle hot or smoking equipment. Seek the manufacturer’s safety and service guidance; use local emergency services if there is an immediate fire risk."
    }
  },
  "sources": [
    {
      "id": "pixel-camera",
      "title": "Fix Pixel Camera app",
      "url": "https://support.google.com/pixelphone/answer/6306624?hl=en",
      "locator": "General troubleshooting / Fix shutter delay",
      "purpose": "Lens, restart, cache and app update checks",
      "checkedAt": "2026-10-04",
      "reuse": "Reference only. Original paraphrase; no copied images or manual pages.",
      "licenseStatus": "Public support document; no redistribution license assumed."
    },
    {
      "id": "pixel-safety",
      "title": "Pixel 7 safety and regulatory guide",
      "url": "https://support.google.com/pixelphone/answer/12164747?hl=en",
      "locator": "Safety warnings / Repair and service",
      "purpose": "Physical damage, battery handling and model safety",
      "checkedAt": "2026-10-04",
      "reuse": "Reference only. Original paraphrase; no copied images or manual pages.",
      "licenseStatus": "Public support document; no redistribution license assumed."
    },
    {
      "id": "pixel-repair",
      "title": "Use Pixel Repair Mode",
      "url": "https://support.google.com/pixelphone/answer/14266732?hl=en",
      "locator": "Eligibility / Access Repair Mode",
      "purpose": "Android 14 December 2023+, 2 GB free, backup and credential safety",
      "checkedAt": "2026-10-04",
      "reuse": "Reference only. Original paraphrase; no copied images or manual pages.",
      "licenseStatus": "Public support document; no redistribution license assumed."
    }
  ],
  "assets": [
    {
      "path": "/assets/decision-flow.svg",
      "kind": "Original schematic",
      "alt": "Model match, danger check, observation, then preparation or service"
    }
  ],
  "relatedIds": [
    "pixel7-battery-drain",
    "pixel7-wired-charge",
    "pixel7-bluetooth-audio"
  ],
  "estimatedDuration": {
    "minutes": 15,
    "label": "Planning estimate; excludes charging, cooling, backups and service. Not a measured repair time."
  }
}