1. 19 Oct, 2015 1 commit
    • Yorke Lee's avatar
      Fix bitmap leaks in InCallUI · 24ad9295
      Yorke Lee authored
      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
      24ad9295
  2. 07 Oct, 2015 1 commit
  3. 06 Oct, 2015 1 commit
    • Tyler Gunn's avatar
      Handle child number changes after the call starts. · 7a2da71d
      Tyler Gunn authored
      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
      7a2da71d
  4. 02 Oct, 2015 1 commit
    • Yorke Lee's avatar
      Fix potential mismatched caller information · 568a22f1
      Yorke Lee authored
      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
      568a22f1
  5. 26 Sep, 2015 1 commit
  6. 25 Sep, 2015 1 commit
  7. 23 Sep, 2015 1 commit
  8. 22 Sep, 2015 1 commit
  9. 18 Sep, 2015 1 commit
  10. 14 Sep, 2015 1 commit
    • Tyler Gunn's avatar
      Ensure call subject is hidden if disabled for carrier. · 07f5e7af
      Tyler Gunn authored
      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
      07f5e7af
  11. 13 Sep, 2015 1 commit
  12. 10 Sep, 2015 1 commit
    • Roshan Pius's avatar
      Display no-caller ID reason in InCallUI · e234ef87
      Roshan Pius authored
      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
      e234ef87
  13. 09 Sep, 2015 2 commits
  14. 08 Sep, 2015 1 commit
  15. 04 Sep, 2015 1 commit
    • Yorke Lee's avatar
      Disable AccelerometerListener when display is off · 49691487
      Yorke Lee authored
      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
      49691487
  16. 01 Sep, 2015 1 commit
  17. 29 Aug, 2015 1 commit
  18. 17 Aug, 2015 1 commit
  19. 12 Aug, 2015 3 commits
  20. 11 Aug, 2015 1 commit
    • Tyler Gunn's avatar
      Minimize the number of calls to PhoneNumberUtils.isLocalEmergencyNumber. · 0fe988dd
      Tyler Gunn authored
      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
      0fe988dd
  21. 10 Aug, 2015 2 commits
  22. 08 Aug, 2015 1 commit
    • Jay Shrauner's avatar
      DO NOT MERGE Null check CallList mapping in callbacks · ba55aab3
      Jay Shrauner authored
      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)
      ba55aab3
  23. 07 Aug, 2015 1 commit
  24. 06 Aug, 2015 2 commits
  25. 05 Aug, 2015 4 commits
    • Tyler Gunn's avatar
      Show "Note sent" toast when starting outgoing call with a note. · ec9aae57
      Tyler Gunn authored
      Bug: 22685114
      Change-Id: Icc84b3639d7a5d4cf4faaa2db5ed70f2d9b2e967
      ec9aae57
    • Tyler Gunn's avatar
    • Tyler Gunn's avatar
      Last forwarded number and incoming call subject. · 613db1f3
      Tyler Gunn authored
      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
      613db1f3
    • Geoff Mendal's avatar
      Import translations. DO NOT MERGE · 06ace6a8
      Geoff Mendal authored
      Change-Id: Iae6a582a4f83bd8af06efa9c802ba1eeadff4fe6
      Auto-generated-cl: translation import
      06ace6a8
  26. 04 Aug, 2015 5 commits
  27. 01 Aug, 2015 1 commit
  28. 29 Jul, 2015 1 commit