Skip to content

Commit aa8793a

Browse files
committed
Bug 1911617 - Cleanup Utils and unused code. r=android-reviewers,avirvara
Differential Revision: https://phabricator.services.mozilla.com/D221972 UltraBlame original commit: f97e2e2a38a0b46d3349915e65d7b70516dadb55
1 parent 2331619 commit aa8793a

File tree

15 files changed

+116
-1826
lines changed

15 files changed

+116
-1826
lines changed

mobile/android/focus-android/app/src/androidTest/java/org/mozilla/focus/helpers/TestHelper.kt

+12-14
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,16 @@ support
365365
.
366366
utils
367367
.
368+
PendingIntentUtils
369+
import
370+
mozilla
371+
.
372+
components
373+
.
374+
support
375+
.
376+
utils
377+
.
368378
ext
369379
.
370380
getApplicationInfoCompat
@@ -427,16 +437,6 @@ activity
427437
.
428438
IntentReceiverActivity
429439
import
430-
org
431-
.
432-
mozilla
433-
.
434-
focus
435-
.
436-
utils
437-
.
438-
IntentUtils
439-
import
440440
java
441441
.
442442
io
@@ -1412,11 +1412,9 @@ appContext
14121412
Intent
14131413
(
14141414
)
1415-
IntentUtils
1415+
PendingIntentUtils
14161416
.
1417-
defaultIntentPendingFlags
1418-
(
1419-
)
1417+
defaultFlags
14201418
)
14211419
val
14221420
customTabColorSchemeBuilder

mobile/android/focus-android/app/src/main/java/org/mozilla/focus/animation/TransitionDrawableGroup.kt

-183
This file was deleted.

mobile/android/focus-android/app/src/main/java/org/mozilla/focus/autocomplete/AutocompleteAddFragment.kt

+35-8
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,34 @@ domains
157157
.
158158
CustomDomains
159159
import
160+
mozilla
161+
.
162+
components
163+
.
164+
support
165+
.
166+
ktx
167+
.
168+
android
169+
.
170+
view
171+
.
172+
hideKeyboard
173+
import
174+
mozilla
175+
.
176+
components
177+
.
178+
support
179+
.
180+
ktx
181+
.
182+
android
183+
.
184+
view
185+
.
186+
showKeyboard
187+
import
160188
org
161189
.
162190
mozilla
@@ -391,13 +419,12 @@ onViewCreated
391419
view
392420
savedInstanceState
393421
)
394-
ViewUtils
395-
.
396-
showKeyboard
397-
(
398422
binding
399423
.
400424
domainView
425+
.
426+
showKeyboard
427+
(
401428
)
402429
}
403430
override
@@ -411,14 +438,14 @@ job
411438
cancel
412439
(
413440
)
414-
ViewUtils
415-
.
416-
hideKeyboard
417-
(
418441
activity
419442
?
420443
.
421444
currentFocus
445+
?
446+
.
447+
hideKeyboard
448+
(
422449
)
423450
super
424451
.

0 commit comments

Comments
 (0)