History log of /packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d0ce6136feb2037008550c3d43a78871a2882ddc 17-Jun-2016 Ta-wei Yen <twyen@google.com> Fix N checking

Cherry pick to reflect code changes. The dialer in system image
is using //vendor/unbundled_google/packages/PrebuiltGoogleDialer

This was missed because it was not using ContactCommon compat library but
directly using Build.VERSION.CODENAME.

No other instances of Build.VERSION.CODENAME are found.

Bug: 29420691
Change-Id: Ia01a0aa1d95014da4abc2873a67cc0905fe8eb5f
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
b5a6f7264e70052887a69b98a8fb755a9769d125 14-Apr-2016 Brandon Maxwell <maxwelb@google.com> Adding migrate promo to blocked numbers setting ui

This Migrate promo is shown so users have a way to migrate to the
framework blocking solution, directly from the settings. Previously,
users would have had to block a number to be presented with the
migration dialog.

UI: http://screen/GS8TdfKrnVv
Button Pressed: http://screen/ovd6NgVmOqq

Change-Id: I9c04b8afdf7c5681e09c02c7a4f6013c94b396d9
Fixes:27703938
(cherry picked from commit 3db9bde34452552973acefad5535a2273e9968fe)
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
3ec5d25470379acbbf3bb2bcc83e5e897a22a59d 18-Mar-2016 Brandon Maxwell <maxwelb@google.com> Only allow primary users to block numbers

+ By design, only the primary user has the capability to block
numbers.
+ This CL ensures that secondary users don't see the option to block
numbers in the call log or call details.

Change-Id: I576925510cfbef417c16910218014d9f7b7dd2a0
Fixes: 27366206
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
60d449f45f52c22d7f7e669760457b717352f8de 14-Mar-2016 Brandon Maxwell <maxwelb@google.com> Updating settings to use system blocked numbers ui

+ After the user has migrated to the framework number blocking
solution, the 'Call blocking' setting needs to take them to the
system ui. The branching logic to determine which UI to open is added
in this CL.

Bug: 26664600
Change-Id: I2574f0665d3f0d3d92230e0210c69d1d10b60228
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
8a95000248c75c2d4534cf6e18c42b30da54f9e5 20-Feb-2016 Wenyi Wang <wenyiw@google.com> Revert "Move AppCompatPreferenceActivity to ContactsCommon"

This reverts commit 16be8a259c6d4c0484160d900f411b436ba10ef5.

Change-Id: Iaf0ea70a40198c483f33894cfc0b75a4cd916afb
(cherry picked from commit 0fba743c4eb9ff0832e03156c6a09fa7a15a8a40)
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
16be8a259c6d4c0484160d900f411b436ba10ef5 25-Jan-2016 Wenyi Wang <wenyiw@google.com> Move AppCompatPreferenceActivity to ContactsCommon

Bug: 26469731
Change-Id: Idff6aabfaa07b31160ddad87a2f51ac87ed20345
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
fdb93b7079d522d688ec0ebe58c92d45aee48786 22-Dec-2015 Nancy Chen <nancychen@google.com> Make TelecomManager APIs compatible with Lollipop. (1/3)

+ Add methods to TelecomManagerCompat
- Move TelecomManagerCompat to ContactsCommon because it is called
within ContactsCommon
- Move TestTelecomCallLogCache to the right package so tests pass

Bug: 25776171

Change-Id: I1963959292d8038ab505488d831afd06e6fef6d0
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
f8c6db4677db6450d02d9e094ded3d0a0e986987 15-Dec-2015 Nancy Chen <nancychen@google.com> Fix DialerSettingsActivity so it does not crash pre-M.

UserManager.isSystemUser() is not available pre-M, so we need to copy
over the logic.

Bug: 25776171
Change-Id: I8e7c8e7215a8b55009283ecb137cc54443e61ab8
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
235134a4908425ec40df4c0e98436c7f67008a1c 07-Dec-2015 Tony Mak <tonymak@google.com> Merge "Allow non-primary users to configure calling accounts" into ub-contactsdialer-b-dev
95d594a27a71121a633b18e347821c87346ff006 01-Dec-2015 Tony Mak <tonymak@google.com> Allow non-primary users to configure calling accounts

Given that we allow every users to have their own phone accounts, it
doesn't make sense we only allow primary user to configure its default
outgoing account.

This change allows other user to configure default outgoing account as
well.

Bug: 25941865

Change-Id: Iad7c93366c77dfafc06ae8a7bb4fed3cb7eb1c79
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
dc1806ee3b840a16ec28fb9c4bea1ae848bd1939 26-Nov-2015 Brandon Maxwell <maxwelb@google.com> Compat changes for Dialer Settings

These settings were removed from the Settings screens
since TelecomManager won't respond to the corresponding intents that
would be fired off.

Bug: 25776171
Change-Id: I425832245744239d636f227178479fbb5aa49092
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
d909e728c6778723f6dc04d49d30e0f6e38f7e74 25-Nov-2015 Brandon Maxwell <maxwelb@google.com> Compatibility method to check system settings write permission

SettingsCompat.System.canWrite returns true for versions older than M
because prior to M, permissions had to be granted prior to installing
the app. It's only in M and above that we check for permissions at
runtime.

Bug:25776171
Change-Id: Iee2250248223e7237f8eaa506b277e301e289cc0
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
91cd89c9ca486624850cdb0aaec86882a30c18a7 29-Oct-2015 Andrew Lee <anwlee@google.com> Rename activity for blocked numbers settings.

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
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
3663afe2e1afb109e117e5b707e8ed9547ed2103 04-Oct-2015 Andrew Lee <anwlee@google.com> Combine blocked number fragments into Activity.

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
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
193cfc5458c5c2bb1f9800c98f179292732aa0a8 25-Sep-2015 Jay Shrauner <shrauner@google.com> Use TransactionSafeActivity

Remove custom visibility tracking.

Bug:24294419
Change-Id: I2ef53549e7d8c07e92319bc57c4aebd05edb8ea6
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
c2fbff362cff30cf547248240e4e4cf2ae8a3c7d 24-Sep-2015 Jay Shrauner <shrauner@google.com> Fix IllegalStateException in onOptionsItemSelected

Check to make sure the activity is still visible before doing anything.

Bug:24373052
Change-Id: I35a05227f02c117b29b5a29af9dfc54c00ba3616
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
6fb201a4f048e1a5763465a2e31f3a93e649fff7 16-Sep-2015 Anne Rong <annerong@google.com> Build management screen for managing blocked numbers.

Currently uses a simple dialog for adding numbers.
Search function to be added in separate CL.

Bug: 23350280
Change-Id: Ib25b9e0d72e95853af88c446b2143341f6d077cb
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
44898ad0aa2a12788fc9cfc6b78fa7adc9d90f23 13-Aug-2015 Nancy Chen <nancychen@google.com> Convert Dialer activities to AppCompat to support Snackbar.

In order to add an "Undo" snackbar for voicemail, dialer activities need
to inherit from the AppCompat library. Add the relevant libraries to the
make files and change the styles to be compatible.

Bug: 22460745
Change-Id: Ia3cc4002cbd943da818fec67f888d085d53a3b25
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
26b9e56b19472a2608e3f3feefd647ca63306e33 07-Aug-2015 Yorke Lee <yorkelee@google.com> Correctly check for ability to write to system settings

Use Settings.System.canWrite instead of direct check of AppOp
using AppOpsManager

Bug: 22987149
Change-Id: I2484d531cce988af6e054d4c900efa277f7e622f
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
5f6c901ad062cd7d88db09b555e28ee354ca66c6 24-Jul-2015 Yorke Lee <yorkelee@google.com> Protect against lack of WRITE_SYSTEM_SETTINGS AppOp

Guard the following entry points with checks against the AppOp

1) Launch of SoundSettingsFragment
Fallback: Send to system sound settings instead

2) onResume of SoundSettingsFragment (this can happen if the AppOp
is toggled by the user in the background)
Fallback: Return to main Dialer settings instead

3) Toggling of various perferences (this can happen in monkey tests)
Fallback: Show toast, ignore settings chance

Bug: 22660372

Change-Id: Ief5d74166d35a9718ea664f378f6930e777f2923
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
730e21c99faa82e6624d8aaca1f2e8dc9cfb8040 08-May-2015 Andrew Lee <anwlee@google.com> Only show accessibility settings for primary user.

Bug: 19870705
Change-Id: I7d13ab65da9d69819d39b3871297d274140b2a23
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
b94249061098b35e9feb612cef8f36a988d20bde 18-Apr-2015 Yorke Lee <yorkelee@google.com> Use UserManager.isSystemUser API

Bug: 20348316
Change-Id: I066e6b93c63e09850ef2234dd5c724e44594aaf8
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
d819b66e3c1cd3072d38329257b8f15ddbe4a7da 10-Mar-2015 Andrew Lee <anwlee@google.com> Hide accessibility settings if none.

If TTY mode is not supported and the device is not configured to
support hearing aid compatibility, do not show the accessibility
settings header.

Bug: 19372734
Change-Id: Id10c49cfa99cbe1f22bb69dcd5a1245e54e18ec4
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
811641c94bd642cf3dfd735947ee4ef70d235a6f 27-Feb-2015 Andrew Lee <anwlee@google.com> Add Accessibility settings to top-level.

Followup CL will prevent this from showing if TTY Mode and HAC are
not supported.

Bug: 19372734
Change-Id: I8f1e93efab6447d2099d5eb6e734704d6632e299
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
bf6baa4a0b44166a9b336c1e7d29a69446c0ca8a 27-Feb-2015 Andrew Lee <anwlee@google.com> Merge "Convert GeneralSettings to SoundSettings."
e83576c5503596480d57ff9991df4ad99d26cfc4 26-Feb-2015 Andrew Lee <anwlee@google.com> Convert GeneralSettings to SoundSettings.

Rather than create a new fragment for "Sounds and vibration", reuse
the existing general settings fragment.

The other settings which used to reside general settings have been
moved into their own top-level settings fragments.

+ Rename layout file and fragment.
+ Tweak string names.
- Delete category heading; no longer necessary.

Bug: 19372734
Change-Id: I5690df7ecbd49da5d5af94889e6b68e053ce25ba
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
7113f0d42dc99a2f9fde271bc370d6da1cc39c10 26-Feb-2015 Andrew Lee <anwlee@google.com> Rename DisplayOptions to DisplayOptionsSettings.

I figured this would be a better naming pattern for the settings.

Bug: 19372734
Change-Id: I658b6e364bcdc6b41af2c41a98ecd84f5e64cadf
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
eb2097d840ac4e2f8709041cb7c9282697a309af 26-Feb-2015 Andrew Lee <anwlee@google.com> Merge "Add DisplayOptions PreferenceFragment."
dd9dc5ae60a991ab7e4203c4b539d1dd4811b59a 26-Feb-2015 Andrew Lee <anwlee@google.com> Add DisplayOptions PreferenceFragment.

- Remove display options from the general settings fragment.
+ Move display options into their own fragment, and add header in
the top-level Dialer settingss which points to them.

Bug: 19372734
Change-Id: I3452177ba5c31fd9e86dafbcf22eebd56c2bb091
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
99cd66a73d3ea95179020b930a6959efa957d62d 26-Feb-2015 Andrew Lee <anwlee@google.com> Remove custom Preference.Header layout.

This custom adapter was legacy from our implementation of Material
design, but we should use the system default styling now.

Bug: 19529041
Change-Id: Ie30e283bdc00895746c429a337cad19a95ac6b0f
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
f68494cf93de2a36a3696f4800d778cebc813484 14-Feb-2015 Andrew Lee <anwlee@google.com> Move QuickResponseSettings to top-level.

+ Add "Quick responses" header to DialerSettingsActivity.
- Delete code in GeneralSettingsFragment related to quick responses.
- Delete the RespondViaSms PreferenceScreen from the general settings
layout.
- Remove unused "other" label string.

Bug: 19372734
Change-Id: I5067da19b1eab5aa370e687556b368c7bd010e2c
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
97670b46b3958cec0d07cfc17133fdda313ddf3e 11-Nov-2014 Nancy Chen <nancychen@google.com> Remove summary/secondary text from settings.

Per settings design guildelines, we should not be using the second line
to describe the contents of a setting with subscreen navigation (this
second line is now used for just status). Remove these second lines from
the dialer settings UI.

Bug: 17446974
Change-Id: Idbeace64c088805a19a77b1438dd66a618387848
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
622ba6ca7d736435d7f3ec879cc2ef55e9ef0b94 31-Oct-2014 Brian Attwell <brianattwell@google.com> Merge "Use improved analytics in Dialer" into lmp-mr1-dev
beab3bbc2c977a48e3affc3e61cc2fdbb22c4ae2 27-Oct-2014 Brian Attwell <brianattwell@google.com> Use improved analytics in Dialer

Remove dependencies on old analytics code.
Initialize analytics inside DialerApplication.

Improving analytics CL #4/4

Bug: 18039620
Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
0104d9bbcb1c4294bbd10b595f5f78ddcdcc7e7e 28-Oct-2014 Andrew Lee <anwlee@google.com> Create call settings intent in DialerSettingsActivity.

- Remove helper method in DialtactsActivity.
+ Create intent in DialerSettingsActivity.

This is the only place the method is called; it seems that this code
to create the intent should live in DialerSettingsActivity instead
of DialtactsActivity.

Bug: 18114923
Change-Id: I129b716c2a247994647c123f1cbd945b7ef36778
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
f1621a2f2d43a28b9a98b6e75bc1318d7e0c19a8 24-Oct-2014 Andrew Lee <anwlee@google.com> Show phone account settings for multiple sims.

Bug: 18114923
Change-Id: I93559004bb4fe31b24685155a57424e24770c115
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
c311af1f33f9d408c7eee5a6eeda46f1d1b7265b 23-Oct-2014 Brian Attwell <brianattwell@google.com> Delete duplicated class

Also renamed dialerbind package

Analytics CL #2/5

Bug: 18039620
Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
495e70b7ae73100be2d5d2b356a810035b4f45f2 25-Sep-2014 Nancy Chen <nancychen@google.com> Update padding base settings for dialer

2. Adjusted the padding around the base call settings preference page to
match the settings on the sub preferences

Bug: 17529308
Change-Id: Iba1c6cfb4057cf56e8250abea25602aa2ce4eac8
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
e4ea104a18417115f35983bd4872bfe22a66bdfd 14-Aug-2014 Andrew Lee <anwlee@google.com> Add "general settings" settings menu in Dialer

+ Add new fragment/preference screen xml for general settings.
+ Some settings are moved from Telephony's call settings. Logic in
the general settings fragment is mostl taken from the
CallFeaturesSetting PreferenceActivity..
+ Some settings are contact display options which have been moved
into this menu.
+ Moved DefaultRingtonePreference from Telephony.

Bug: 16788935
Change-Id: I28677bfdcb2cb17bce4981c01b6c03d4effa0a7e
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
84c3780d1bb720aca5706ecaccfc58a4638db5ed 13-Aug-2014 Andrew Lee <anwlee@google.com> Disable call settings for secondary users.

Bug: 15847952
Change-Id: I50f4995a08c9c1feac097242aec97a375213759e
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
7fa029f77d97aaa7227d961354f9a2e32dd63a95 30-Jul-2014 Sai Cheemalapati <saicheems@google.com> Changing Activities to implement Analytics (1/2).

Dialer's Activities now implement AnalyticsActivity.
All Activities now have access to sendHitEvent, which is a no op in
AOSP Dialer.

Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
bbde565ac6005fec3b0c95fd6cf8feb9723ff02f 22-Jul-2014 Nancy Chen <nancychen@google.com> Update call settings to mocks

Increase padding and modify text spacing. See screenshot here
https://drive.google.com/a/google.com/file/d/0B0hheJjccUOjMHAycHN5Qy01MVk/view?usp=sharing

Bug: 15571286
Change-Id: Ieb3c9e0103bcf2bdfe236ba84d21897b4757faf1
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java
af6f195af0bb200d1bb06ad11dac476e8dff0073 15-Jul-2014 Yorke Lee <yorkelee@google.com> Make ContactPreferences use SharedPreferences instead of System settings (5/5)

* Move constants that originally lived in the framework into ContactsCommon
* Use SharedPreferences instead of System settings to persist preferences
* Use a SharedPreferenceListener to monitor changes instead of a content observer
on system settings
* Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that
it can be used by Dialer
* Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity
extend it
Bug: 16153186

Change-Id: I27befcc3b038038830f72092b55a6fc8a6f85674
/packages/apps/Dialer/src/com/android/dialer/settings/DialerSettingsActivity.java