summaryrefslogtreecommitdiff
path: root/res
AgeCommit message (Collapse)Author
2015-09-17Resume voicemail playback at previous position on resume.Nancy Chen
Make sure that the position is saved when navigating away from the voicemail playback so that it can be restored when resuming. Also: - Disable seekbar when not loaded - Gray out seekbar handle when seek is disabled Bug: 23566924 Change-Id: Ic9d84425d7a3cde9d212bd758eb518577161d7ec
2015-09-15Merge "Translate FAB up and down when Snackbar appears and disappears." into ↵Nancy Chen
ub-contactsdialer-a-dev
2015-09-11Translate FAB up and down when Snackbar appears and disappears.Nancy Chen
This is implements custom behavior according the Material Design spec that the Snackbar cannot obscure the FAB. Converts the dialtacts activity layout to a CoordinatorLayout and attaches the FloatingActionButtonBehavior to the FAB. Bug: 23687913 Change-Id: Ic4d0493db415bb97cf7e21de4f23a02df9f753b1
2015-09-10Improve speakerphone setting.Andrew Lee
+ Persist speakerphone setting across resume/pause. + Allow toggling speakerphone before voicemail is played or while loading. Bug: 23566924 Bug: 23716100 Change-Id: Icc7342be85bd6df0f4678134b222f2200d3fc56d
2015-09-04Merge "Genericize promo card." into ub-contactsdialer-a-devAndrew Lee
2015-09-03Merge "Display unread count for voicemail and update when vm is read." into ↵Nancy Chen
ub-contactsdialer-a-dev
2015-09-03Merge "Add block/unblock number to calllog longpress menu" into ↵Anne Rong
ub-contactsdialer-a-dev
2015-09-03Add block/unblock number to calllog longpress menuAnne Rong
Bug: 23350278 Change-Id: I2304055f4e2b5ffbb50370fd8cf9517f50210d75
2015-09-01Genericize promo card.Andrew Lee
+ Make ViewHolder generic to generic to promo cards with customized text or graphic layouts, as long as they implement two actions, now designated the primary and secondary action views. This resuses code which is logically similar between promo cards, and hopefully doesn't bite us back in the future if there is a divergence in promo card structure. + Make the GroupingListAdapter slightly "safer". Bug: 23422274 Change-Id: I60bced4dbc61fec2e225a1cae9726ac40ed679a5
2015-09-01Fix CallDetailActivityTest.Andrew Lee
Use PopupMenu to get a Menu instance, instead of using an internal MenuBuilder. Bug: 23640774 Change-Id: I356eba8a646ca1d09e6bca0887cfc03adf12782b
2015-09-01Display unread count for voicemail and update when vm is read.Nancy Chen
Query for number of unread voicemails when dialer starts and update this number when the user reads the voicemails. Pass the tab icons into the ViewPagerTabs class: changed so that the raw image is passed instead of the modified drawable because the ripple is applied in through the ViewPagerTabs layout instead of through the drawable containing the icons. Bug: 21086059 Change-Id: Ie426b042d72926ea3feb7baa4717108776152754
2015-08-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Id0e77e33fedeeeef0cb449bca234a406cd06a0c0 Auto-generated-cl: translation import
2015-08-27Only show loading text when downloading VM.Andrew Lee
In other cases (eg. buffering), just load without showing the text, since it will likely appear only for a very short time, and give the appearance of flickering. Bug: 22333980 Change-Id: Ic2bbba7a2127654aaf12546b177c465c9311ddc1
2015-08-26Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iaad6318c63376b079d6ba70b942b82e12ed8f7a8 Auto-generated-cl: translation import
2015-08-24Merge "Increase char limit for "Voicemail deleted""Nancy Chen
2015-08-24Increase char limit for "Voicemail deleted"Nancy Chen
Bug: 23403798 Change-Id: If14396c4a864bf04cd0ff3c6db0b6df8cf84a525
2015-08-24Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ifed2855a26032f535ddff1b999f19391ba62899f Auto-generated-cl: translation import
2015-08-20Merge "Show snackbar to undo last deleted voicemail."Nancy Chen
2015-08-19Show snackbar to undo last deleted voicemail.Nancy Chen
Snackbar will appear for 3 seconds during which the user can undo the last deletion. The way it works is the snackbar appears for 3 seconds and a delayed callback is set for 3 seconds after which the voicemail is permanently deleted from the database. If a second (or third or fourth) voicemail is deleted subsequently, the previous voicemails that were waiting for the undo timeout are deleted immediately. Bug: 22460745 Change-Id: I84b70994275975e4e3020321884d382cc87098dc
2015-08-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib25291b76006c0cbcbf60eea529ba9b3e0350e2e Auto-generated-cl: translation import
2015-08-17Merge "Convert Dialer activities to AppCompat to support Snackbar."Nancy Chen
2015-08-17Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I2eb682b0008f3a6e25936d5b1afbce21274674d7 Auto-generated-cl: translation import
2015-08-14Rename "Recents" to "Call History".Andrew Lee
+ All user-facing indications should now say "Call History". + I renamed many references in code to "Call Log", which is how we internally refer to many of the components related to call history. It seemed excessive to rename the fragment, list items, adapters, and other references to that throughout our codebase. Bug: 23017190 Change-Id: I99719122ce592962ff99705dcf4b16e17eee3ab7
2015-08-13Convert Dialer activities to AppCompat to support Snackbar.Nancy Chen
In order to add an "Undo" snackbar for voicemail, dialer activities need to inherit from the AppCompat library. Add the relevant libraries to the make files and change the styles to be compatible. Bug: 22460745 Change-Id: Ia3cc4002cbd943da818fec67f888d085d53a3b25
2015-08-11Show entire call history in Dialer tab.Andrew Lee
+ Rename some logic around identifying the scenario (tab vs activity) for the call log. + Add padding at the bottom of the call log. + Make call log in tab show all history, not just recent history. + Rename promo card logic in CallLogAdapter, since it is VM specific. - Remove extra view holder, and associated logic. Bug: 23017190 Change-Id: I1f36f414647705a779ee14e8b43e88bf711bba56
2015-08-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I765bcbacf9c820479ac7c63f9c7259dd9a64afea Auto-generated-cl: translation import
2015-08-07am 60b35252: am 73cb73f4: am 0604f16a: am c72f419b: Add "Call with Note" ↵Tyler Gunn
from dialpad. * commit '60b35252aaf0c6caeb1bf32481f735c5e31d4853': Add "Call with Note" from dialpad.
2015-08-07am 0604f16a: am c72f419b: Add "Call with Note" from dialpad.Tyler Gunn
* commit '0604f16a932ebe5889d5f3e6380f22aefcc9bff2': Add "Call with Note" from dialpad.
2015-08-07am c72f419b: Add "Call with Note" from dialpad.Tyler Gunn
* commit 'c72f419b18258cfc6f29590e3b97dac8b175f904': Add "Call with Note" from dialpad.
2015-08-05Add "Call with Note" from dialpad.Tyler Gunn
Bug: 22685114 Change-Id: Id7d16634a0baad03b28b509b62315f43fa022ee4
2015-08-05am 2846388e: am 5b27c3aa: am 98cf19a5: am 20c63bb4: Merge "Add "Call with a ↵Tyler Gunn
note" action." into mnc-dr-dev * commit '2846388ea2b0e8dc8cc4d21a9a43b9e13f9f6001': Add "Call with a note" action.
2015-08-05am 98cf19a5: am 20c63bb4: Merge "Add "Call with a note" action." into mnc-dr-devTyler Gunn
* commit '98cf19a53d5f0c722def08a075854f7a52a97d83': Add "Call with a note" action.
2015-08-05am 20c63bb4: Merge "Add "Call with a note" action." into mnc-dr-devTyler Gunn
* commit '20c63bb47435c4ab770bb3008ed2f69666d2f0aa': Add "Call with a note" action.
2015-08-05Merge "Add "Call with a note" action." into mnc-dr-devTyler Gunn
2015-08-05Add "Call with a note" action.Tyler Gunn
- Adding call with a note action to the call log. Capability lookup is cached. - Moved getLookupKeyFromUri to ContactsCommon. - Added some extra required values in CallLogListItemViewHolder so that the call subject dialog is able to build the correct contact photo. Bug: 22685114 Change-Id: I6665c55137eef7db3ff7ac12d70d823937e8c28b
2015-07-31Import translations. DO NOT MERGEGeoff Mendal
Auto-generated-cl: translation import Bug: 22660372 Change-Id: I09dbbab8d15217c6e531c2c890c26e6464cdbaa7
2015-07-31Import translations. DO NOT MERGEGeoff Mendal
Auto-generated-cl: translation import Bug: 22660372 Change-Id: Idbde9b79698a8f30a2e66df9f5e53bb2895e9368
2015-07-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iafc42b3290f3cdd58c3f78204ee54642477f6d2b Auto-generated-cl: translation import
2015-07-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ie00aa961600ab8181c9359674df08c1403b6fdd7 Auto-generated-cl: translation import
2015-07-27Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I91356a0a8bbaf4ba0edb466eab12bc4592e26e2d Auto-generated-cl: translation import
2015-07-27Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I835f95846363171c4fbaf67520811ae4fd87ddd6 Auto-generated-cl: translation import
2015-07-25am d28951e4: am ad00b313: am ffeb2959: am 036cb573: am 3f468007: Merge ↵Yorke Lee
"Protect against lack of WRITE_SYSTEM_SETTINGS AppOp" into mnc-dev * commit 'd28951e41c01652740e01f586e96463de934a831': Protect against lack of WRITE_SYSTEM_SETTINGS AppOp
2015-07-25am ffeb2959: am 036cb573: am 3f468007: Merge "Protect against lack of ↵Yorke Lee
WRITE_SYSTEM_SETTINGS AppOp" into mnc-dev * commit 'ffeb2959e177a7f94321ca9ca3b3e55726fd7df2': Protect against lack of WRITE_SYSTEM_SETTINGS AppOp
2015-07-25am 036cb573: am 3f468007: Merge "Protect against lack of ↵Yorke Lee
WRITE_SYSTEM_SETTINGS AppOp" into mnc-dev * commit '036cb5730555161e16900129d62d06b308fb4298': Protect against lack of WRITE_SYSTEM_SETTINGS AppOp
2015-07-24Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I0f831c25c54c1e0f9164b5cbfa640d414a534985 Auto-generated-cl: translation import
2015-07-25am 3f468007: Merge "Protect against lack of WRITE_SYSTEM_SETTINGS AppOp" ↵Yorke Lee
into mnc-dev * commit '3f468007170d180663af54d2380046f0c2f04543': Protect against lack of WRITE_SYSTEM_SETTINGS AppOp
2015-07-24Protect against lack of WRITE_SYSTEM_SETTINGS AppOpYorke Lee
Guard the following entry points with checks against the AppOp 1) Launch of SoundSettingsFragment Fallback: Send to system sound settings instead 2) onResume of SoundSettingsFragment (this can happen if the AppOp is toggled by the user in the background) Fallback: Return to main Dialer settings instead 3) Toggling of various perferences (this can happen in monkey tests) Fallback: Show toast, ignore settings chance Bug: 22660372 Change-Id: Ief5d74166d35a9718ea664f378f6930e777f2923
2015-07-24Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I5c30ebfec1676b4e71c625223fa7ec8c80705481 Auto-generated-cl: translation import
2015-07-23Merge "If nearby places is disabled, change search hint text."Anne Rong
2015-07-23If nearby places is disabled, change search hint text.Anne Rong
Added method setSearchBoxText to DialtactsActivity, for overriding in Google Dialer. Bug: 20699994 Change-Id: I82ac9bfd7aea705d2b32b63ee58220ac231fc489
2015-07-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iccdb134aa2612054eed6846853d8d3363128fee6 Auto-generated-cl: translation import
2015-07-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I695a7d9b99158400beb7493ef8cf051f9542eb12 Auto-generated-cl: translation import
2015-07-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I5245bb550e118fabd2b400ec7d3b1e89bc67396a Auto-generated-cl: translation import
2015-07-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I014ef932b1e3dac66ce5127c2bf4d92c4086728e Auto-generated-cl: translation import
2015-07-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If526117263bd1cebe116befcfa60fb50b8bb27b3 Auto-generated-cl: translation import
2015-07-21Allow copying the voicemail transcriptionAnne Rong
Added item to context menu that allows copying the voicemail transcript. Removed the select-on-double-tap from previous commit. Bug: 22451484 Change-Id: I518680afda74c4c15c5fb16b02a55cae64ed131d
2015-07-20Allow coyping the voicemail transcriptionAnne Rong
Double-tap to select voicemail text Bug: 22451484 Change-Id: I85caf8542f929da6e5b8c025ea79b97edd019d9e
2015-07-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I4992d3afe386d206d6886320a88ce5cacf6475d5 Auto-generated-cl: translation import
2015-07-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib0ab444c2fe0b816c1e0aa8960f13344e476468f Auto-generated-cl: translation import
2015-07-17am 478f4481: am 7c5ca721: am 7e7e2bc0: am 7e03db72: am 91ecb136: Merge "Add ↵Yorke Lee
permission prompts for contacts and dialpad search" into mnc-dev * commit '478f44816cfe54498d3306176e955887370b5a00': Add permission prompts for contacts and dialpad search
2015-07-17am 7e7e2bc0: am 7e03db72: am 91ecb136: Merge "Add permission prompts for ↵Yorke Lee
contacts and dialpad search" into mnc-dev * commit '7e7e2bc0cdea48ab6f5b07ec00c68227007d4e29': Add permission prompts for contacts and dialpad search
2015-07-17am 7e03db72: am 91ecb136: Merge "Add permission prompts for contacts and ↵Yorke Lee
dialpad search" into mnc-dev * commit '7e03db7213214eaeeafed667b57ce61839f8fd75': Add permission prompts for contacts and dialpad search
2015-07-17am 91ecb136: Merge "Add permission prompts for contacts and dialpad search" ↵Yorke Lee
into mnc-dev * commit '91ecb13620df69c3865754290cfcdcf20b2968d5': Add permission prompts for contacts and dialpad search
2015-07-17Merge "Add permission prompts for contacts and dialpad search" into mnc-devYorke Lee
2015-07-17Add permission prompts for contacts and dialpad searchYorke Lee
Update the following fragments to handle denied permissions -Contacts Search (Contacts and Location) -Dialpad Search (Phone) Tweak and remove some of the onTouch listener logic as they are no longer valid with the new UI. Instead of intercepting the touches when the query is empty and returning to the main dialer activity, allow the fragments to remain on screen if the permission request UI is showing. Modify signature of onEmptyViewActionButtonClicked to remove unused permissions parameter. Bug: 22174668 Change-Id: I96d00f2ab45df936dca602ac025f723638ac02c4
2015-07-17am 4b8835ab: am 9525a1ed: am 72e27466: am 13cc3c12: am 3491ef06: Fix typo in ↵Yorke Lee
string * commit '4b8835abd1e753c7660b5a90a8aca08ecb408bb2': Fix typo in string
2015-07-16am 72e27466: am 13cc3c12: am 3491ef06: Fix typo in stringYorke Lee
* commit '72e274667fcb0599d97ff4d064c71e44096f389e': Fix typo in string
2015-07-16am 13cc3c12: am 3491ef06: Fix typo in stringYorke Lee
* commit '13cc3c124a9a66effb5177cf02d6c16086d9b133': Fix typo in string
2015-07-16am 3491ef06: Fix typo in stringYorke Lee
* commit '3491ef06b6b798dbcb2f738dc390f2ff9a3983b1': Fix typo in string
2015-07-16am 4aa980e5: am 9bb7d400: am 79b1fe72: am b5113971: am 3cf92c74: Merge ↵Yorke Lee
"Update Dialer permissions UI per mocks" into mnc-dev * commit '4aa980e5eabb25ce7b597f6dc2a544bbb5ce836a': Update Dialer permissions UI per mocks
2015-07-16Fix typo in stringYorke Lee
Bug: 22526905 Change-Id: I261418ec426c5217275de661fa25e81825f59d25
2015-07-16am 79b1fe72: am b5113971: am 3cf92c74: Merge "Update Dialer permissions UI ↵Yorke Lee
per mocks" into mnc-dev * commit '79b1fe725ea09c0ba0cdb0ed51fa75c19b3c5fda': Update Dialer permissions UI per mocks
2015-07-16am b5113971: am 3cf92c74: Merge "Update Dialer permissions UI per mocks" ↵Yorke Lee
into mnc-dev * commit 'b51139717b80045c279190c0c055a379dde70ef3': Update Dialer permissions UI per mocks
2015-07-16am 3cf92c74: Merge "Update Dialer permissions UI per mocks" into mnc-devYorke Lee
* commit '3cf92c747c54fa44240be5ba78cbc8eb6e3b8cd5': Update Dialer permissions UI per mocks
2015-07-15Update Dialer permissions UI per mocksYorke Lee
Bug: 22174668 Change-Id: If6757ff66c411228cfa22d70caaf6cc532fd2b31
2015-07-15am 30cc9b91: am bd7c7736: am 597e4df3: am 70f2f9de: am fb9c5391: Merge ↵Jay Shrauner
"Change Settings name to "Phone"" into mnc-dev * commit '30cc9b9197b100f43847bd82938c88b5f437744f': Change Settings name to "Phone"
2015-07-15am 59ed388b: am d099a9f7: am 38c31cf4: am 3abaae1a: am 38019af7: Update ↵Yorke Lee
Dialer UI to prompt for permissions * commit '59ed388bf4327a78f24bf7a2755af3eecc4e30c7': Update Dialer UI to prompt for permissions
2015-07-15am 597e4df3: am 70f2f9de: am fb9c5391: Merge "Change Settings name to ↵Jay Shrauner
"Phone"" into mnc-dev * commit '597e4df3d7a2dad587c71210364a75f729eb181a': Change Settings name to "Phone"
2015-07-15am 38c31cf4: am 3abaae1a: am 38019af7: Update Dialer UI to prompt for ↵Yorke Lee
permissions * commit '38c31cf4587b20b8e0027fe8cc73e5824ea3a463': Update Dialer UI to prompt for permissions
2015-07-15am 70f2f9de: am fb9c5391: Merge "Change Settings name to "Phone"" into mnc-devJay Shrauner
* commit '70f2f9de8b3e16b06a6f64e35ecb4d7e881b10f9': Change Settings name to "Phone"
2015-07-15am 3abaae1a: am 38019af7: Update Dialer UI to prompt for permissionsYorke Lee
* commit '3abaae1a037f1764b4329dd6381b4c9e6ffa952a': Update Dialer UI to prompt for permissions
2015-07-15am fb9c5391: Merge "Change Settings name to "Phone"" into mnc-devJay Shrauner
* commit 'fb9c5391c71e65668d42eea5d8843fd1a14cc792': Change Settings name to "Phone"
2015-07-15am 38019af7: Update Dialer UI to prompt for permissionsYorke Lee
* commit '38019af70eb1ca084d36291390bbc54dc81027de': Update Dialer UI to prompt for permissions
2015-07-15Merge "Change Settings name to "Phone"" into mnc-devJay Shrauner
2015-07-15Change Settings name to "Phone"Jay Shrauner
Make Settings app name match the icon app name, "Phone". Bug:22510177 Change-Id: I34f013b152fcceeac12c2530ed6e9a61671ed2d3
2015-07-15Update Dialer UI to prompt for permissionsYorke Lee
First pass at adding functionality to Dialer to prompt for permissions. Also updates the UI for various fragments when there are no contacts/calls available to unify the UI with the new UI for the permissions denied state. * Refactor existing empty view functionality and encapsulate into a new custom view class * Add action buttons to existing empty views in various fragments -> Speed Dial (Add to favorites) - scrolls to all contacts fragment -> Recents (Make a call) - shows dialpad -> All contacts (Add a contact) - Launches add contact dialog * Add functionality to various fragments to detect if permissions are denied, and request the permission when the action button is pressed. -> Speed Dial (request for contacts permission) -> Call Log (request for phone permission) -> All contacts (request for contacts permission) * Remove now unneeded EmptyContactsListAdapter Remaining issues (to be addressed in a follow up CL to avoid bloating this CL): UI alignment tweaks for empty view to match mocks If the read contacts permission is requested from the speed dial screen, the all contacts fragment doesn't update with the list of contacts until restarted. Bug: 22174668 Change-Id: I70721914bb9b32910d746de288ccac049749e42e
2015-07-15am 9795ea99: am 15d59a6b: am 122d3fba: am 55fcb215: am 5a620488: Merge ↵Yorke Lee
"Update/add strings for permissions UI changes" into mnc-dev * commit '9795ea9939f6e50caeb4b067d22797a2c79db025': Update/add strings for permissions UI changes
2015-07-15am 122d3fba: am 55fcb215: am 5a620488: Merge "Update/add strings for ↵Yorke Lee
permissions UI changes" into mnc-dev * commit '122d3fba8d2d64fa641d04d23fcf51f5f97c9edf': Update/add strings for permissions UI changes
2015-07-15am 55fcb215: am 5a620488: Merge "Update/add strings for permissions UI ↵Yorke Lee
changes" into mnc-dev * commit '55fcb21595a4702029eb5695862ca2726f248649': Update/add strings for permissions UI changes
2015-07-15am 5a620488: Merge "Update/add strings for permissions UI changes" into mnc-devYorke Lee
* commit '5a6204880d2fd98a0f887741186ca5f3d16526f7': Update/add strings for permissions UI changes
2015-07-15Merge "Update/add strings for permissions UI changes" into mnc-devYorke Lee
2015-07-15Update/add strings for permissions UI changesYorke Lee
Bug: 22174668 Change-Id: I7c857a5fbc6c80274e22201cb8d349cb048bc970
2015-07-15Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Idb35d7cb3094705662841e6c1dc774f426ccaa7e Auto-generated-cl: translation import
2015-07-15Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I857e7a8d619a7cae09ea9524d72de04f7396aff8 Auto-generated-cl: translation import
2015-07-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I89c937e841aeb0c2c9e9823e752009d01a77a60e Auto-generated-cl: translation import
2015-07-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Idacd38d3975c5a9dfbf51455bd34434451db4005 Auto-generated-cl: translation import
2015-07-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If63069770bbf02cf16521f8fbf651d676ffe4a44 Auto-generated-cl: translation import
2015-07-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Icae019ff3d32d6b8950ee4c69909982525d47bcc Auto-generated-cl: translation import
2015-07-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I99a3cf0f0b97e10f21cc4b3c0091a19c169acfc8 Auto-generated-cl: translation import
2015-07-06Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Id784f8184e302dc3c4a4666269dff9cc4922b611 Auto-generated-cl: translation import