Age | Commit message (Collapse) | Author |
|
- Remove setting for show/hide.
- Remove utilities and behaviors for show/hide.
~ Continue filtering blocked call types in call log (which may be
marked by other applications.)
~ Change behavior after blocking call; instead of keeping the call
log entry but changing the type to BLOCKED, delete it instead.
+ Default behavior is now to delete entries and visual voicemails of
blocked calls.
Bug: 25378068
Bug: 25106387
Change-Id: I8cbc419b25cce6ba39099857cffe4eb1df9d0bef
|
|
|
|
Bug: 25368270
Change-Id: Ie668b4f6cd029260440bafaf7951957a81cd7632
|
|
When interacting, this causes an awkward ripple which doesn't
reach the edge.
Change-Id: I0b837d8159cb53584ecc779f8bed89ce554ddfa8
|
|
ub-contactsdialer-a-dev
|
|
Manage is more related to a specific screen, new name seems to
make more sense based on location in settings menu of application.
Bug: 25343277
Change-Id: Ia45c1b7aa91c045078fd1473500f5d474e1c598f
|
|
Reconstruct the normalized phone number from other params.
Bug: 25343277
Change-Id: Ibb526b0808e0b50a4e946d91279e5570af44c3ca
|
|
... really, this was just bugging me. I'm not trying to just pad
my CL count. ;)
Bug: 25343277
Change-Id: Ifa0e894415d64f373fc23b01eb6169b5fffd98ce
|
|
|
|
It bugged me how it was inconsistently named to other classes
(ie. FilterNumber vs FilteredNumber).
It's also specific to blocked numbers, for now, so it felt more
appropriate to name it accordingly.
Bug: 25343277
Change-Id: I33e2f9fd933d117326690901ec71e3e8c0e3bbd3
|
|
ub-contactsdialer-a-dev
|
|
The right thing to do is to return early in this case.
This is a theoretical fix for the tagged bug; presuming that this
exception caused code execution to terminate prematurely and delete
the voicemail as it would be expected to.
Bug: 25346075
Change-Id: I643ff4e8abf723f3673b38f5933416730e5d5f9f
|
|
|
|
|
|
+ Add method and listener to FilteredNumberAsyncQueryHandler to
query for whether there are any blocked numbers.
+ Added utility function for showing a notification, which points
to the blocked numbers setting screen. This notification will only
be shown if the user has blocked numbers.
+ Add a boolean flag to track whether we have shown this notification
after an emergency call. This is to address the (edge) case where the
user makes an emergency call when they have not blocked any numbers,
but then later blocks a number.
+ Added strings for notification.
Bug: 25327365
Change-Id: I3179f3884271ea0a504ef8c9a61bf9dfbd18ef10
|
|
ub-contactsdialer-a-dev
|
|
Bug: 25342525
Change-Id: I9a845ffa25323b53175dc0eac2da1f2b4311abe3
|
|
|
|
+ Saved search term.
+ Fix padding/shadow jank between rotations.
+ Fix title disappearing for import on rotation.
Bug: 24910704
Change-Id: Ib683bd07ad629917ac429a5f33be54ecf781e33d
|
|
ub-contactsdialer-a-dev
|
|
Discovered the bug was in the TalkBack code instead of the dialer code,
this change is no longer necessary.
Bug: 25127953
Change-Id: Ic02dab7ab448d4df55bb6f4d91a723805de58f32
|
|
+ Adjust talkback focus to allow the user to page through the cards
for the settings and import separately, even though they are
structurally part of the same header component, visually they
reside in different "cards".
+ Change the "hide setting" to be toggled by tapping on the text
description area.
Bug: 25163592
Change-Id: I0d1fcd28dba058d707bfe5099cdf912aed14f728
|
|
- Remove unnecessary getter.
+ Reorganized arguments logic in FilterNumberDialogFragment.
Bug: 25343277
Change-Id: I7541f21ed28794b4a5d73e0c6c6d895ca6402c77
|
|
|
|
Change-Id: I94c1d1c5bc310f102903e97b108d5bc37bfb8170
|
|
ub-contactsdialer-a-dev
|
|
Change-Id: I5b3760624aa2be72f04ae524c43d952d66f7a592
Auto-generated-cl: translation import
|
|
+ BlockedListSearchFragment.onChangeFilteredNumberSuccess() calls
activity.onBackPressed() instead of re-adding the management fragment.
Bug:25330660
Change-Id: If3a4cd26a180cf08a0e28f0c4bd05e7fd6149c20
|
|
ub-contactsdialer-a-dev
|
|
Add a systems settings config, which is checked for the delay
threshold if a particular debug VERBOSE logging mode is used.
Usage:
adb shell setprop log.tag.DebugEmergencyCall VERBOSE
adb shell settings put system dialer_emergency_call_threshold_ms 60000
Bug: 25216954
Change-Id: Ia9b179e16819d3d8232cbedd49d5744d7b69a825
|
|
card." into ub-contactsdialer-a-dev
|
|
When rebinding the voicemail card, onPrepared gets called and resets the
voicemail playback to 0 because mPosition is not updated to the most
recent value. Update mPosition in this case to the position of the media
player and then call onPrepared.
Bug: 25080811
Change-Id: Ief3a021f4c11bac7b8c0a563765e14c897cb43b5
|
|
Straight revert of all onboarding flow related CLs -
the onboarding flow is not needed for now as the Dialer
will always at least be the system dialer.
Bug: 25020847
Change-Id: Ic1c5020b9b423de50801485f764209b21d5d7f33
|
|
ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
The voicemail entries were reading "speed dial" because the focus would go
to the newly added "speed dial" tab since the tabs are all removed and
readded when the tab info changes. Change the logic so that only the
voicemail tab is changed when needed.
The voicemail entry reads "seek playback" instead of the information
about the voicemail because of custom expand logic for accessibilty.
Change it so that only the call log items are expanded when selected
(it is more important to be able to discover the overflow options).
Also change content description text because it was too long and confusing.
Bug: 25124120
Change-Id: I64c1b27d8c0db57525f7f4ada59655e9f8352245
|
|
- Updated the CallDetailActivity to choose whether to show last name first
or first name first based on user preferences.
- Modified callLog code to behave in a similar fashion
- Fixed bug in ContactInfoHelperTests
- Rename PhoneCallDetails.name -> PhoneCallDetails.namePrimary
Bug: 19364093
Change-Id: I50971ad0f26f6ede49f1c82965d1b00ce0cba4d3
|
|
ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
+ Configure BlockedListSearchFragment so it will not show empty
when the search query is null.
+ Removed local reference and equality check for changes in the
query string. This is done in the superclasses already, so was
redundant.
- Removed unnecessary override in RegularSearchFragment.
Bug: 24910704
Change-Id: Ifd11eed9e3ba6fb00ba535ae019df477f81518fb
|
|
|
|
Bug: 25154882
Change-Id: I70d031dcf62a183efc4b830a2292e28917bc5279
|
|
Distinguish between a manual long press and system long
press (via accessibility) when modifying the current
dial string.
Bug: 23554996
Change-Id: I3fc610c8e24bdb39729b827715e08a3e7d73ba1f
|
|
|
|
Though it is lighter on logic now, it still seems helpful to have
a common helper to return whether it should be possible to proceed
with blocking a number.
Bug: 25230222
Change-Id: I99f93f1cfc09988b3dec77f71541463c96d06225
|
|
- Updated ContactInfoHelper to retrieve DISPLAY_NAME_ALTERNATIVE (name
in last name first order)
- Stored alternative name in ContactInfo object
- Updated CallLogAdapter to choose between first name first and last
name first when showing contact name
- Added tests for ContactInfoHelper.lookupContactFromUri (changed to
public method)
- Fixed bug with ContactsPreferences so ChangeListener works
Bug:19364093
Change-Id: I73e8d8602a54e3134ef01b3d5167d828b26fa5ea
|
|
ub-contactsdialer-a-dev
|
|
Bug: 25122678
Change-Id: I83a7d231b8686152c63d9be71a652232664ea682
|
|
ub-contactsdialer-a-dev
|
|
This reverts commit 327fb5bb609a6bee44a62888d671c951b19782fd.
Change-Id: I134f0a26697bec20b746a6e8f041a715d8e95136
|
|
|
|
|
|
ub-contactsdialer-a-dev
|
|
- Updated ContactInfoHelper to retrieve DISPLAY_NAME_ALTERNATIVE (name
in last name first order)
- Stored alternative name in ContactInfo object
- Updated CallLogAdapter to choose between first name first and last
name first when showing contact name
- Added tests for ContactInfoHelper.lookupContactFromUri (changed to
public method)
- Fixed bug with ContactsPreferences so ChangeListener works
Bug:19364093
Change-Id: I188d8fc2eccb87edbe56625c9a7537b3d5f0e19e
|
|
Bug: 24172011
Change-Id: I13d84166c33859a38f6a920f3f082cb037d2a33b
|
|
- Update button styles and positioning
- Update background images
Bug: 24270592
Change-Id: Idaca76d25d8fc1362fb6c004ec053ac5ed618170
|
|
Bug: 25174539
Change-Id: I67e1f2e56c75469f84ee4a0255c3131448a23eab
|
|
Change-Id: Ibdbdc23c5c6dcd05eeda1e19fe44180a35847962
|
|
ub-contactsdialer-a-dev
|
|
Crashes because the VoicemailPlaybackPresenter is alerted when the state
of the headset changes but the corresponding view may be out of focus.
Bug: 25090589
Change-Id: Iabe24eb969777ae3919ede05474f35d6c596b20e
|
|
|
|
|
|
Also, causes right fragment to retain after rotation and recreation.
Bug: 25154818
Bug: 24910704
Change-Id: Icafbc7ba6f3ad877c2d28d92e510b9afbd822b65
|
|
Will be disabled for 48 hours after an emergency call.
+ Add utility for noting last time of an emergency call.
+ Add utility for comparing current time to last time of an
emergency call.
+ If current time is within 48 hours of emergency call, display
text in settings explaining why call blocking is disabled.
Bug: 24418319
Change-Id: I6824340f04fae17b73f17843a9f6ef991afa0327
|
|
Change-Id: I592a9197f39c5a10ddc07947a76ee4d0ec9553a5
|
|
+ Add elements as header, so they scroll with the list.
+ Shuffle around some layouts to make this work correctly.
+ Replace default ListView divider with custom drawable, to achieve
the desired effect of removing the divider on the first list item.
+ Override BlockedNumberAdapter to never report itself as empty.
Otherwise, the header will disappear.
+ Tweak some padding.
Bug: 25134186
Change-Id: I07711437fea2d3042d3987983667ab5316d51fcc
|
|
+ Add a fragment (and adapter) for displaying numbers from contacts
marked as send to voicemail. This fragment has import functionality.
+ Refactor logic around the Blocked Numbers activity; relocate a lot
of the fragment-specific logic, particularly around actionbars, to
within the fragments themselves.
+ Simplify fragment management logic by using replace instead of
show/hide.
Bug: 23351616
Change-Id: I5c1076d6d001a8401234f57c27ada4bcd90e6c27
|
|
Bug: 24134270
Change-Id: I62c32b6cacdc931e7c99dca68b73aa6bf678b497
|
|
Bug: 24134270
Change-Id: I5d28c633abee226f7bc2d63ec80340cd6deb9c79
|
|
ub-contactsdialer-a-dev
|
|
|
|
+ Delete voicemail when the notification is received if the number
is blocked and the "hide" setting is set to true.
+ Changed utility to take time into account; only block voicemail
notifications and delete voicemails if the voicemails are from
after the time when the number was blocked.
Bug: 24134270
Change-Id: I2f3b24d6291a6cec4a7d8530b00dd5a4656ab024
|
|
|
|
We can only honor deleting voicemail for VVM users.
Bug:24134270
Change-Id: I2b4ea6856ab4bc79ad93ac111bc78bc7f8b4833e
|
|
|
|
+ Add settings switch to blocked number settings.
+ Add utility for checking/setting whether calls should be blocked.
+ Filter out blocked calls in call log query, if appropriate.
+ Refresh call log fragment after a change in setting.
Followup work: delete voicemails for calls by blocked numbers after
the time when the user blocked them.
Bug: 24134270
Change-Id: I85088697559ef6fb446b82617f14f1c6fa893df1
|
|
|
|
* Update all tests with @SmallTest, @MediumTest or @LargeTest
annotation to ensure coverage by continuous test infrastructure
* Fix one failing test
Change-Id: Ib878a3fe292916e21a465580a74319e807e7efe0
|
|
|
|
Bug: 25095683
Change-Id: I244ec8312ad24081fd36967e063ddccd53b0253c
|
|
|
|
|
|
To facilitate reusings the same views and adapter for both the
manage blocked numbers list and the import list. The two will
use different cursors because they are pulling data from different
places (Contacts db vs FilteredNumbers db), and it seemed better
to reuse code rather than creating parallel implementations.
Bug: 23351616
Change-Id: I5cac5f2a6b8b3bf4a6e8f54c8bc3f1c1500ac5e7
|
|
Bug: 25090920
Change-Id: I367e2109acf4f60cedc84bb7c2cd4b472be04f77
|
|
+ Added a utility to do a synchronous lookup for whether a number is
blocked, but it should not be used normally from the UI thread.
+ Change voicemail notifier code to obtain countryIso, and pass back
list of calls to notify as list (to make it easier to remove elements).
Bug: 23944007
Change-Id: Iad1f8ee200b8f8734be3db0504482fcdee61e412
|
|
Bug: 24680730
Bug: 24303461
Change-Id: Ibd7d431355ca97eb2ae7f29537809987a8d5f96d
|
|
Done for both snackbars in call blocking/unblocking and voicemail
deletion.
Bug: 24370325
Change-Id: I00fdebb635e60ac1d421ccf7f15df46693773870
|
|
|
|
+ Add utility class for async import functions.
+ Move check for contacts with SEND_TO_VOICEMAIl to util.
+ Add function for adding phone numbers of contacts with
SEND_TO_VOICEMAIL to the block list, then clearing the
SEND_TO_VOICEMAIL flag.
+ Fixed bug where the import text would not be shown for an empty
block list. Rearranged layouts slightly to facilitate this.
+ Protect against null listeners in FilteredNumberAsyncQueryHandler.
Bug: 23351616
Change-Id: Id526e16f20a3d28966bbc5e458cecfcd03ecb20f
|
|
+ Show blocked drawable in CallDetailActivity. Rearrange logic in
the activity to facilitate updating the contact photo and block
item action in accordance to blocked state.
+ Fix bug in FilterNumberDialogFragment where callback was not
always invoked because of final/scope issues where it was possible
for the callback to be unintentionally null and not invoked.
+ Clear blocked id cache when pausing the call log adapter, so that
after changing the blocked state in the call detail activity the
changes will be reflected in the call log.
Bug: 24871853
Change-Id: I1d58b1e0c222ead90fa7b6c30a95bc3254a14776
|
|
+ Correctly dismiss filtered number dialog on rotate.
+ Polish listener interface, and extend across all block/unblock
and undo scenarios.
+ Update UI across all blocking scenarios (call log, call detail,
settings, blocked number list, blocked number search);
+ Conslidate creation of FilterNumberDialogFragment in a single
static method.
The listener interface is not ideal, because it does not maintain
state well across rotation and multiple instances. This option was
selected, however, because of the number of scenarios in which
the dialog is invoked and various circumstances (in a RecyclerView
list item, in a fragment, in an activity). This range of scenarios
makes it convoluted to implement a uniform mechanism in any other
way, so the approach opted for is to set a listener, and dismiss
the dialog on rotation..
Bug: 24638328
Bug: 24109819
Bug: 24871853
Change-Id: I2332edda2cae0341af3e80b13aa96af6068f75ac
|
|
|
|
reversed in RTL." into ub-contactsdialer-a-dev
|
|
|
|
Combination of two related bugs.
22168682: In the voicemail call log, moved call type/location to below the call
action button and removed the call details button as it didn't have any
additional information.
22514722: Modified spacing and text sizes for call log. Moved voicemail
transcription below call date as in mocks.
Bug:22168682,22514722
Change-Id: I557761b815604fee4e6b61f4670608b8fa90d3a7
|
|
into ub-contactsdialer-a-dev
|
|
If DialtactsActivity is created for the first time by launching a
DIAL intent, the SmartDialSearchFragment is not correctly populated
with the correct number for the "Create new contact" and "Add to
contact" shortcuts since it is not attached yet when the callback is
fired. Fix this by persisting the number and setting it on the
fragment when it is attached.
Bug: 24358325
Change-Id: I24d4603376e739a7c9368a9b115109ba23753585
|
|
in RTL.
Root cause of issue was that the tab indexes were not reversed in RTL mode.
Made a similar change as was made in ListsFragment.
Bug: 24690256
Change-Id: Ifa7ae1127298aa098dd8201b4d1e095baa3c14e8
|
|
Some numbers had been showing up marked as blocked, even though
they were not blocked, because the adapter list items were not
updated properly.
Bug: 24910704
Change-Id: Id3aead5212f4e51d02ec5c6be6c77962546722e0
|
|
Change-Id: Iabbc27e509fe8abfdb769c2932a1a025287bdc88
|