43 DEBUG_PRINTF("CMediaClientPolicyServerClient::SetSurface NULL SurfaceId received"); |
43 DEBUG_PRINTF("CMediaClientPolicyServerClient::SetSurface NULL SurfaceId received"); |
44 } |
44 } |
45 else |
45 else |
46 { |
46 { |
47 iSurfaceId = aSurfaceId; |
47 iSurfaceId = aSurfaceId; |
48 DEBUG_PRINTF2("CMediaClientPolicyServerClient::SetSurface - SurfaceId 0 0x%x", iSurfaceId.iInternal[0]); |
48 DEBUG_PRINTF5("CMediaClientPolicyServerClient::SetSurface - iSurfaceId %08x:%08x:%08x:%08x", iSurfaceId.iInternal[3], iSurfaceId.iInternal[2], iSurfaceId.iInternal[1], iSurfaceId.iInternal[0]); |
49 DEBUG_PRINTF2("CMediaClientPolicyServerClient::SetSurface - SurfaceId 1 0x%x", iSurfaceId.iInternal[1]); |
|
50 DEBUG_PRINTF2("CMediaClientPolicyServerClient::SetSurface - SurfaceId 2 0x%x", iSurfaceId.iInternal[2]); |
|
51 DEBUG_PRINTF2("CMediaClientPolicyServerClient::SetSurface - SurfaceId 3 0x%x", iSurfaceId.iInternal[3]); |
|
52 } |
49 } |
53 |
50 |
54 DEBUG_PRINTF(" CMediaClientPolicyServerClient::SetSurface ---"); |
51 DEBUG_PRINTF(" CMediaClientPolicyServerClient::SetSurface ---"); |
55 } |
52 } |
56 |
53 |
57 void CMediaClientPolicyServerClient::FocusChanged(TBool aForeground) |
54 void CMediaClientPolicyServerClient::FocusChanged(TBool aForeground) |
58 { |
55 { |
59 DEBUG_PRINTF(" CMediaClientPolicyServerClient::FocusChanged +++"); |
56 DEBUG_PRINTF(" CMediaClientPolicyServerClient::FocusChanged +++"); |
60 |
57 |
61 DEBUG_PRINTF2("CMediaClientPolicyServerClient::FocusChanged - SurfaceId 0 0x%x", iSurfaceId.iInternal[0]); |
58 DEBUG_PRINTF5("CMediaClientPolicyServerClient::FocusChanged - iSurfaceId %08x:%08x:%08x:%08x", iSurfaceId.iInternal[3], iSurfaceId.iInternal[2], iSurfaceId.iInternal[1], iSurfaceId.iInternal[0]); |
62 DEBUG_PRINTF2("CMediaClientPolicyServerClient::FocusChanged - SurfaceId 1 0x%x", iSurfaceId.iInternal[1]); |
|
63 DEBUG_PRINTF2("CMediaClientPolicyServerClient::FocusChanged - SurfaceId 2 0x%x", iSurfaceId.iInternal[2]); |
|
64 DEBUG_PRINTF2("CMediaClientPolicyServerClient::FocusChanged - SurfaceId 3 0x%x", iSurfaceId.iInternal[3]); |
|
65 DEBUG_PRINTF2("CMediaClientPolicyServerClient::FocusChanged - Focus %d", aForeground); |
59 DEBUG_PRINTF2("CMediaClientPolicyServerClient::FocusChanged - Focus %d", aForeground); |
66 |
60 |
67 if( iSurfaceId.IsNull() ) |
61 if( iSurfaceId.IsNull() ) |
68 { |
62 { |
69 DEBUG_PRINTF(" CMediaClientPolicyServerClient::FocusChanged SurfaceId is NULL ... ignore focus change event"); |
63 DEBUG_PRINTF(" CMediaClientPolicyServerClient::FocusChanged SurfaceId is NULL ... ignore focus change event"); |