summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/historyitemactions
AgeCommit message (Collapse)Author
2020-12-12Dialer: Fix proto warning with optmize for liteLuca Stefani
* option optimize_for = LITE_RUNTIME is ignored in proto 3+ * Instead we should use the java_lite compiler via the LOCAL_PROTOC_OPTIMIZE_TYPE flag which defaults to lite in java projects Test: m Dialer, no warnings Change-Id: I552f5895bbe8192a4ae870bb48e5ef6a9e7e8c78
2018-07-10Update translation strings.Eric Erfanian
Test: make Change-Id: Ib75f4f25e91067311de244d7f1fb95bc898aec22
2018-06-27Log existing call log impressions in the new call log.linyuh
Bug: 73741308 Test: DeleteCallLogItemModuleTest, HistoryItemActionModulesBuilderTest PiperOrigin-RevId: 202232055 Change-Id: Idcf29c939272a335ccea469ac331c670127c583a
2018-06-18Fix an AOSP build error caused by bottom sheet states.linyuh
Test: Existing tests PiperOrigin-RevId: 200771998 Change-Id: Icb2b9bc13dfb03d92c389124e20883952be60821
2018-06-18Fully expand the bottom sheet when touch exploration is enabled.linyuh
Bug: 80546794 Test: HistoryItemActionBottomSheetTest + Manual testing PiperOrigin-RevId: 200304666 Change-Id: Ie9d6b38b96e35c051469710ec2bae8fa2a1a17ba
2018-06-04Replace TextView with BidiTextView in the new call log where a phone number ↵linyuh
can be shown. Bug: 72162627 Test: Existing tests PiperOrigin-RevId: 199190694 Change-Id: I19f2ae7e8af452062672c67eb1be1bc6cc49b855
2018-05-30Better a11y for the bottom sheet.linyuh
Bug: 70989658 Test: Manual PiperOrigin-RevId: 197983797 Change-Id: Iee1e658a7a652f53413dec01db68109c3b75dc6e
2018-05-29Converted ThemeUtil into a DaggerModule.calderwoodra
This enables us to have Google-Sans font in GoogleDialer and Roboto in AOSP. Bug: 79883035 Test: tap PiperOrigin-RevId: 197774497 Change-Id: I1d490ab196a444c62e439444627d659fc42973ea
2018-05-29Began implementation of Dialer dark theme.calderwoodra
- README on how to properly theme Dialer going forward. - Migrated all widgets to use global colors. - Removed all activity and application themes where it wasn't necessary. - Added themeing test rule for Espresso tests. Bug: 79883035 Test: tap PiperOrigin-RevId: 197634256 Change-Id: I4b7d94d45aeeb59d484b0069fdd1e200a654910b
2018-05-21Don't show "Add contact" and/or "Message" in the bottom sheet if ↵linyuh
corresponding permissions are not granted. Bug: 80059644 Test: HistoryItemActionModulesBuilderTest, PermissionUtilTest PiperOrigin-RevId: 197494701 Change-Id: I607ebd3079fa816b447fbff08cc28c96c55e22bb
2018-05-21Implement a global theme to be easily configured in Dialer.calderwoodra
deleted several colors and unified them across the app migrated several alert dialogs to support alert dialogs added many todos migrated several tests from GoogleRobolectricTestRunner to RobolectricTestRunner Because of the test migration: - moved dialpad theme attributes into dialpad/theme - moved incall ui theme attributes into incallui/theme Bug: 79883035 Test: tap PiperOrigin-RevId: 197246477 Change-Id: Ifc534793bc32757bbbf2007a7c40287c8d0817ad
2018-05-18Don't show an outgoing call to a spam number as spam.linyuh
Bug: 79770053 Test: SpamTest + Existing tests PiperOrigin-RevId: 197201496 Change-Id: Iff2eb03d00d3b559d2a008487b19a2d044b2cb5b
2018-05-16Improve ContactPhotoViewlinyuh
Bug: 70989658 Test: NewCallLogIntegrationTest + Manual PiperOrigin-RevId: 196845473 Change-Id: Ic0cbcf668ea1921c88fb6b080308884fa1113e61
2018-05-09Place Duo calls with PreCalltwyen
This CL consolidates common duo calling operations into precall, including checking reachability, falling back to carrier video call, placing the call to duo with startActivityForResult. TEST=TAP Bug: 78783816 Test: TAP PiperOrigin-RevId: 195742478 Change-Id: I9fea1e4999f604e1f3a153b28079cd0db77b7393
2018-05-09Config correct layout boundaries to accommodate long text (call log & bottom ↵linyuh
sheet) Bug: 77835800 Test: Manual PiperOrigin-RevId: 195706300 Change-Id: Iccc97d5cc3ab6f196dc917faf1d7b6659b06cf30
2018-05-09Use info from EmergencyPhoneLookup to render UI for an emergency number.linyuh
Bug: 71719349 Test: CallLogEntryTextTest, HistoryItemActionModulesBuilderTest PiperOrigin-RevId: 195694340 Change-Id: Ib53305c36f7ca062ef798ab3f61585d3c71adef3
2018-05-09Show calls to/from emergency numbers as "Emergency number" in call log & ↵linyuh
call details Bug: 71719349 Test: CallLogEntryText PiperOrigin-RevId: 195444242 Change-Id: I62268c02ef7ad277364869e713a1d58ab1928e7e
2018-05-04Remove TODOs for showing SIM info in the bottom sheet & call details.linyuh
Bug: 74522027 Test: None PiperOrigin-RevId: 195439124 Change-Id: Ibab0bc7e58bd1b23255d9af476c5b98ed89f13fa
2018-05-04Filter out unnecessary bottom sheet options for a call to a voicemail box.linyuh
Bug: 78476115 Test: HistoryItemActionModulesBuilderTest PiperOrigin-RevId: 195319447 Change-Id: I7d431e74c2f4efe6ea3ce24b7d3ae42ebb4525b2
2018-05-04Aosp fix for v28-support-prelease bottom sheet.calderwoodra
The bottomsheet in v28-prelease support library is no longer available. So revert back to the deprecated bottom sheet. Test: manual PiperOrigin-RevId: 195319010 Change-Id: I580ef4d979d50864ea385b01245dfbeb68b8579d
2018-05-04Simplify how we build bottom sheet options (a.k.a. modules).linyuh
Test: HistoryItemActionModulesBuilderTest, ModulesTest PiperOrigin-RevId: 195294876 Change-Id: Iac44f965a585975389da7dee758a94a8ad8311d3
2018-05-04More refactoringerfanian
Test: unit PiperOrigin-RevId: 195188099 Change-Id: Ie2273229c257a9a767715831c15d90a6985fdda8
2018-05-03Change bottomsheet peek height.calderwoodra
Additionally, change the style of the bottom sheet to unbreak AOSP. Bug: 79150335 Test: manual PiperOrigin-RevId: 195169624 Change-Id: I86d2f5b7931b3c928252c5d5e1e6eef6973a35cd
2018-05-03Updated bottomsheet to be scrollable.calderwoodra
Follow-up CLs will include: - white bottom nav - setting status bar color when expanded, translucent otherwise - automatically dismissing the bottomsheet onPause in calllog/vvm Bug: 73495458,77761183,77812338,77816530,77833456 Test: manual PiperOrigin-RevId: 194967761 Change-Id: Iea81035efd06ae7692950ca1f11757b7d9ebfd1c
2018-04-26Build out the bottom sheet for suggested contacts in Speed Dial.calderwoodra
The bottom sheet should include: - contact row - voice call - video call - sms - divider - add favorite (follow up) - remove (follow up) - contact info Bug: 77761183 Test: WIP PiperOrigin-RevId: 194440839 Change-Id: I78e0e0fc0a4834338a59b458fe7639786de57877
2018-04-18Reduce the number of parameters when building bottom sheet options for ↵linyuh
telecom/Duo calls. Bug: 70988691 Test: ModulesTest, DuoCallModuleTest PiperOrigin-RevId: 193431749 Change-Id: I2af9979504b99175513cb753a030244f735828be
2018-04-03Support placing Duo calls in the new UI's bottom sheet.linyuh
Bug: 70988685 Test: DuoCallModuleTest, PlaceDuoCallEndToEndTest, Manual testing PiperOrigin-RevId: 191372706 Change-Id: I439be71c361eaca722820b81278e5f95322e100c
2018-03-29Badge contact photos for video calls in the bottom sheet.linyuh
Bug: 70988682 Test: Existing tests PiperOrigin-RevId: 190946639 Change-Id: Iaa8294e8ba6e85ab3c27bb2e67200d7972a240f2
2018-03-28Replace assets "quantum_ic_videocam_white_24" with a vector asset.linyuh
Test: Existing tests PiperOrigin-RevId: 190820867 Change-Id: I4835bcbc7698075fb54015dccc6823ada4c71651
2018-03-19Make the top row of the bottom sheet not clickable.linyuh
Test: Existing tests PiperOrigin-RevId: 189683790 Change-Id: I0209e7fa839175041da29e9a6d8a590133121376
2018-03-16Use a vector "unblock" icon in the bottom sheetlinyuh
Bug: 73133096 Test: ModulesTest PiperOrigin-RevId: 189303135 Change-Id: Id92d65e4c0bbb3c325c9d89d41d0645df19cde06
2018-03-15Resolve all build resource conflicts.calderwoodra
For simplicity, instead of resolve the nui shortcut string, I deleted it since it isn't used anymore. Test: build log PiperOrigin-RevId: 189260472 Change-Id: I67d5a49d78916a8960e41ad1c7b7f59efad6d718
2018-03-15Introduce GlidePhotoManager to CallDetailsActivitylinyuh
Bug: 74202944 Test: ModulesTest, CallDetailsActivityTest PiperOrigin-RevId: 189204143 Change-Id: I917bac76009522c6a99fdb63299556ec2a454dfa
2018-03-08Implement logic for unblocking a number from the new call log's bottom sheet.linyuh
Bug: 70989547 Test: ShowBlockReportSpamDialogNotifierEndToEndTest PiperOrigin-RevId: 188357953 Change-Id: Ie1b1f439f043805892876790d7590a4c721dbf8c
2018-03-08Implement logic for blocking a number from the new call log's bottom sheet.linyuh
Bug: 70989547 Test: ShowBlockReportSpamDialogNotifierEndToEndTest PiperOrigin-RevId: 188351591 Change-Id: I634fb821592bdc890df291fdf83cdf307c94ffa9
2018-02-28Group info needed to show a block/report spam dialog into a proto to avoid ↵linyuh
long method signatures. Test: Existing tests PiperOrigin-RevId: 187338094 Change-Id: I0d7a5206d127931d322b5604b2bb81f5202b8de8
2018-02-27Internal cleanup for the new UI's bottom sheet.linyuh
Test: Existing tests PiperOrigin-RevId: 187254014 Change-Id: I8a57b632d45e87ad075eb8bbb25180858e890f08