Age | Commit message (Collapse) | Author |
|
In portrait mode, resize the listview to fit above the dialpad,
so that accessibility services can correctly traverse the
view hierarchy.
Bug: 20172384
Change-Id: I35fb49be7bea5d13d951c4d954ddaf9d8d12780e
|
|
ScaleIn animation will not trigger if FAB is already visible, so if
we don't scaleOut, set the visibility of the FAB to GONE.
Bug: 21903907
Change-Id: I25ef78ca4e042665d62c40b791d7217310515597
|
|
Change-Id: I132a119238c8de7249a4944e6dda472b3851637e
|
|
We don't have access to the call log without the phone
permission, so disable the following functionality:
1) Call log display
2) Show call history overflow menu option
3) Last number dialed functionality
Bug: 20266292
Change-Id: I2f1d4b8b5f747d2fa04c3a9c291f9cf5147646b7
|
|
Conditionally disable the following features if the required
permissions are not available:
1) Display of all contacts
2) Display of speed dial
3) Caller ID in call log
4) Import/export contacts
5) Conversion of People.CONTENT_ITEM_TYPE and Phones.CONTENT_ITEM_TYPE
into a phone number (via DIAL intent)
6) UndemoteOutgoingCallReceiver
7) Contact Search
8) Contact lookup in call detail activity
9) Nearby places search
Bug: 20266292
Change-Id: I6d26902acb0eac407ae7bc18c11aa6ec57299506
|
|
Fix NPEs encountered during monkey tests
Bug: 21167534
Change-Id: I98b6f675adfd233d3583c363f7daeca1bc14d8b7
|
|
|
|
Bug:21120753
Change-Id: I2e82e4a8e7b8226a2d74753d37ff36d1d3ab367e
|
|
+ Rename CallIntentUtils.java to IntentUtil.java.
+ Consolidate various intent creation methods to new file, and update
referenes throughout the application.
Bug: 20433758
Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
|
|
+ Change the icon/behavior depending on the tab position.
+ Move current tab position logic from DialtactsActivity into the
lists fragment.
- Delete unused method, shift some helpers around.
Bug: 19366434
Change-Id: I6da767300907b3afd006248afb882bebde7bdfe6
|
|
Bug: 20348183
Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
|
|
Bug: 20223485
Change-Id: Iaa8f140746d1266febfcacf0f007ef2b4ebba968
|
|
Bug: 20224972
Change-Id: If7f1bde0229044f60bc889b380bc3e49e043e3ff
|
|
+ Add a URI for smart dial database updates, and notify this URI
with the content resolver after finishing an update.
+ Add a content observer to the SmartDialCursorLoader, to force a
reload of its contents when notified.
Bug: 19372539
Change-Id: I963d0d0fcb519e672f580ea8d33dc80d0c3f7799
|
|
These are now exposed as shortcuts in the search fragment.
Bug: 19372539
Change-Id: I526570cf8326dbfac1770c0f3c06b72ee1166cc8
|
|
|
|
CallUtil relies on the a priviliged intent that should only
be used by system apps. Therefore, it shouldn't be used by an
unbundled Contacts app.
I'm leaving one (isVideoEnabled) method from CallUtil inside
ContactsCommon. This way, when the changes that Tyler made
inside m-wireless-telephony-shamu-dev (b/19062133) get
merged back into master both ContactsCommon and Dialer
will be updated.
Bug: 18777272
Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
|
|
Add the DialpadFragment dynamically instead of everything at
startup. Once added, it is then shown/hidden instead of removed
for performance reasons.
Reduces startup time on a N5 from 603ms to 440ms.
Bug: 18431193
Change-Id: I0482bd8277896ed8a6956fc03b6afaf44b442eb3
|
|
Bug: 18431193
Change-Id: I92db4ae61405d8d8445b72e7ac0daa0794af8335
|
|
Before dialing voicemail when a default SIM is set, Dialer checks first if it
has a valid voicemail number. However, the previous code was checking the
voicemail number of the first SIM as opposed to the default SIM. This
change corrects the logic.
Bug: 18938231
Change-Id: Ia83aa44bc773e99aabbe7474439d22eb1c4e6fd9
|
|
The case handled here is when a user is in the Dialer app while there is
a call in progress and then the call ends, the Dialpad should revert to
its "normal" mode, i.e. digits. The previous approach, using
PhoneStateListener, was safe for single SIM phones, but no longer works
on Multi-SIM phones because a PhoneStateListener only listens to state
changes from a single subscription (e.g. SIM). A more robust way of
knowing when a call hass ended is to receive a
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcast.
Bug: 18269410
Change-Id: I9b0578d4281bc75d0f804dc695f4bd1a9c02f2cd
|
|
Since user needs to select a subscription before Dialer can check whether a
voicemail number is set up for a certain subscription, go directly to
calling voicemail when the user dials '1' on a MSIM phone where 'Ask
first' is set.
Bug:18233678
Change-Id: I10dd56c14bfb98e4f8410e2de400da44e328682f
|
|
There is no reason to do the costly ToneGenerator initialization
inside onResume, which gets called during the Dialer -> InCallUI
transition. Move it to onStart/onStop so it only happens when Dialer
is actually in the background.
Measurement of time taken for InCallActivity start -> onResumed, 10 runs
Before: Average 541.9ms SD: 152.4ms
After: Average 350.5ms SD: 81.1ms
Bug: 18373617
Change-Id: I192e2bcc9fd4b7d423d804f333d8d32bff3f58c1
|
|
Expose the dialpad's ILD (international / long distance) fields to be
populated by the dialer.
Bug: 13334252
Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
|
|
Bring up a dialog if no default subscription account is set by the
user when handling ADN queries.
Bug: 17917937
Change-Id: Icd6a6dc2843463ba68d281a24e00fdba1880adf4
|
|
|
|
Remove dependencies on old analytics code.
Initialize analytics inside DialerApplication.
Improving analytics CL #4/4
Bug: 18039620
Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
|
|
Also remove some unnecessary strings
Bug: 17647791
Change-Id: I0e5797b3aad35dd37607fde944c1329fbeffbe88
|
|
Also renamed dialerbind package
Analytics CL #2/5
Bug: 18039620
Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
|
|
A voicemail call log entry is saved with the number of the voicemail
that was called. In the multi-sim case, however, we don't want to call
back to the voicemail number of the original call because it might be
the number of a different phone account.
Bug: 17925501
Change-Id: I528c4039cc227608e040ae71b6b10488376fb357
|
|
|
|
This bug was happening because in onHiddenChanged, the dialpad button
was being made to be shown. Now, only reveal the fab at that point if
the dialpad chooser is not visible.
There is some slight quirk... I would have thought that checking
!mDialpadChooser.isShown() should have been sufficient, but it
returns false at that point. The isDialpadChooserVisible check
works fine.
Bug: 17609779
Change-Id: I11eb3dc81a2849874202a3ea06e40c097b50ac9a
|
|
Bug: 17611750
Change-Id: Ica20f1bd060e30280f3f4540ac03db99ec817308
|
|
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.
Bug: 17364651
Change-Id: I44d6d6546cac53232e4e2be0ebe0391d02411309
|
|
When launching directly into the dialpad from a dial intent, the
FAB wasn't getting shown sometimes due to animation being skipped.
Make sure to force it to appear regardless of whether animation is
required.
Bug: 17443578
Change-Id: Ic53628b9792038cda0e3e447e5268e8e6fd22190
|
|
Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}.
Bug:17398074
Change-Id: I77dfa539646b9c5ae5dca220bbc906048a17b383
|
|
|
|
+ Use scaleIn/scaleOut for FABs in the Dialer application.
+ Add assets for green fab.
+ Update dialpad fragment, both the Java and layouts, to have their
own FAB containers and FABs.
+ Change DialpadSlidingLinearLayout into
DialpadSlidingRelativeLayout.
- Removed or relocated dial some FAB handling, visibility, and
translation functions. Now that the FABs in the dialpad fragment
and DialtactsActivity are distinct, the logic can be scoped more
precisely to a particular fragment/view.
Bug: 16399233
Change-Id: I86f9f0053dc3c50fe0d5046389632af7ddff9f67
|
|
Bug:17360566
Change-Id: I20f3b0843bc8766ea1ded91b30c2662ea08cf7df
|
|
PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both
Bug: 16960458
Change-Id: I6d1939175c0292641f6ece0b630db8a864871d7e
|
|
Bug: 17146511
Change-Id: I101b9839a0626dea8ba89d82e3487f8c4654723d
|
|
Bug: 16327484
Change-Id: I1331cc2ac865972ce9bd096fda9f168e73a36d9f
|
|
|
|
Dialer's Fragments now implement AnalyticsFragment.
All Fragments now have access to sendHitEvent, which is a no op in
AOSP Dialer.
Change-Id: Ife6ab7d5369a1c96caaedbe1c59e6d07a0adae87
|
|
Forgot to upload this change to 513750 after fixing.
Bug: 15697565
Change-Id: I58d55d0a1844dffed3de31ab61a120323e8a56d7
|
|
When there are no digits, the menu overflow icon should be invisible and
all options disabled. Fade in when a digit is typed and fade out when
there are no longer any digits.
Bug: 15697565
Change-Id: I86540e0b2e456b18686e19ae4a0ab4f751407cfc
|
|
One-time select will no longer be available within the dialer app so the
fragment and menu item have been removed.
Bug: 15473965
Change-Id: I13410b328f5b5ce887b8f3a9ba2c734d58008c56
|
|
Change-Id: Ibe6900a0560611346d4ec8e109349b0c82c8a463
|
|
Change-Id: I866e9d4f629a2b23acb3d3d3f2baeb0a674522f7
|
|
Bug: 15672803
Change-Id: I46e448fe93a9c5b4ae013e8b2fd6f0ce89b94e69
|
|
Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.
Bug: 15473965
Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
|
|
Bug: 15847101
Change-Id: Ifa0ff4130e9cb48eb5a894fa8087dae77359d59f
|
|
Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.
Change-Id: I86747a58b196209a4543448ab939236eace7c52a
|
|
This reverts commit 9598b51d20cb27acb8dfd47abf2accb612cddb3c.
Change-Id: I7c2d2b95740888af25b5b257572476b0f20900e3
|
|
Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.
Change-Id: I69ee95b20b9a6a7007288a754e12ea20763c3842
|
|
|
|
Fix Dialer tests and also wrap all startActivity calls that have
the potential to fail with a catch block for ActivityNotFoundException
Change-Id: I02ce4b985eeb0e3e607b8008a333e02168acd378
|
|
Incorporating API calls to TelephonyManager.getSubscriptions.
Added new SubscriptionManager class to wrap data about subscriptions for
the purpose of passing between Dialer and its fragments.
* This particular CL deals with the renaming of the menu strings and the
* passing of data between the Dialer and its fragments.
Bug: 15473965
Change-Id: Id52b925c618952bd77970c157fa63e665203b04c
|
|
Also handles passing sim card information set in dialer menu
to the dialpad fragment.
Bug: 15473965
Change-Id: I075bf727402ba315c035eb741c563aafe67d60f6
|
|
We disable options if there are no digits in the text field. The
PopUpMenu does not reflect this visually right now though. This
also fixes bad centering of the "dial to add call" text, because
now the text field will have equal left/right margins from the
edges of the screen..
Bug: 15453278
Change-Id: I6f4a7a597ed289fb1b59c9fcac261d151144b642
|
|
Use TelephonyManager#showCallScreen instead of referencing ITelephony
directly. This way TelephonyManager can accurately route the calls to
Telecomm instead.
Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
|
|
Bug: 14052383
Change-Id: I45e9ffc829664af0010eb99be453160bcab2ac3d
|
|
This is the first step in cleaning up the DialtactsActivity logic to
make it easier to transition between different states, and handle
the states in between (hopefully).
Originally, I thought to also block show/hide actions if there was
already a dialpad transition in progress, but in the end I did not
do this because it made the UI seem unresponsive.
- Delete custom predraw listener in DialpadFragment; it doesn't
appear to be used (?) and made the animation logic more confusing.
- Replace the fragment custom animations with our own animations,
which seem to perform better.
- Changed the animation xmls from objectAnimators to translates.
- Replaced isDialpadShowing with uses of mIsDialpadShown.
- Reorder show/hide logic. Now it is less parallel, but better
reflects the ordering/nature of fragment transactions.
- Reorder some methods to group them more logically.
- Pull out a helper method for updating the search fragment's
yTranslation.
- Pull out a helper method for updating the floating action bar.
- Delete predraw method in DialpadFragment; doesn't appear to be
used and caused.
Bug: 14900155
Change-Id: I768324b2293622ea43974f7f566eec9b11fb0d4e
|
|
This means that the touch feedback transition can continue to
propagate, even while we're switching the icons.
Change-Id: Ia0c4e7bb4556c84cabccbda5f4c5861e25e2928f
|
|
No longer do opacity transition on hide; slide out animation for
the Y translation will still apply.
Bug: 14471388
Change-Id: Ib1f900b248bd422600d318c82c666f8e94a349c8
|
|
Add contact is now included as an item on the overflow menu..
Bug: 14471388
Change-Id: I4078b6f2b653dca5e42fb6088659ca059046c85c
|
|
Bug: 14471388
Change-Id: I6f12ea8e472e54c4d5c8c4175166da48028116ac
|
|
Bug: 14471388
Change-Id: I7b8b59ffd49f3e5512798cd6d9e86f2f9d0417d6
|
|
Change-Id: Ia174eac37dbea09dde546f09784e8b3d6bf82258
|
|
Change-Id: Ifc0c2d9cbccc0e972a23edc045fef57c63c9723b
|
|
The overflow menu/add contact buttons should have their
visibility toggled based on whether or not the digits can be edited.
For InCallUI, since the digits are not editable, none of these
action buttons should ever show up.
Change-Id: I2ce982fb0e2f5993f291f00ec309d99b3ddddbe8
|
|
Initial work needed to make the dialpad shareable within Dialer
and InCallUI. This CL refactors the code that controls the appearance
of the dialpad into a new custom view called DialpadView.
The parent activity/fragment is still responsible for assigning listeners
and handling event callbacks from the DialpadView.
Change-Id: I11ab8159619413caf1c3d8fa16fff475b822633b
|
|
Change-Id: I49ae1763782529ad3ada03bb92b843b5608c3139
|
|
* Replace fake action bar at the bottom of the screen with a floating
action button which casts a shadow.
* Remove the now unused mDialpadOverflowMenu button in DialtactsActivity
* Modify dialpad layout to add a bottom row of buttons which provide
access to the add contact button and overflow menu
* Fix dialpad layout so the heights applied in XML are actually
respected - previously they were being ignored and each dialpad key
was being assigned the height of MATCH_PARENT
Bug: 13932988
Change-Id: I6e48c00c5ceeeffed142c3dd259e630d6daf8111
|
|
Initial changes to replace the fake actionbar affordances in Dialer
with an actual actionBar. This puts the dialer in an intermediate
hybrid state where we are now using the system actionbar for search,
but the searchview is not yet themed to look like our old search
bar, so this is definitely still WIP UI.
This CL retains the fake action bar at the bottom of the screen to
continue allowing quick access to call history while other changes
are underway, but replaces the searchview and the overflow menu
with framework provided actionbar functionality.
Other related changes:
* The searchview (in the top actionbar) is hidden when scrolling to
devote the entire screen area to the speeddial list
https://folio.googleplex.com/phone/L/0407/#/03.png
* Functionality provided by the fake overflow menu has been moved to
the real actionbar overflow menu
* Various modifications to child fragments/listviews to take into
account the existence of an actionbar
* Cleaned up unneeded styles and related-dead code
Bug: 13933082
Change-Id: Ifd855bd67af7bf2d2a403ef9556ade54e8d57ee6
|
|
Change-Id: I6a48467f047d8e845d484fccb751d3a5de52066c
|
|
Change-Id: I10e4226c5ec5b24ba6ee0d02b88327f0624955c6
|
|
Bug: 13630676
Change-Id: I3b68d5f21a4b77eab5b5493dcde670ad08cdc372
|
|
correct options menu items.
b/13441681
Change-Id: If4f6970a4dd92e20ab1c04eae5228a0475bf445c
|
|
The dialpad currently simply disappears from view immediately when
dismissed by tapping in the space above it. instead, it should
slide downwards.
Change-Id: Idba1b8c6ccf40a6b12ea611d880e9f86183e6478
|
|
http://b/13189041
Change-Id: I91028c8fdee31c1f76610573a4396eb979c30170
|
|
BUG: 8310727
Change-Id: Icf9e103d2d6f5b5e7acb8c7f16244f0cebe9ffaa
|
|
|
|
DialpadFragment currently instantiates an instance of ContactsPrefs
that is not needed.
Change-Id: I8207f8d55c578a748c5edab1f722b18b5d38b48b
|
|
|
|
Statically initialize prefix logic to use NANP matching for NANP tests
Bug: 10346442
Change-Id: Ia268de8a9bc5ad8dae70fe6934823a3c289f0bae
|
|
* Empty geocode is now " " instead of "-" per UX request
* DialpadFragment now throws IllegalArgumentException instead
of Log.wtf so that it can be tested
* Added contact id column to contactsprovider query
* Modified PhoneNumberDisplayHelper to take an instance of
PhoneNumberUtilsWrapper so that it can be mocked out
Fix label-related tests that were failing due to a change in how we
treat empty labels
Bug: 9111164
Change-Id: If2244586b9d09fa2839fa0ddfc9f369f9dc66e51
|
|
Remove private reference to SystemProperties, needed for Verizon
requirements (per team email discussion)
Bug: 6948882
Change-Id: Idc826e4a93609799e3c741d36fca5124abbc5bb9
|
|
|
|
Only applies if the user has not input any digits yet.
Bug: 11648799
Change-Id: I28a57fcd7eae0faaf5e234e9ec7531140903e2f5
|
|
Bug: 11474252
Change-Id: Id5a64aa72790bddef9e8fd2d4661635bd2eb6f44
|
|
Each dialpad key needs to manually have the "focusable" flag set so that
hovering and lift-to-type works properly.
The edittext containing digits needs to receive focus at least once in
order for it to report sendAccessibilityEventTypeViewTextChanged type events.
In JB-MR2, the ViewPager would automatically give focus to the dialpad
fragment when it was swiped into view, but now we have to manually give it
focus ourselves when the dialpad fragment is swiped into view.
Bug: 11067558
Change-Id: I56a1891b12d5ec7771a37e1f7c361242ebfe028d
|
|
Use a set of views, instead of a simple counter to track whether
or not tones should still be played.
Bug: 10906908
Change-Id: I6bdb08c253f17d9b0aa867b5cbdf4770bc52510b
|
|
Bug: 11006188
Change-Id: I67861038510591384daf4e2c5da06af3dda5439c
|
|
Change-Id: Ib5c98b51c4f3113e434208b83310754b825a197f
|
|
|
|
|
|
Centralize dialpad keys
Change voicemail icon
Bug: 10445734
Bug: 10510368
Change-Id: I1e9dc98c9aed07c26bdfe176f4a4c94c65fc6d85
|
|
Bug: 10314426
Change-Id: Ieecb5cc64ce93fb8457ed0cab0d054b5a1b1586c
|
|
* Add a new class DialerPhoneNumberListAdapter, which both
RegularSearchListADapter and SmartDialNumberListAdapter extend.
DialerPhoneNumberListAdapter allows the addition of pre-defined call
shortcuts at the end of the phone number list that can be toggled
on or off.
* For the SmartDialSearchFragment, the only shortcut that is available is
always the Add number to contacts shortcut.
* For the RegularSearchFragment, if the user enters a string that contains
all dialable numbers, it is treated as a phone number and the call directly
and add number to contacts shortcuts are enabled. Otherwise, it is treated
as a name, and only the add contact with a new name shortcut is enabled.
* Add a intent that allows the user to directly create a new contact
that has the name field pre-populated. This intent is used if the user
enters input that looks like a name in the search view.
Bug: 10339630
Change-Id: I2ae757ce505d85a8780d28d89e09fb7084c773b1
|