History log of /packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a1a9601840e50e18ff8ca4be9b888e592287577b 11-Sep-2012 Dianne Hackborn <hackbod@google.com> Don't crash phone app when running as non-primary user.

Rename PhoneApp to PhoneGlobals. Add new PhoneApp that only
instantiates PhoneGlobals when running as the primary user. Add
check in PhoneGlobals.getInstance() to immediately throw if called
when there are no globals for that process. Add new
PhoneGlobals.getInstanceIfPrimary() that doesn't throw;
OtaStartupReceiver uses to abort early if receiving a BOOT_COMPLETED
for a non-primary user.

All of the other files here are just due to the rename of PhoneApp
to PhoneGlobals.

Change-Id: Ic3999d956198ac836cb6a07fa3c77f36c1754ea3
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
b1e973cdbfda00a4629ee0d66ff09b40caa3988d 06-Apr-2012 Daisuke Miyakawa <dmiyakawa@google.com> Correctly initialize "clicked button" field

Right now back button will ask telephony to save something when
playing with some of settings in "Call forwarding" setting, while
ideally the it should behave as "cancel". Strangely, after pressing
"cancel" button once, the behavior will be gone.

It happens because CallForwardEditPreference fails to initialize
mButtonClicked variable when appropriate.

CallForwardEditPreference's mButtonClick has the same capability of
EditPhoneNumberPrefere's mButtonClick. The former doesn't have
appropriate initialization code while the latter does.

This change just has the same initialization code in
CallerForwardEditPreference. To avoid unnecessary side effect,
this doesn't modify EditPhoneNumberPreference for now.

TESTED (Need GSM phone):
- launch "Call fowarding" settings and click the first config
("Always forward"), press back twice, dismissing the dialog
- click "Cancel" after choosing the first setting
- click "Enable"
- click "Disable"
- click somewhere outside dialog, which should initiate "cancel"
behavior.

Bug: 5914560
Change-Id: I806524aabd5269da30c3a8fb358e9b87481b5c6d
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
77c123c48996dbecf307b4e75a05b0d4a5561563 20-Dec-2011 Conley Owens <cco3@android.com> Make some fields of intrnl classes package-private

This makes a little more sense than `private` since they are accessed
outside of the class that they are defined in.

In addition, this fixes errors created by proguard when building with
OpenJDK.

Change-Id: Ib0dd2509f15da5ea3b27fe194b8cd8e9e8d8a776
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
546a00dd3bb35abfcd44c696cd810073a084b43c 22-May-2010 Wink Saville <wink@google.com> Change most uses of PhoneFactory to use PhoneApp.getPhone.

The only entities using PhoneFactory are PhoneApp, NetworkQuerySerivce,
BluetoothHeadsetSerive and EmergencyCallbackModeService.

Change-Id: Idb961f2ccfabc1ac1ae90496bb23cfdd9d0febcc
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
8ff3733d62dc6072a54db0e61f17e20f2026018c 13-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I99ea7c513922d47e8ec78beaa19cc3f2a19c8d7e
10ce310e02f49e5c78d747693dd36b4239594446 29-Mar-2010 Naveen Kalla <nkalla@codeaurora.org> Display message when operation fails since FDN is enabled

The terminal disallows Supplementary Services for numbers which are not in the
Fixed Dialing Number (FDN) list when FDN service is enabled. FDN_CHECK_FAILURE
error is sent by RIL when this happens. Display a message to inform the user.

Change-Id: I5663af2f0aae4cac3864da33e06f58a5bbf4fd23
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
713b4f2991fac6e7131b0c665cea512680a9d66b 23-Oct-2009 Virgil King <virgilking@google.com> Better handling of missing call forwarding numbers

- If the forwarding number in a response is empty, show "Number is unavailable" instead of nothing
- Always update the summary text after receiving a response instead of just after success responses

Bug: 1553123, 2228626
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
04c674f85d84f564b78c497c171284a8b94bd033 27-Oct-2009 Virgil King <virgilking@google.com> Allow enabling forwarding all calls after disabling it

Call forwarding settings detects no-op forwarding number changes by comparing the new number to the one in the stored CallForwardInfo. It needs to also check that the stored CallForwardInfo is active (status == 1) -- when it's inactive the change is a meaningful one from disabled to enabled.

Bug: 2216586, 2228626
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
e73ae14723961327d3ccd91eb8570e6eb86771f5 30-Oct-2009 Virgil King <virgilking@google.com> Show an alert after disabling call forwarding fails silently

On some carriers attempting to disable conditional call forwarding doesn't give an error but the forwarding info remains the same. This change detects that case and explains it in an alert.

Bug: 2186744
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
762f2724aa5a8f69c87ae2f3dd93dd8a6d92927e 23-Oct-2009 Virgil King <virgilking@google.com> Better handling of missing call forwarding numbers

- If the forwarding number in a response is empty, show "Number is unavailable" instead of nothing
- Always update the summary text after receiving a response instead of just after success responses

Bug: 1553123
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
d77dd681d152c76fdcbb124e8ceb597e719709b8 27-Oct-2009 Virgil King <virgilking@google.com> Allow enabling forwarding all calls after disabling it

Call forwarding settings detects no-op forwarding number changes by comparing the new number to the one in the stored CallForwardInfo. It needs to also check that the stored CallForwardInfo is active (status == 1) -- when it's inactive the change is a meaningful one from disabled to enabled.

Bug: 2216586
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
997328e7b332f6432fdaa424c0478fe520174eaf 11-Aug-2009 Li Zhe <jqc837@motorola.com> Fix callforward summary display

The issue this change fixes is:
When error is encountered during call forward, the summary displayed is not sync.
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java
cd0189299f484dcbd51400b994daf585923e9e8d 30-Jul-2009 David Krause <david.krause@motorola.com> dynamic callsetting for umts, cdma and world phone
/packages/apps/Phone/src/com/android/phone/CallForwardEditPreference.java