@@ -513,6 +513,9 @@ public GenericPdu load(Uri uri) throws MmsException {
513513 PduCacheEntry cacheEntry ;
514514 synchronized (PDU_CACHE_INSTANCE ) {
515515 if (PDU_CACHE_INSTANCE .isUpdating (uri )) {
516+ if (LOCAL_LOGV ) {
517+ Log .v (TAG , "load: " + uri + " blocked by isUpdating()" );
518+ }
516519 try {
517520 PDU_CACHE_INSTANCE .wait ();
518521 } catch (InterruptedException e ) {
@@ -840,6 +843,9 @@ public void updateHeaders(Uri uri, SendReq sendReq) {
840843 // If the cache item is getting updated, wait until it's done updating before
841844 // purging it.
842845 if (PDU_CACHE_INSTANCE .isUpdating (uri )) {
846+ if (LOCAL_LOGV ) {
847+ Log .v (TAG , "updateHeaders: " + uri + " blocked by isUpdating()" );
848+ }
843849 try {
844850 PDU_CACHE_INSTANCE .wait ();
845851 } catch (InterruptedException e ) {
@@ -1002,6 +1008,9 @@ public void updateParts(Uri uri, PduBody body)
10021008 PduCacheEntry cacheEntry ;
10031009 synchronized (PDU_CACHE_INSTANCE ) {
10041010 if (PDU_CACHE_INSTANCE .isUpdating (uri )) {
1011+ if (LOCAL_LOGV ) {
1012+ Log .v (TAG , "updateParts: " + uri + " blocked by isUpdating()" );
1013+ }
10051014 try {
10061015 PDU_CACHE_INSTANCE .wait ();
10071016 } catch (InterruptedException e ) {
@@ -1097,6 +1106,9 @@ public Uri persist(GenericPdu pdu, Uri uri) throws MmsException {
10971106 // If the cache item is getting updated, wait until it's done updating before
10981107 // purging it.
10991108 if (PDU_CACHE_INSTANCE .isUpdating (uri )) {
1109+ if (LOCAL_LOGV ) {
1110+ Log .v (TAG , "persist: " + uri + " blocked by isUpdating()" );
1111+ }
11001112 try {
11011113 PDU_CACHE_INSTANCE .wait ();
11021114 } catch (InterruptedException e ) {
0 commit comments