Import translations. DO NOT MERGE

Change-Id: I81263913905067ea1356d305f0c550cdfb5bc71d
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: I65c478bf4e95d65f55f24f813128143603e76594
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: Ic1452398323ca0963820dfc2d4a6b64e776993f7
Auto-generated-cl: translation import
NPE fix on ContactDetailActivity

Remove unnecessary Log.i statement that was causing NPEs

Bug:12489182
Change-Id: Ieed833b1dbb2c854b165871a132aa55003958640
(cherry picked from commit afcdbbde47c94ebcb052f4c11c6d37806c02c162)
Fix IllegalState in ContactSelectionActivity

Handle ContactsRequest.ACTION_DEFAULT as a ContactsRequest.ACTION_PICK_CONTACT
action in ContactSelectionActivity.configureListFragment instead of crashing.

Bug:12489968
Change-Id: I60e2ca8357b211216ff44a7ba297e183c7e9757a
(cherry picked from commit 98609ec4faea054971938f440438bad792596e99)
Handle null returns from insertChild

insertChild() returns null whenever kind is null. Don't crash in these cases.

Bug:12490438
Change-Id: Idf1cd8fa9d6dfe6a2f91f3ff656663f0692f4a3f
(cherry picked from commit f54c9f2c84a88e046e29123fa65b19040e5a457b)
Fix NPE on null cursor close

Only query once for photo dimensions. Don't crash if cursor is null.
Use default of 720 if unable to query provider.

Bug:12552331
Change-Id: I2bd5ad3db86316b3e61d719bc44b524de8758387
(cherry picked from commit 409737c0585f374e2cd0ad1fea9128905a276b85)
Fix NPE in bindEditor

Correctly handle null return values from getMimeEntries()

Bug:12568010
Change-Id: Ic43afb302fa0bdf7852b2247745eaefffa9f7492
(cherry picked from commit ea1b1c62c3232f89d9a56450abf0003af434a962)
Fix crash on missing mimetype

Fix so ContactSaveService shows a toast instead of crashing if called
with malformed intent.

Bug:12622453
Change-Id: I0495649574a90eeb1960de65b22f051a1dc78c78
(cherry picked from commit 57fca1851e5371f259d4dd6bdf322e20c606c975)
Fix NPE when sorting accounts lacking type

Fix NPE when accountType is null in comparator.

Bug:12661115
Change-Id: I37d8b10a48f85f6a23e5761b7bf85a5f612c7379
(cherry picked from commit d97719de77bc3758c34fe11301cf29651578e58d)
Fix potential NPE with null cursor

Detect and handle null cursors returned from CP2 queries.

Bug:12767708
Change-Id: I1571463b80e5b85656fe119c6bc83de36be30c7f
(cherry picked from commit 13c42f4ebb1c7f31750262946ce3b390c93d5320)
Fix NPE on non decodable Bitmap

Fix so don't crash if unable to decode Bitmap that user is attempting to
assign to a contact.

Bug:12819739
Change-Id: I34f31b1e84a76a15d4de92ccd5544ff502743079
(cherry picked from commit 5d170911503c81aca63a9a089aeb0c5664ef0487)
Fix NPE when phone number or email is null

Don't crash if phone number or email address is null; instead, skip the
entry.

Bug:12821628
Change-Id: I3f5de7926278fb54941f9cdb59e9366060d420eb
(cherry picked from commit 89095c7a4bb85a54d7e6c56322a7fcbf0b60f93e)
Catch ActivityNotFoundExceptions

Catch ActivityNotFoundException when attempting to insert or edit a contact.

Bug:12837767
Change-Id: I46688c1f6c59515ff48ddadeaa92e4a74e803eb8
(cherry picked from commit 1d815e67ea1304d693b9e09e7e53e76dc61883e1)
Catch ActivityNotFoundExceptions

Catch ActivityNotFoundExceptions when attempting to view a circle.

Bug:12838969
Change-Id: I4c8a73fd0aeabbe736a0157be0e479ee3f1223a9
(cherry picked from commit 3dd189e5a5fce7772c120d6de2e185398f0275a6)
Don't crash if account label is null

Third party sync adapters may return null when we query for account
type display label. Handle that case.

Bug:13083964
Change-Id: I77fb891a5cdf5a583ea4a8901c857f22683e432f
(cherry picked from commit 97b3461d59292363159f1cda0a6fe7fcaa1686d3)
Fix NPE in setGroupMetaData

Check that listView is non-null before dereferencing it. Catch case
in onClick() where popup was dismissed but mPopup wasn't cleared.

Bug:13136064
Change-Id: I8f826ae969434c4dce88c5fb506b5ed2cc9ea04b
(cherry picked from commit 9813b71d3a6a2e0baba96cda72ee55415e523166)
Fix crash in getPhotoPickSize

Handle null or empty cursors.

Bug:12619944
Change-Id: I5cae8c16e29474afbc78a172f39bbb04daec446a
(cherry picked from commit b126f4a7427095468ee66fa4c3b9586f0b889288)
Use new ContactPhotoManager APIs for default avatars in Contacts

*Update the following uses of ContactPhotoManager.loadPhoto
and ContactPhotoManager.loadThumbnail
GroupEditorFragment
EmailAddressListAdapter
PostalAddressListAdapter

*Replace the following uses of R.drawable.ic_contact_picture_holo_light and
ContactPhotoManager.getDefaultAvatarResId with
ContactPhotoManager.getDefaultAvatarDrawableForContact
PhotoEditorView
AggregationSuggestionView
SuggestedMemberListAdapter
ConfirmAddDetailActivity
ImageViewDrawableSetter

*Protect against a null drawable in TransformableImageView()

*Add lookup fields to cursor projections in EmailAddressListAdapter
and PostalAddressListAdapter to correct construct a DefaultImageRequest
and assign LetterTileDrawables for contact photos

Bug: 13101785
Change-Id: I9c04ce81192913bf3c398a9a7a9368861bd93b59
(cherry picked from commit f677450d82e7b961fda2a18fea2ad51e88437e8b)
Include original exception to ease debugging

Pass the original OperationApplicationException exception
into the thrown exception in order to make the following
Feedback issue easier to debug. This is in case we are
unable to fix this bug by MR2.

Bug: 12996134
Change-Id: Ib26d473574f1c0788d80fef0ceb4ef4748ec11e1
(cherry picked from commit 3b6c628fc9e717a41c2954b1101c3a04ad382c55)