Age | Commit message (Collapse) | Author |
|
+ 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
|
|
|
|
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
|
|
ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
Check to see if there are any contacts being sent to voicemail.
If true, show the import settings in the BlockedNumberFragment,
otherwise hide those settings.
Bug: 23351616
Change-Id: I370d80508571ac654d8c10afab332b552f8dd99e
|
|
Check for null context in resumePlayback.
Bug:24858686
Change-Id: I7c65e3ae836535f15936ecb397a68ee6590f31ed
|
|
AOSP Dialer does not care about having location enabled,
so move the relevant code out into a separate fragment
Bug: 24172011
Change-Id: I7c29ba4ed8e3fb0a600360c10e9c9fdd6d543b1f
|
|
|
|
|
|
- Remove LinearLayouts and use drawableLeft instead.
+ Up block asset from 18dp to 24dp.
Bug: 24109819
Change-Id: I941520f1b90e6f819c7f94269e395d26c56f5734
|
|
|
|
ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
Don't require RegularSearchFragment's parent activity to
implement CapabilityChecker interface. In the context of the
BlockedNumberSearchActivity this functionality is not needed.
Bug: 24804134
Change-Id: I848ae66c6f8afc6e60b19bc28e933ae1e2f59893
|
|
Bug: 24756948
Change-Id: Ifc05733528c473ec84f177e2c5d845ac534b26dc
|
|
Mocks indicate that after adding, the user should be returned to
the management UI and the snackbar should be shown there. This is
kind of pain to do across fragments in different activities. To
help address this, make one Activity the parent of both the blocked
number manage and add/search UI. This also makes sense in terms of
logical organization.
Bug: 24134038
Change-Id: I682342a73c964a5d4eb90469f10d6584b85400f1
|
|
Some of these are moved down from the overflow. Others are added
from the list of those shown after a call log list item long press.
This hooks up the block/unblock functionality, although there is
still polish (eg. icons) and cleanup (some noted as TODOs), to
complete still.
Bug: 24109819
Change-Id: I129f5b09ac1c5edb66ab5bd91a46b18961240fb5
|
|
Does not yet update on change; figuring to do that in a followup
CL because there are a number of other scenarios where that
needs to be fixed too.
Bug: 23943480
Change-Id: I73615c405d547e74667f6c635b5623708c723347
|
|
|
|
This makes the ViewHolder self-capable of updating/setting its
photo, so if we want to update the photo in the future (either
in teh scope of a listener, or in the ViewHolder itself), we
don't need to worry about configuring and passing around a
bunch of commands.
Bug: 23943480
Change-Id: I17653014dd81fcb9ae7a667539e40a9310a72d36
|
|
|
|
Clicking on TURN ON currently only asks for the location
permission. Showing the dialog that toggles location sources
is planned for a follow up CL.
Bug: 24172011
Change-Id: Ieb6bd58a60aacbda76f9c754efeebfdd9e89aa86
|
|
|
|
ub-contactsdialer-a-dev
|
|
this allows us to scroll the header with the rest of the screen,
instead of having it pinned to the top, as it is currently.
Bug: 24109819
Change-Id: Ic440bc18d31d196493a86130e06d954c453c9146
|
|
|
|
Launch OnboardingActivity for exported activities
(DialtactsActivity, CallDetailsActivity) to ensure that
a) We prompt the user to make us the default dialer at least once
b) The user has granted us both the Phone and Contacts permissions
Bug: 24270592
Change-Id: I232314e42f5331a72c1a84be917d9d74c5813976
|
|
For calls of type BLOCKED, show the blocked call icon.
Bug: 23943480
Change-Id: Ic1477090c31d51322dbe04dac29f1ca3b0dae4d1
|
|
This simplifies addressing a number of rotation cases by
eliminating them completely. Otherwise, we need to worry
about updating references, such as having the right
fragment or activity reference to be able to provide the
correct parent view for the snackbar. This is particularly
complicated in some cases in Dialer because we have a
fragment => adapter => viewholder hierarchy to pass through.
Bug: 24638328
Change-Id: Ic8a5d2c3ca35742f5bb0986d77ae3b8d5f44e4dd
|
|
Rather than creating single instances and setting them or passing
them around, create them when we need them. This won't happen too
often so instantiating the objects shouldn't be too much of a
burden on the system.
Instances of AsyncQueryHandler all end up running tasks off
the same thread, so there should not be a negative consequence of
spinning off more threads.
Bug: 24638328
Change-Id: If53ce4f1fd83736c330c1ff02946ed45da575796
|
|
+ Group blocked calls separately from other call types, but group
adjacent blocked calls together.
+ Add unit tests.
Bug: 23943480
Change-Id: Iffe6fac800007f6b88e0feb15d91c63515e496f8
|
|
Incremental CL in changing actions/layout of CallDetailActivity to
move actions such as Block/Edit/Copy out of the overflow menu.
+ Make header at top of Call Detail Activity smaller.
+ Move delete options into actionbar button.
- Delete call list header in CallDetailActivity.
Bug: 24109819
Change-Id: If75f016e14de9e2c5ac8629c4bfa38e2380ce48b
|
|
ub-contactsdialer-a-dev
|
|
This reverts commit 11a7350843ec13c7ca4d27523e9ba146911d2767.
Change-Id: Idf62da51c934ee598c1bbc1b5052e6cea2929feb
|
|
number." into ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
Bug: 24468656
Change-Id: I31091e2dde07dabc432247fd4e409907fada152b
|
|
|
|
Incremental CL in changing actions/layout of CallDetailActivity to
move actions such as Block/Edit/Copy out of the overflow menu.
+ Make header at top of Call Detail Activity smaller.
+ Move delete options into actionbar button.
- Delete call list header in CallDetailActivity.
Bug: 24109819
Change-Id: I1a5fedc54d1bb725597a07f4cfd8d7f6e8627a32
|
|
ub-contactsdialer-a-dev
|
|
To support call blocking, added BLOCKED call type.
Also added utility to be able to mark the most recent call from a
number as BLOCKEd in the call log database.
Added REJECTED call type as well. This is not presently used within
our application, but we want to reserve the integer, anticipating
changes in the framework to add this constant.
Introduced AppCompConstants, because BLOCKED and REJECTED call type
values will not be defined as part of the API on M devices. Change
existing call type constants to reference this compatability class.
Bug: 24341350
Change-Id: I523ebd8dd1844a3b71a69a14bd38073be5940804
|
|
Bug: 22168682
Change-Id: Id0135ca03310f6c1587151af81c29b22e9d20d2b
|
|
|
|
* Add OnboardingActivity that controls the onboarding the UI
ensuring that the user grants the necessary permissions before
the Dialer can start.
* Add first pass (no graphics, eyeballed measurements) for the
screens that request for default dialer as well as permissions
* OnboardingActivity is not actually launched at this moment - will
be tied in to the various Dialer activities in a follow up CL.
* Add tests for logic that controls the display of the screens in
anticipation of future additions to the onboarding flow.
* Add mockito library to DialerTests's Android.mk
Bug: 24270592
Change-Id: I00d0f75edaecaa85042b136b0d830b5fbb3a0a73
|
|
Bug: 24506966
Change-Id: Ibc1d334fc18235c3d5971364d7024db61c590c46
|
|
Bug: 24134038
Change-Id: I30b283a6b67d7e64b58138762079c4bceb8fc64f
|
|
ub-contactsdialer-a-dev
|
|
Bug: 19850584
Change-Id: Ic2faade79bebfc352c3f492c4cb7679090022e63
|
|
Remove custom visibility tracking.
Bug:24294419
Change-Id: I2ef53549e7d8c07e92319bc57c4aebd05edb8ea6
|
|
Check to make sure the activity is still visible before doing anything.
Bug:24373052
Change-Id: I35a05227f02c117b29b5a29af9dfc54c00ba3616
|
|
ub-contactsdialer-a-dev
|
|
messages." into ub-contactsdialer-a-dev
|
|
Bug: 24275589
Change-Id: I3810a04da0c7f48fc875c3456ddb36e3761530c0
|
|
ub-contactsdialer-a-dev
|
|
Make sure that all invocations of TelecomManager methods that
could possibly require a permission are protected by a permission
check.
Some of these are overcautious - for example, the UI should never
show the option to return to a call (READ_PHONE_STATE) if we didn't
detect an active call (READ_PHONE_STATE) in the first place, so
it is not strictly necessary to protect against the former. But not
crashing is the most preferable of all options.
Bug: 20266292
Change-Id: Id91dd16e34320a5e607f91dbce9a4296025eeaaf
|
|
Bug: 24272126, 24273593
Change-Id: I79f3ffbc745a914a11f9a61e5f06bb87be9d54de
|
|
|
|
Change-Id: I1f90c31c022cb0c86d2c3e32e825744d13c5ba3c
|
|
into ub-contactsdialer-a-dev
|
|
Bug: 24273004
Change-Id: Iab9ec3a12f9850bc100a78529b39559ed85256db
|
|
Make sure that stuff is cached and used properly
Change-Id: I57152d60077620163f4516205761c052f991f906
|
|
|
|
ub-contactsdialer-a-dev
|
|
number." into ub-contactsdialer-a-dev
|
|
Bug: 24134609
Change-Id: I57db367f77a7e4e901f10ea419cc5214524b02c1
|
|
ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
Change-Id: Ib506072a22e9ac84ff866c0afee3fb22c8def640
|
|
Returns invalid status instead of throwing exception.
Bug: 24177581
Change-Id: I6b731ab023a0cd0f50db2e3468bfccdebce6e488
|
|
ub-contactsdialer-a-dev
|