View Issue Details

IDProjectCategoryView StatusLast Update
0010491MMASynchronizationpublic2013-02-22 23:01
ReporterLudek Assigned To 
PriorityurgentSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product Version1.0.1 
Target Version1.0.1 
Summary0010491: USB sync with MMW 4.1: MMA's DB copy for MMW is sometimes created as empty
DescriptionWhile fixing 0010487 I found that MMA is not creating mmstore.db.copy properly.

You will probably need MMW build 1624 to reproduce this, starting from build 1624 (issue 0010487) MMW asks MMA for safe DB copy whenever it detects mmstore.db-wal (because it means that the original is opened by MMA)


Steps to repro (need to test in MTP mode):
1. Delete all tracks from the device using MMA
2. Uninstall MMA and delete also mmstore.db, mmstore.db-wal, mmstore.db-shm (Question: shouldn't -wal and -shm be deleted after MMA uninstall??)
3. Install MMA => MMA has empty DB
4. connect to PC and try to sync several tracks from MMW 4.1 -> MMA
=> MMW reports errors like: "no such table albums"

This is because MMA created mmstore.db.copy for MMW that has only 12 KB and contains the only table android_metadata (verified that mmstore.db.copy has only 12KB both in the Android file manager and also in Windows Explorer)

The strange thing is that mmstore.db has 256 KB and mmstore.db-wal has 456 KB, so the issue is that mmstore.db.copy is created incorrectly.
TagsNo tags attached.
Fixed in build100

Relationships

parent of 0010552 closedLudek MMW v4 Nexus 7, JB 4.2.2, MTP sometimes freezes  

Activities

marek

2013-02-08 15:08

developer   ~0034844

Fixed in build 100

peke

2013-02-22 23:01

developer   ~0035070

Verified 104 and 1625