Signal-Android/app/src/main/java/org/thoughtcrime/securesms/util
Greyson Parrelli 35c102aa98
Fix issues with StorageSyncV2 bookkeeping.
1. I screwed up the comparators in the record processor. Pretty bad, glad this was caught.
2. Previously I was sort of keeping track of which local-only records were accounted for while I was merging, and then hoping everything worked out in the end. Now I just very directly take some set differences and retrieve the appropriate records, so it's clear that we should never fail certain validations.
3. Rev's the feature flag so we don't turn on something broken.
2021-04-13 11:32:24 -04:00
..
adapter Finalize wallpaper UX. 2021-01-21 18:02:19 -05:00
cjkv
concurrent Make thread related utility methods available for use in all modules. 2021-03-02 11:07:04 -05:00
dualsim Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
dynamiclanguage Prevent showing notification megaphone if not translated. 2021-02-25 14:16:59 -04:00
livedata Payments. 2021-04-06 17:07:19 -03:00
paging Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
spans Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
task Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
text
viewholders Payments. 2021-04-06 17:07:19 -03:00
views Payments. 2021-04-06 17:07:19 -03:00
AbstractCursorLoader.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
AccessibilityUtil.java
ActivityTransitionUtil.java Improve wallpaper settings screen, conversation rendering. 2021-01-21 18:02:19 -05:00
AlarmSleepTimer.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
AppForegroundObserver.java Move calling management out of service. 2021-03-31 16:02:32 -03:00
AppSignatureUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
AppStartup.java Create a system for scheduling work post-initial-render. 2021-01-06 17:03:38 -04:00
AsynchronousCallback.java Make thread related utility methods available for use in all modules. 2021-03-02 11:07:04 -05:00
AsyncLoader.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
AttachmentUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
AvatarUtil.java Fix a few minor group call UI issues. 2020-12-07 10:05:35 -05:00
BackupUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
Base64.java
BitmapDecodingException.java
BitmapUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
Bitmask.java Move capabilities into a single column. 2020-10-22 15:55:18 -03:00
BlurTransformation.java
BottomSheetUtil.java Legacy group learn more badge and info bottom sheet. 2020-07-21 06:05:16 -03:00
BubbleUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
BucketInfo.java
BucketingUtil.java Add Research Megaphone. 2020-09-23 16:54:38 -04:00
ByteUnit.java
CachedInflater.java Purge view cache when layout direction is changed. 2021-03-08 12:13:32 -05:00
CalendarDateOnly.java
CensorshipUtil.java
CharacterCalculator.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
CharacterIterable.java Account for grapheme cluster when trimming to fit a specific length. 2021-03-31 16:02:32 -03:00
CloseableLiveData.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
CommunicationActions.java Move calling management out of service. 2021-03-31 16:02:32 -03:00
ConfigurationUtil.java Fix incorrect restarting and theming when system changes night mode. 2020-11-13 14:39:00 -05:00
ContextUtil.java Fix incorrect restarting and theming when system changes night mode. 2020-11-13 14:39:00 -05:00
ConversationShortcutPhoto.java Show contact profile photo instead of system contact. 2021-01-13 19:43:23 -05:00
ConversationUtil.java Fix potential OOM when updating shortcuts. 2021-04-05 14:21:32 -04:00
CursorUtil.java Payments. 2021-04-06 17:07:19 -03:00
DateUtils.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
Debouncer.java Join group via invite link. 2020-08-26 12:51:25 -03:00
DefaultValueLiveData.java
Deferred.java
DelimiterUtil.java
DeviceProperties.java Include background restriction status in the logs. 2021-03-12 10:30:05 -05:00
Dialogs.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
DiffHelper.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
DisplayMetricsUtil.java Wallpaper preview size respects device aspect ratio. 2021-01-21 18:02:19 -05:00
DrawableUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
DynamicDarkActionBarTheme.java Add foundation for using Android's DayNight theming system. 2020-11-11 15:29:01 -05:00
DynamicDarkToolbarTheme.java Add foundation for using Android's DayNight theming system. 2020-11-11 15:29:01 -05:00
DynamicIntroTheme.java Add foundation for using Android's DayNight theming system. 2020-11-11 15:29:01 -05:00
DynamicLanguage.java
DynamicNoActionBarInviteTheme.java Add foundation for using Android's DayNight theming system. 2020-11-11 15:29:01 -05:00
DynamicNoActionBarTheme.java Add foundation for using Android's DayNight theming system. 2020-11-11 15:29:01 -05:00
DynamicRegistrationTheme.java Add foundation for using Android's DayNight theming system. 2020-11-11 15:29:01 -05:00
DynamicTheme.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
EarlyMessageCache.java
EllapsedTimeFormatter.java
ExpirationUtil.java Show expiration time exactly as set instead of rounding. 2020-07-19 09:32:16 -04:00
FeatureFlags.java Fix issues with StorageSyncV2 bookkeeping. 2021-04-13 11:32:24 -04:00
FileProviderUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
FileUtils.java
FrameRateTracker.java Improve and streamline Application#onCreate. 2021-01-06 17:03:20 -04:00
FullscreenHelper.java Revert "Fix wallpaper in landscape mode with notched devices." 2021-01-30 11:29:44 -05:00
Function3.java
FutureTaskListener.java
GroupUtil.java Decrypt and process messages all in one transaction. 2021-02-23 18:34:18 -05:00
Hex.java Handle GV2 addresses. 2020-08-14 15:54:05 -04:00
HtmlUtil.java
IasKeyStore.java
IdentityUtil.java Remove two AsyncTasks. 2021-02-23 12:48:20 -04:00
ImageCompressionUtil.java Updated image compression parameters. 2021-02-10 09:16:42 -05:00
IntentUtils.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
InterceptableLongClickCopyLinkSpan.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
IOFunction.java
JsonUtils.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
LayoutUtil.java Add initial Mentions UI/UX for picker and compose edit. 2020-07-28 15:20:20 -04:00
LeakyBucketLimiter.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
LifecycleCursorWrapper.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
LifecycleRecyclerAdapter.java
LifecycleViewHolder.java
LimitedInputStream.java
ListenableFutureTask.java
LongClickCopySpan.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
LongClickMovementMethod.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
LRUCache.java
MappingAdapter.java Payments. 2021-04-06 17:07:19 -03:00
MappingModel.java Add initial Mentions UI/UX for picker and compose edit. 2020-07-28 15:20:20 -04:00
MappingModelList.java Add trim conversations by time option. 2020-09-08 09:47:57 -04:00
MappingViewHolder.java Payments. 2021-04-06 17:07:19 -03:00
MathUtils.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
MediaMetadataRetrieverUtil.java
MediaUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
MemoryFileDescriptor.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
MemoryFileDescriptorProxy.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
MemoryFileUtil.java Share media from within Media Preview and share QR code image. 2020-11-04 16:05:35 -04:00
MemoryUnitFormat.java Display video file output size and duration during clipping. 2020-11-20 13:27:58 -04:00
MessageRecordUtil.java Allow consecutive voice notes to be played as a playlist. 2020-10-15 16:19:17 -04:00
MessageUtil.java
MmsCharacterCalculator.java
NetworkUtil.java Update to RingRTC v2.9.0 2021-01-27 11:52:32 -04:00
NoCrossfadeChangeDefaultAnimator.java Payments. 2021-04-06 17:07:19 -03:00
ObservingLiveData.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
OkHttpUtil.java Open up link previews to work with all sites. 2020-08-14 15:54:05 -04:00
ParcelUtil.java Fix crash when receiving call with no corresponding identity key. 2021-02-17 10:26:45 -05:00
PlayServicesUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
PlayStoreUtil.java Add back private PlayStoreUtil constructor. 2021-03-16 11:35:18 -04:00
PopulationFeatureFlags.java Remove research megaphone feature flag. 2021-02-24 20:23:36 -05:00
PowerManagerCompat.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
ProfileUtil.java Payments. 2021-04-06 17:07:19 -03:00
PushCharacterCalculator.java
RedPhoneCallTypes.java
RemoteDeleteUtil.java Remove remote delete option for group updates. 2020-10-22 16:56:16 -04:00
RemoteDeprecation.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
RequestCodes.java
ResUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
Rfc5724Uri.java
RingtoneUtil.java Fix call ringtone not playing on some custom ROMs and Samsung Android 11 devices. 2021-03-31 16:02:32 -03:00
SaveAttachmentTask.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
SearchUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
SemanticVersion.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
ServiceUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
SetUtil.java Upgrade SDK to 30. 2020-11-18 13:38:27 -04:00
ShortCodeUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
SignalProxyUtil.java Add Device to Device Transfer UI. 2021-03-12 16:08:22 -05:00
SignalUncaughtExceptionHandler.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
SingleLiveEvent.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
SmsCharacterCalculator.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
SmsUtil.java Fix SMS role bug introduced for pre-Q devices. 2020-10-30 17:45:28 -04:00
SnapToTopDataObserver.java Fix issues with jumpToMessage behavior. 2020-12-07 22:40:43 -05:00
SoftHashMap.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
SpanUtil.java Payments. 2021-04-06 17:07:19 -03:00
SqlUtil.java Add foundation for automated performance tests. 2021-03-05 13:54:57 -05:00
StickyHeaderDecoration.java Finalize wallpaper UX. 2021-01-21 18:02:19 -05:00
Stopwatch.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
StorageUtil.java Check if the content uri already exists and rename the file until it's valid to insert. 2021-02-10 15:21:03 -05:00
StringUtil.java Only allow emojis as reactions. 2021-04-12 12:25:09 -04:00
SupportEmailUtil.java Add a category dropdown in the help fragment. 2021-03-12 22:56:56 -05:00
TaggedFutureTask.java
TelephonyUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
TextSecurePreferences.java Improve Call Notification UX when things don't go as planned. 2021-03-31 16:02:32 -03:00
ThemeUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
ThrottledDebouncer.java Remove usages of deprecated Handler constructor. 2021-01-06 17:03:20 -04:00
Throttler.java Remove usages of deprecated Handler constructor. 2021-01-06 17:03:20 -04:00
Triple.java
UriUtil.java Perform additional URI validation in ShareRepository. 2021-02-17 15:07:37 -05:00
UrlClickHandler.java Handle GV2 addresses. 2020-08-14 15:54:05 -04:00
UsernameUtil.java Create a core-util module with some common utilities. 2020-12-05 13:44:13 -05:00
Util.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
VerifySpan.java
VersionTracker.java Force a feature flag refresh after a version change. 2020-12-18 10:41:14 -04:00
VibrateUtil.java Update Mention UI/UX to match latest designs. 2020-08-14 15:54:05 -04:00
ViewUtil.java Do not use View.getLayoutDirection(). 2021-02-11 10:41:40 -05:00
WakeLockUtil.java Use Log.tag where appropriate. 2021-03-31 16:02:32 -03:00
WindowUtil.java Fix issue where reaction shade is offset in chat bubbles. 2021-02-01 10:23:41 -05:00
WorkerThread.java