summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-09Show child number in incoming call notification.android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r66android-6.0.1_r65android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r20android-6.0.1_r17android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r41marshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releaseTyler Gunn
Where a child number is present in the call extras, show it using the text "via 650-555-1212" in the second line of the incoming call notification. Bug: 24585039 Change-Id: Ic9827f8518778bf5e9c36235e2e1b6525aba4928
2015-10-19Fix bitmap leaks in InCallUImarshmallow-mr1-devYorke Lee
Fix the bitmap leaks in InCallUI that were a result of StatusBarNotifier instances being retained across calls. Bitmap -> StatusBarNotifier -> CallUpdateListenerMap -> CallList Bug: 25003292 Change-Id: I4f8695d7dfbc397b0fee0305a6f94e8d2e8e593f
2015-10-07Merge "Handle child number changes after the call starts." into mnc-dr-devmarshmallow-dr-devTyler Gunn
2015-10-06Handle child number changes after the call starts.Tyler Gunn
The child number display functionality assumed that the child number for a call would only bet set at the start of the call. This change removes that assumption and supports changes to the child number at any point during the call by adding a new listener to the InCall Call List. It appears there are some instances in reality where the child number can come in after the start of a call (delayed only slightly, but enough to prevent the number from showing up). Bug: 24585039 Change-Id: I23148e8c4265f1bc16ce563f2919e9b3eb71784f
2015-10-02Fix potential mismatched caller informationYorke Lee
This fixes a bug where caller information returned for a call waiting would be mistakenedly applied to an existing call by ensuring that the returned contact information is only assigned to the call that initiated the lookup. 1) Active call A is in progress 2) Incoming call B (call waiting) 3) Contact info lookup is initiated for call B 4) Call B is rejected 5) Contact info is returned 6) UI for call A is updated with the returned info Bug: 24591055 Change-Id: I41e0741d8bc01a2fe98d77cb080d1df455b1e5df
2015-09-26Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I0e942418513574bca4d302342c8ad1f676f448ca Auto-generated-cl: translation import
2015-09-24Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I9c71d5a72dd7ca0b0aec9e38fb19f3ed93a68695 Auto-generated-cl: translation import
2015-09-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I74f219bc7d15073c5f8e6d62885a9c0af03bc548 Auto-generated-cl: translation import
2015-09-22Merge "Ensure call subject is hidden if disabled for carrier." into mnc-dr-devAnthony Lee
2015-09-18Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Iad72299273a084ea96f5a8f67a40d26f1467aca7 Auto-generated-cl: translation import
2015-09-14Ensure call subject is hidden if disabled for carrier.Tyler Gunn
Even if the carrier config is set to disable call subjects for a carrier, the RIL will still send any incoming call subjects to the InCall UI. We cannot suppress this lower down as the RIL is using the same extra to report caller id presentation reasons. Bug: 22779583 Change-Id: Ic349408014a47e25d62100886ea59b73e4f76709
2015-09-13Merge "Display no-caller ID reason in InCallUI" into mnc-dr-devRoshan Pius
2015-09-10Display no-caller ID reason in InCallUIRoshan Pius
Changes to fetch the no-caller ID reason from callsubject extra in the call object to display in the InCall UI. The callsubject extra would be populated by the RIL to hold the non-caller ID reason in case of number presentation that is set to RESTRICTED/UNKOWN and hence we need to differentiate the contents of this extra in InCallUI. PS: We should ideally be creating a different extra for the no-caller ID reason at telephony layer even if RIL sends it in the same exta as call subject, but that would require API changes. BUG: 22683773 Change-Id: I4ae51754d7660e4b8c1082d142e2c1860d3f1604
2015-09-09Merge "Disable AccelerometerListener when display is off" into mnc-dr-devYorke Lee
2015-09-09Merge "Force conference call phone numbers to LTR." into mnc-dr-devAndrew Lee
2015-09-08Force conference call phone numbers to LTR.Andrew Lee
Bug: 23779012 Change-Id: I4241130e851e02c6025e77e9c05d2f5908c386c9
2015-09-04Disable AccelerometerListener when display is offYorke Lee
Unregister the accelerometer listener when the screen is off to reduce power consumption. Slight refactor of component constructors to facilitate testing. Add test. Bug: 23498050 Change-Id: If1971a39e8a418253f6611116c855e3c6cf81b93
2015-09-01Make sure to clear PulseAnimation correctly in InCallActivityYorke Lee
An orphaned animation causes unnecessary frames updates in RenderThread. Bug: 22934313 Change-Id: I3b3fb433eb830c3bc05430eb1da4d72c178ddd62
2015-08-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I1f65249f89a30d46f691428be9c337638a7d1ef9 Auto-generated-cl: translation import
2015-08-17Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I5b0d063a7de50f2a070a40ace2d69ebf3e57c3fd Auto-generated-cl: translation import
2015-08-12Replace placeholder subject bubble asset with a drawable resource.Tyler Gunn
Turns out it was pretty easy to accomplish the speech bubble with just a drawable with some of the corner rounded. Bug: 22685114 Change-Id: I1f2d1b8113652503cd8298f8b6ab1883b4a4589d
2015-08-12Merge "Minimize the number of calls to ↵Tyler Gunn
PhoneNumberUtils.isLocalEmergencyNumber." into mnc-dr-dev
2015-08-12Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I3f333149d7d59affa20a8c69c9eca38bd6cc021c Auto-generated-cl: translation import
2015-08-11Minimize the number of calls to PhoneNumberUtils.isLocalEmergencyNumber.Tyler Gunn
On a standard outgoing call, isLocalEmergencyNumber was being called from 30-40 times. Each of these calls requires a system service invocation. A large number of these invocations were coming from InCall UI. To fix this: 1. Added an isEmergencyCall property to the InCall Call object. isLocalEmergencyNumber is recalculated any time the mTelecomCall's handle changes. 2. Replaced calls to isLocalEmergencyNumber in CallCardPresenter with calls to the InCall call cached version; this easily cuts out around 15 calls to isLocalEmergencyNumber. 3. Replaced code in InCallPresenter; this accounted for 2-3 calls to isLocalEmergencyNumber. Bug: 22985202 Change-Id: Ia61204bb0ed6171b24c116e8c681b3924ce54f1d # Conflicts: # src/com/android/incallui/Call.java
2015-08-10am ba55aab3: DO NOT MERGE Null check CallList mapping in callbacksJay Shrauner
* commit 'ba55aab35a4402a090f530422d1f7327aebfde04': DO NOT MERGE Null check CallList mapping in callbacks
2015-08-10Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I1b62b0b5fa3abd3e75c6bf73d2a81ab38501885f Auto-generated-cl: translation import
2015-08-08DO NOT MERGE Null check CallList mapping in callbacksmarshmallow-devJay Shrauner
In onPostDialWait, onDetailsChanged, and onConferenceableCallsChanged callbacks, check to make sure the call list contains a mapping for the Telecom Call object. Bug:23031241 Change-Id: I2a9703d9c303fe0b2e320d811d21c71e5c429269 (cherry picked from commit 71a6555ac854303dc023c5e6c9a27c63ec956e3d)
2015-08-07Merge "Show "Note sent" toast when starting outgoing call with a note." into ↵Tyler Gunn
mnc-dr-dev
2015-08-06am be729e6f: Catch RuntimeException when calling setExcludeFromRecentsYorke Lee
* commit 'be729e6fd69f30a97b669b009d608ac7395919c7': Catch RuntimeException when calling setExcludeFromRecents
2015-08-06Catch RuntimeException when calling setExcludeFromRecentsYorke Lee
Bug: 22924782 Change-Id: I1da931b805658376fb9db418210662273d9c1db8
2015-08-05Show "Note sent" toast when starting outgoing call with a note.Tyler Gunn
Bug: 22685114 Change-Id: Icc84b3639d7a5d4cf4faaa2db5ed70f2d9b2e967
2015-08-05Merge "Last forwarded number and incoming call subject." into mnc-dr-devTyler Gunn
2015-08-05Last forwarded number and incoming call subject.Tyler Gunn
Last forwarded number: - Added assets for the "forward" icon for last forwarded number. - Modified InCall Call to store last forwarded number; also calls onLastForwardedNumberChange callback (the last forwarded number is received via a supp service update, so may change after call starts). Call subject (i.e. instant lettering): - Added placeholder subject_bubble asset to form the chat bubble for incoming calls with a subject. - Modified InCall Call to store the call subject (expected to be populated in extras at start of call. - Added code to hide the call status (e.g. "incoming call via XYZ") line and primary call label (e.g. a location "California", or the number type "Mobile" for the number). This was necessary to make room for the call subject bubble, and is in line with the UX mocks. - Change call subject text color to background color of call card (per UX mocks) - Modified call notification to show call subject if it is specified. - Moved code to show HD icon into common method. Bug: 22685114 Change-Id: I22d9dae16658490e3245cfdd9c936bb0584cd6db
2015-08-05Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iae6a582a4f83bd8af06efa9c802ba1eeadff4fe6 Auto-generated-cl: translation import
2015-08-04am 74573496: Merge "Fix time and details alignment in RTL." into mnc-devAndrew Lee
* commit '745734969d69f4eb0e919e9945758905ce3455ce': Fix time and details alignment in RTL.
2015-08-04Merge "Fix time and details alignment in RTL." into mnc-devAndrew Lee
2015-08-04Fix time and details alignment in RTL.Andrew Lee
Bug: 22155815 Change-Id: Ie82b9970d1d5794b8ff7e7606fd63df14516e480
2015-08-04am 50ccc0c6: Fix NPE in onDetailsChangedJay Shrauner
* commit '50ccc0c6cbfc1fce25ada87da13f4e974612d2a8': Fix NPE in onDetailsChanged
2015-08-03Fix NPE in onDetailsChangedJay Shrauner
Bug:22925987 Change-Id: I20ad0ea5e40342805a2004654e6b78f420c33873
2015-07-31Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I8812f47e024e5b569e3cc3eb2cccecb95afacf66 Auto-generated-cl: translation import
2015-07-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I890ab842d953bec4e549069295f8809dc31a5246 Auto-generated-cl: translation import
2015-07-28am f8f94b2f: InCallUI not dismissing after end call is clicked.Chaitanya Saggurthi
* commit 'f8f94b2f55f9c63280aceb08876d9e02f90a6f71': InCallUI not dismissing after end call is clicked.
2015-07-28InCallUI not dismissing after end call is clicked.Chaitanya Saggurthi
In MT InCallScreen, the customMessage dialog which appears when user tries to reject a call with message, is not set to null when user cancels the dialog. InCallUIActvity is not finished if there is any pending dialog which is not null and hence this issue is seen. Set the dialog variable to null once the dialog is cancelled by the user. Bug: 22254547 Change-Id: I86d314461c760387cb5f8099a01da9afe4a79085
2015-07-28Merge "Add support for showing child number in incall ui." into mnc-dr-devTyler Gunn
2015-07-23Add support for showing child number in incall ui.Tyler Gunn
Bug: 22685113 Change-Id: I4cf8f92820fcc028d26b5edcbf9bbc02a4d7a6d5
2015-07-22am 3c80805d: Catch null Call to avoid NullPointerException.Anthony Lee
* commit '3c80805def993eef821931970723e2b927fdf552': Catch null Call to avoid NullPointerException.
2015-07-22Catch null Call to avoid NullPointerException.Anthony Lee
Bug: 22646355 Change-Id: Iad8f4ed9b29f97b3c6d403b63f9fdf7f3b26f460
2015-07-15am 3e2d53b0: (-s ours) Import translations. DO NOT MERGEGeoff Mendal
* commit '3e2d53b02ca20c2e71b70232f81a17ed4ac776d1': Import translations. DO NOT MERGE
2015-07-15Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If10314ac8f18e57c4ad5938086aa3c302c7f6c8d Auto-generated-cl: translation import
2015-07-13am 599477af: Null protect getUi() in configureAnswerTargetsForSmsYorke Lee
* commit '599477afdf26bee779515ead4638effea8d6beaa': Null protect getUi() in configureAnswerTargetsForSms