Skip to content

Commit a25d101

Browse files
committed
Modified comments refactor: rename MODIFIED to MOD
1 parent 3fda078 commit a25d101

File tree

17 files changed

+28
-28
lines changed

17 files changed

+28
-28
lines changed

chatkit/src/main/java/com/stfalcon/chatkit/messages/RecyclerScrollMoreListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ private int getLastVisibleItem(int[] lastVisibleItemPositions) {
5050
return maxSize;
5151
}
5252

53-
// MODIFIED: fully custom
53+
// MOD: fully custom
5454
// Fix: lastVisibleItemPositions is wrong. Solution: remove it altogether.
5555
@Override
5656
public void onScrolled(RecyclerView view, int dx, int dy) {
5757
if (loadMoreListener != null) {
58-
// MODIFIED: throttle calls
58+
// MOD: throttle calls
5959
// Swallow scrolling up. Continue on scroll down.
6060
currentScrollPos += dy;
6161
if (currentScrollPos <= maxScrollPos) {

chatkit/src/main/res/layout/item_outcoming_text_message.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- MODIFIED: Android 9 message focused bug fix (RelativeLayout focusable="false") -->
1+
<!-- MOD: Android 9 message focused bug fix (RelativeLayout focusable="false") -->
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
android:layout_width="match_parent"

chatkit/src/main/res/values/dimens.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<dimen name="message_padding_top">16dp</dimen>
2929
<dimen name="message_padding_bottom">16dp</dimen>
3030
<!-- Incoming/Outcoming text message size -->
31-
<!-- MODIFIED: message_text_size: "17sp"->"14sp" -->
31+
<!-- MOD: message_text_size: "17sp"->"14sp" -->
3232
<dimen name="message_text_size">16sp</dimen>
3333
<dimen name="message_time_text_size">14sp</dimen>
3434
<dimen name="message_date_header_text_size">16sp</dimen>

exoplayer-amzn-2.10.6/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/CronetEngineWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public CronetEngineWrapper(Context context, boolean preferGMSCoreCronet) {
109109
for (int i = 0; i < cronetProviders.size() && cronetEngine == null; i++) {
110110
String providerName = cronetProviders.get(i).getName();
111111
try {
112-
// MODIFIED: enable Quic and cache for Quic
112+
// MOD: enable Quic and cache for Quic
113113
//cronetEngine = cronetProviders.get(i).createBuilder().build();
114114
cronetEngine = cronetProviders.get(i).createBuilder()
115115
.enableQuic(true)

exoplayer-amzn-2.10.6/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ public void setMediaMetadataProvider(@Nullable MediaMetadataProvider mediaMetada
677677
* {@link MediaMetadataProvider#getMetadata(Player)}.
678678
*/
679679
public final void invalidateMediaSessionMetadata() {
680-
// MODIFIED: disable notifications if no provider is set
680+
// MOD: disable notifications if no provider is set
681681
if (mediaMetadataProvider == null) {
682682
return;
683683
}

exoplayer-amzn-2.10.6/library/core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ android {
5959
}
6060

6161
dependencies {
62-
// MODIFIED: add custom dns resolver
62+
// MOD: add custom dns resolver
6363
implementation project(':sharedutils')
6464
implementation 'androidx.annotation:annotation:' + annotationXVersion
6565
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion

exoplayer-amzn-2.10.6/library/core/src/main/java/com/google/android/exoplayer2/upstream/DefaultHttpDataSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ private HttpURLConnection makeConnection(
523523
boolean allowIcyMetadata,
524524
boolean followRedirects)
525525
throws IOException {
526-
// MODIFIED: Add modern TLS ciphers to HttpUrlConnection and custom Dns
526+
// MOD: Add modern TLS ciphers to HttpUrlConnection and custom Dns
527527
// https://stackoverflow.com/questions/16299531/how-to-override-the-cipherlist-sent-to-the-server-by-android-when-using-httpsurl
528528
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
529529
// TODO: Exceptions on API 34 (maybe lowers too). Enable for old api or at least switch to Cronet on error

exoplayer-amzn-2.10.6/library/ui/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ android {
3939
}
4040

4141
dependencies {
42-
// MODIFIED: add subs bg padding
42+
// MOD: add subs bg padding
4343
implementation project(':sharedutils')
4444
implementation project(modulePrefix + 'library-core')
4545
implementation 'androidx.media:media:1.0.1'

exoplayer-amzn-2.10.6/library/ui/src/main/java/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public void setResizeMode(@ResizeMode int resizeMode) {
164164
}
165165

166166
/**
167-
* MODIFIED: Set video zoom in percents
167+
* MOD: Set video zoom in percents
168168
*/
169169
public void setZoom(int percents) {
170170
if (zoomPercents != percents) {

smarttubetv/src/main/java/com/liskovsoft/smartyoutubetv2/tv/ui/mod/clickable/LinkifyCompat.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public static boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask) {
153153

154154
pruneOverlaps(links, text);
155155

156-
// MODIFIED: force enable scrolling even there's no links in text
156+
// MOD: force enable scrolling even there's no links in text
157157
//if (links.size() == 0 && timeLinks.size() == 0) {
158158
// return false;
159159
//}
@@ -405,7 +405,7 @@ public static boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pa
405405
}
406406

407407
private static boolean shouldAddLinksFallbackToFramework() {
408-
// MODIFIED: use custom realization always
408+
// MOD: use custom realization always
409409
//return Build.VERSION.SDK_INT >= 28;
410410
return false;
411411
}
@@ -458,7 +458,7 @@ private static void gatherLinks(ArrayList<LinkSpec> links,
458458
int end = m.end();
459459

460460
if (matchFilter == null || matchFilter.acceptMatch(s, start, end)) {
461-
// MODIFIED: Support link without a prefix
461+
// MOD: Support link without a prefix
462462
String url = schemes != null ? makeUrl(m.group(0), schemes, m, transformFilter) : m.group(0);
463463

464464
if (url != null && !url.isEmpty()) {

0 commit comments

Comments
 (0)