OSDN Git Service

Don't update metadata on local data insert.
authorSeth Raphael <magicseth@google.com>
Tue, 8 Apr 2014 19:02:18 +0000 (12:02 -0700)
committerSeth Raphael <magicseth@google.com>
Tue, 15 Apr 2014 21:42:58 +0000 (14:42 -0700)
commit92f197607eb6303e11f88dc65e7e23614e384615
tree649acd6218b8ebd393a66a5d444bb5eadfcf3e88
parent5dd85a1399f795284c7f0e632d102b61bb82887a
Don't update metadata on local data insert.

It is possible for insert data to be called in
a loop with many items, and this will cause un-
needed lookups of meta data.

The metadata lookup is already handled but the
filmstrip lazily, so it is not necessary here.

Bug: 13875458
Change-Id: I476eb1d44fa3d089f47b8b16f9be6d3255b4759e
src/com/android/camera/data/CameraDataAdapter.java