Commit Graph
167 Commits
Author SHA1 Message Date
Anay Wadhera 6cdc8a4bda internal shuffle of preferences
PiperOrigin-RevId: 648871255
2024-07-02 16:02:48 -07:00
Francis Tsui d81ced95c7 Log backend rpc errors.
PiperOrigin-RevId: 648859480
2024-07-02 15:22:02 -07:00
Anay Wadhera 22b1cda657 Make GetIsTemporarilyVisible() private and handle correctly.
PiperOrigin-RevId: 648515563
2024-07-01 16:15:14 -07:00
Anay Wadhera c146be8688 Make GetFallbackVisibility() return UNSPECIFIED when the visibility is not temporary.
PiperOrigin-RevId: 648437194
2024-07-01 11:41:13 -07:00
Anay Wadhera 129e6fc414 Remove SetIsTemporarilyVisible from public API.
PiperOrigin-RevId: 647827585
2024-06-28 16:30:30 -07:00
Anay Wadhera 0cc4138a4e Make SetFallbackVisibility private and handle it correctly in settings.
PiperOrigin-RevId: 647816713
2024-06-28 15:41:30 -07:00
Anay Wadhera 2e868f9a00 Remove unused code related to allowed contacts and all contacts.
PiperOrigin-RevId: 647443590
2024-06-27 14:17:38 -07:00
Anay Wadhera 1f5654089f remove obsolete analytics functions
PiperOrigin-RevId: 647404733
2024-06-27 12:18:10 -07:00
Francis Tsui f93220c7b5 Fix param check behavior.
PiperOrigin-RevId: 647092197
2024-06-26 15:10:47 -07:00
Francis Tsui 547a546348 Set vendor ID in SharingLog metadata event.
PiperOrigin-RevId: 646992023
2024-06-26 10:18:30 -07:00
Anay Wadhera efa5f54973 add back flags
PiperOrigin-RevId: 646633191
2024-06-25 15:47:03 -07:00
Anay Wadhera 826abd6d30 every day i'm shufflin
PiperOrigin-RevId: 646576646
2024-06-25 12:58:38 -07:00
Francis Tsui df620dc2e6 Remove LinkType from NearbySharingServiceFactory.
PiperOrigin-RevId: 646568953
2024-06-25 12:32:46 -07:00
Francis Tsui d6e8d5f249 Rename ShareTargetInfo to ShareSession.
PiperOrigin-RevId: 646238919
2024-06-24 15:26:07 -07:00
Francis Tsui 4a8d97ff5e Rename share_target_info files to share_session.
PiperOrigin-RevId: 646204158
2024-06-24 13:35:11 -07:00
Francis Tsui 822e1af2a5 Move remaining payload processing into ShareTargetInfo.
PiperOrigin-RevId: 646185948
2024-06-24 12:36:44 -07:00
Anay Wadhera 0ad19f3ce9 Deprecate ble_v2 in Nearby Sharing
PiperOrigin-RevId: 645522524
2024-06-21 15:43:20 -07:00
Francis Tsui 8ba443c7dc Fix send text
PiperOrigin-RevId: 645516517
2024-06-21 15:21:54 -07:00
Anay Wadhera 29099eed43 deprecate another flag
PiperOrigin-RevId: 645240613
2024-06-20 20:17:21 -07:00
Anay Wadhera 897da9a54d deprecate flag
PiperOrigin-RevId: 645215759
2024-06-20 18:15:24 -07:00
Anay Wadhera d4aa4e3a2b Remove Get/SetIsReceiving
PiperOrigin-RevId: 645085883
2024-06-20 10:48:18 -07:00
Anay Wadhera 7db83028ab Add and plumb GetContacts() API
PiperOrigin-RevId: 644504090
2024-06-18 14:02:47 -07:00
Francis Tsui 02379cc0a8 Remove AttachmentInfo.
PiperOrigin-RevId: 644459879
2024-06-18 11:38:14 -07:00
Francis Tsui 23031698dd Move IntroductionFrame handing to ShareTargetInfo.
PiperOrigin-RevId: 644192822
2024-06-17 18:04:35 -07:00
Anay Wadhera 2fccc4a48b Filter out contacts when downloading
PiperOrigin-RevId: 644181519
2024-06-17 17:15:43 -07:00
Francis Tsui 9ea59a98dc Cleanup payload creation.
PiperOrigin-RevId: 644155481
2024-06-17 15:39:23 -07:00
Anay Wadhera 15f669b3d9 Update NearbyShareContactManagerImpl to use absl::StatusOr
PiperOrigin-RevId: 644133624
2024-06-17 14:26:30 -07:00
Francis Tsui 55b5b9ee07 Add adapter state to adapter status change notification.
PiperOrigin-RevId: 643380513
2024-06-14 10:10:07 -07:00
Francis Tsui 03dba4ae8b Remove unnecessary dependencies.
PiperOrigin-RevId: 643374160
2024-06-14 09:47:55 -07:00
Anay Wadhera 9d65c2346c remove fastinit toggle api
PiperOrigin-RevId: 643117020
2024-06-13 14:13:58 -07:00
Crisrael Lucero e78a60f512 Move to google.protobuf.FieldMask
PiperOrigin-RevId: 643065889
2024-06-13 11:29:44 -07:00
Guogang Li 0d67ae9c33 Applied stable endpoint ID for everyone mode
PiperOrigin-RevId: 642629218
2024-06-12 08:53:53 -07:00
Francis Tsui 3d2adf8b42 internal changes.
PiperOrigin-RevId: 642056854
2024-06-10 16:20:30 -07:00
Anay Wadhera a571b0324e Internal change
PiperOrigin-RevId: 642028815
2024-06-10 14:46:11 -07:00
Anay Wadhera fb982295fb Move to google.protobuf.FieldMask
PiperOrigin-RevId: 641320767
2024-06-07 12:13:13 -07:00
Anay Wadhera c3924eb8df Add car and foldable types to target types.
PiperOrigin-RevId: 641248360
2024-06-07 07:50:45 -07:00
Francis Tsui 2d845718f2 Cleanup share target info.
PiperOrigin-RevId: 641091075
2024-06-06 18:57:08 -07:00
Francis Tsui ece828ab55 Simplify PairKeyVerificationRunner interface.
PiperOrigin-RevId: 641087956
2024-06-06 18:38:34 -07:00
Francis Tsui 3c73448dc8 Move Attachments into ShareTargetInfo.
PiperOrigin-RevId: 640597022
2024-06-05 11:48:00 -07:00
Edwin Wu 334ef7a3e1 [JNI] Refactor Payload and PayloadId/PayloadType
PiperOrigin-RevId: 640490438
2024-06-05 05:25:29 -07:00
Francis Tsui 37327e79f3 Change Open to accept AttachmentContainer.
PiperOrigin-RevId: 640278287
2024-06-04 14:12:40 -07:00
Anay Wadhera 98dc739a8a Remove extra discovery_callback parameter from UnregisterSendSurface()
PiperOrigin-RevId: 640205209
2024-06-04 10:43:21 -07:00
Anay Wadhera 0a96c9f7e0 Remove SetArcCleanupCallback API.
PiperOrigin-RevId: 640199327
2024-06-04 10:27:50 -07:00
Anay Wadhera a882f5816d Block targets with the same vendor ID
This CL does many things:
1) Adds a new API for RegisterSendSurface to specify vendor ID and whether we should block targets with the same vendor ID.
2) Refactors the sending surface callback observer lists to maps, mirroring Android.
3) Uses WrappedShareTargetDiscoveredCallback, which wraps the passed-in `ShareTargetDiscoveredCallback` and adds blocking on vendor ID (the actual point of this CL).

PiperOrigin-RevId: 639969139
2024-06-03 17:50:47 -07:00
Francis Tsui 994d3c883b internal changes
PiperOrigin-RevId: 639925792
2024-06-03 15:12:36 -07:00
Francis Tsui 60b858d487 Change AnalyticsRecorder to accept AttachmentContainer.
PiperOrigin-RevId: 639879717
2024-06-03 12:48:22 -07:00
Francis Tsui 911d55ff63 Change SendAttachements to accept an AttachmentContainer.
PiperOrigin-RevId: 639874033
2024-06-03 12:28:34 -07:00
Francis Tsui d073073593 Move Attachments out of ShareTarget in TransferUpdate callback to match API.
PiperOrigin-RevId: 639142725
2024-05-31 13:53:59 -07:00
Francis Tsui 13504726f9 Create AttachmentContainer class.
PiperOrigin-RevId: 639137658
2024-05-31 13:37:16 -07:00
Anay Wadhera a91f428e71 Remove selected contacts code from service
PiperOrigin-RevId: 639122146
2024-05-31 12:47:24 -07:00