Age | Commit message (Collapse) | Author |
|
Restores code deleted in ag/643285 because the code was used on pre-M.
Bug:25629359
Change-Id: Ief60d301fd8d3c018ce03388c56264a2db727224
|
|
requestPermissions is not available to the Fragments class and
checkSelfPermission is not available to the Context class in API < 23.
Use other backwards compatible methods to implement the behavior.
Bug: 25776171
Change-Id: I6cb221236f28b319f618d2cf32a9f503a6f4e6e0
|
|
Bug: 22174668
Change-Id: I6d23fb76c6b67093ee1193fba45bd20baa50a68f
|
|
Update the following fragments to handle denied permissions
-Contacts Search (Contacts and Location)
-Dialpad Search (Phone)
Tweak and remove some of the onTouch listener logic as they are
no longer valid with the new UI. Instead of intercepting the touches
when the query is empty and returning to the main dialer activity,
allow the fragments to remain on screen if the permission request
UI is showing.
Modify signature of onEmptyViewActionButtonClicked to remove unused
permissions parameter.
Bug: 22174668
Change-Id: I96d00f2ab45df936dca602ac025f723638ac02c4
|
|
Bug: 22174668
Change-Id: If6757ff66c411228cfa22d70caaf6cc532fd2b31
|
|
First pass at adding functionality to Dialer to prompt for
permissions. Also updates the UI for various fragments when
there are no contacts/calls available to unify the UI with the
new UI for the permissions denied state.
* Refactor existing empty view functionality and encapsulate
into a new custom view class
* Add action buttons to existing empty views in various fragments
-> Speed Dial (Add to favorites) - scrolls to all contacts fragment
-> Recents (Make a call) - shows dialpad
-> All contacts (Add a contact) - Launches add contact dialog
* Add functionality to various fragments to detect if permissions
are denied, and request the permission when the action button
is pressed.
-> Speed Dial (request for contacts permission)
-> Call Log (request for phone permission)
-> All contacts (request for contacts permission)
* Remove now unneeded EmptyContactsListAdapter
Remaining issues (to be addressed in a follow up CL to avoid bloating
this CL):
UI alignment tweaks for empty view to match mocks
If the read contacts permission is requested from the
speed dial screen, the all contacts fragment doesn't update with
the list of contacts until restarted.
Bug: 22174668
Change-Id: I70721914bb9b32910d746de288ccac049749e42e
|
|
Bug: 21755796
Change-Id: I81a337db0728455ffa72b3067bc5d2260dd03db8
|
|
Bug: 21687649
Change-Id: I212243932c1be5306d97db9020874cadf5a55058
|
|
... instead of before. Mildly disorienting as a loading experience.
Bug: 19937778
Change-Id: Id1c7d48f3379350030aaed4f4a50320d22f970f6
|
|
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
|
|
Whenever using QuickContacts in Dialer, make sure to
prioritize the phone mimetype.
Bug: 18391003
Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
|
|
Bug: 16324722
Change-Id: I14a26aefbe641412336c4c7228e51cd167d22833
|
|
Also, some slight renaming for consistency across dialer.
Bug: 15513399
Change-Id: Ia66084630fc9473dc24303aab0d777e1bde1b41a
|
|
- Add new assets for empty lists, delete old no favorites banner.
- Adapt phone_no_favorites.xml into generic container shown when
a list is empty.
- Add helper to DialerUtils to configure empty list view with
a provided image and message.
- Configure empty list view in relevant fragments.
- Some text styling/margin/padding to get things to spec. A
minimum height is used on the message so that the icons and text
will be laid out in a consistent manner.
Bug: 15513399
Change-Id: I52337a4544065a991d3b8084d96b01516a458c42
|
|
Do not adjust the bounds for the search fragment.
Do adjust the bounds for the contacts fragment.
Also, now we hide the scrollbar on the search fragments.
Bug: 15517457
Change-Id: I0e5dedfcfdd1da359358671b57dd1132e66d6861
|
|
Bug: 15164687
Change-Id: I142e8900b471bfb05cf8dad1ed8b0d8d0e4efae6
|
|
Bug: 13956531
Change-Id: Iaf6d28dba9d6ddc222eb58ebca7d99c021703305
|
|
Disable the quick contacts badge in AllContactsFragment and just
use the regular photo ImageView so that contact photos can be made
round and have the overlay removed without affecting other apps
that use the QuickContactsBadge (e.g. Gmail).
Also tag the view with the contactUri so that it can be used to
bring up the QuickContactActivity when clicked.
Bug: 13747208
Change-Id: I02288fd64d133d75c7b5e635d9b450f0b2cf7673
|
|
Change-Id: I60177bb1bc11801b4beaadaca8da598a86c19302
|
|
- Change AllContactsFragment to extend ContactEntryListFragment.
- Replace PhoneNumberListAdapter with DefaultcontactListAdapter,
and filter only for contacts with phone numbers.
- Handle item clicks to open the ContactListItemView's QuickContact.
Bug: 13956531
Change-Id: If3ceb5c3a988b0c701387eca22a3ae5de055c66a
|
|
Bug: 14136602
Change-Id: I49796b7a545c6c650680cb0ee6152a93381b2736
|
|
Bug: 10244050
Change-Id: I9c815aecc3fe9f0db239129749fb5be3c73f51be
|