Skip to content
Snippets Groups Projects
  1. Sep 04, 2024
    • Xin Li's avatar
      Revert "Remove abandoned implementation." · 8a3204f4
      Xin Li authored
      Revert submission 3242160-remove-messaging-package
      
      Reason for revert: Droidmonitor created revert due to b/364617310, b/364626927, b/364617560
      
      Reverted changes: /q/submissionid:3241481-remove-messaging-package
      
      This reverts commit 93b5e637.
      
      Change-Id: I182cbf1758988d9a4950d39354266a5fb3aaabce
      8a3204f4
  2. Aug 26, 2024
  3. Dec 08, 2021
  4. Jun 23, 2020
  5. Jun 19, 2020
    • Raman Tenneti's avatar
      AOSP/Messaging - Changed midSdkVersion to 14 and reverted to using... · 7f4bb54e
      Raman Tenneti authored
      AOSP/Messaging - Changed midSdkVersion to 14 and reverted to using Telephony.Carriers.CONTENT_URI instead of  Telephony.Carriers.SIM_APN_URI.
      
      Fixes error: "NoSuchFieldError exception: Telephony.Carriers.SIM_APN_URI requires API level 29"
      
      Bug: 159055957
      
      Test: manual - Tested the messaging UI. Without this change the app is crashing when we click on it.
      
      $ make -j 40
      
      Change-Id: Ic34ccac673531a61386c1eaa3bbfff950d19517b
      7f4bb54e
  6. May 28, 2020
    • Taesu Lee's avatar
      Parse recipients from RESPOND_VIA_MESSAGE correctly · fcf66997
      Taesu Lee authored
      
      UriUtil#parseRecipientsFromSmsMmsUri() will returns a comma-separated
      recipients for common use so that InsertNewMessageAction#createMessage()
      can create or get a conversation correctly for RESPOND_VIA_MESSAGE.
      In addition, mms/mmsto schemes are added. And it includes small cleanup
      intent-filters for LaunchConversationActivity.
      
      Test: adb shell am startservice
      -a android.intent.action.RESPOND_VIA_MESSAGE -d "sms:12345678,87654321"
      -e android.intent.extra.TEXT "Text"
      
      Change-Id: I291dc765a46846982d059016d44f90873c687867
      Signed-off-by: default avatarTaesu Lee <taesu82.lee@samsung.com>
      fcf66997
  7. Mar 23, 2020
    • Ashwini Oruganti's avatar
      Add an exported flag in manifest · 90bdc4e4
      Ashwini Oruganti authored
      With b/150232615, we will need an explicit value set for the exported
      flag when intent filters are present, as the default behavior is
      changing for S+. This change adds the value reflecting the previous
      default to the manifest.
      
      These changes were made using an automated tool, the xml file may be
      reformatted slightly creating a larger diff. The only "real" change is
      the addition of "android:exported" to activities, services, and
      receivers that have one or more intent-filters.
      
      Bug: 150232615
      Test: TH
      Exempt-From-Owner-Approval: mechanical refactoring
      Change-Id: I4395aa6b40fc1b1f8e3a5f4719534a66b6e20969
      90bdc4e4
  8. Feb 11, 2020
  9. Feb 06, 2020
  10. Aug 13, 2019
  11. Apr 06, 2019
    • Raman Tenneti's avatar
      AOSP/Messaging - Update the Messaging version to 24 until notification related... · 8e71d1b7
      Raman Tenneti authored
      AOSP/Messaging - Update the Messaging version to 24 until notification related logic changes are made.
      Fixes the error "Developer warning for package com.android. messaging failed to post notification on channel null".
      
      Bug: 130046636
      
      Test: manual - Tested the messaging UI. Ran the following CTS tests on Pixel phone.
      
      $ make -j 40
      $ make messagingtests -j
      $ find out -name "messaging*.apk" -print -exec ls -l {} \;
        -rw-r--r-- 1 rtenneti primarygroup 8529760 Apr  5 18:50 out/target/product/marlin/system/app/messaging/messaging.apk
        -rw-r--r-- 1 rtenneti primarygroup 729713 Apr  5 18:54 out/target/product/marlin/testcases/messagingtests/arm64/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/arm64/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
        Time: 12.766
        OK (113 tests)
      
      CTS tests for Mesaging app
      ---------------------------
      $ ./development/testrunner/runtest.py --path cts/tests/app/src/android/app/cts/NotificationTest.java
        adb  shell am instrument -e class 'android.app.cts.NotificationTest' -w 'android.app.cts/androidx.test.runner.AndroidJUnitRunner'
        android.app.cts.NotificationTest:...........................
        Time: 0.2
        OK (27 tests)
      
      atest
      -----
      $ cd packages/apps/Messaging
      $ atest
        Summary
        -------
        messagingtests: Passed: 113, Failed: 0, Ignored: 0
      
      Change-Id: Ic263e2c63d675c40a2cfa1ca0a8776c8e2b510b9
      8e71d1b7
  12. Feb 19, 2019
    • Raman Tenneti's avatar
      AOSP/Messaging - update the Messaging version to target P (28) or higher. · cdf40bb0
      Raman Tenneti authored
      Use JobIntentService to start the Backgroundworkerservice and
      ActionServiceImpl services.
      
      + Deleted WakeLock code.
      + Made changes to com.android.messaging.test tests so that all tests
        pass with the new JobService. I am not sure if these tests passed
        before these changes.
      + CTS tests passed without any changes.
      + Added TEST_MAPPING file for presubmit tests.
      
      Bug: 115499280
      Bug: 119503204
      
      Test: manual - Tested the messaging UI. Ran the following CTS tests on Pixel phone.
      
      $ make -j 40
        rw-r--r-- 1 rtenneti primarygroup 8624061 Feb 19 12:37 out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ make messagingtests -j
        -rw-r--r-- 1 rtenneti primarygroup 729713 Feb 19 12:52 out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
        Test results for InstrumentationTestRunner=...........
        Time: 13.353
        OK (113 tests)
      
      CTS tests for Mesaging app
      ---------------------------
      $ ./development/testrunner/runtest.py --path cts/tests/app/src/android/app/cts/NotificationTest.java
        android.app.cts.NotificationTest:...........................
        Time: 0.299
        OK (27 tests)
      
      atest
      -----
      $ cd .../packages/apps/Messaging
      $ atest
        Running Tests...
        messagingtests (113 Tests)
        -------------------------
        ...
        [113/113] com.android.messaging.util.YouTubeUtilTest#testGetYoutubePreviewImageLink: PASSED (2ms)
      
        Results from tests that require device:
      
        Summary
        -------
        messagingtests: Passed: 113, Failed: 0, Ignored: 0
      
        All tests passed!
      
      Change-Id: I9494f0750954e6364abb695aa867494669ae54c4
      cdf40bb0
  13. Feb 14, 2019
  14. Dec 03, 2018
  15. Dec 01, 2018
    • Raman Tenneti's avatar
      AOSP/Messaging - update the Messaging version to target P (28) or higher.... · 9752cda5
      Raman Tenneti authored
      AOSP/Messaging - update the Messaging version to target P (28) or higher. Fixed tests in messagingtests. All tests pass/work.
      + ParticipantRefreshTest - Added UIIntents and FakeDataModel. Fixed the errors in the data verification.
      + GetOrCreateConversationActionTest - conversation already exists (changed the assert).
      + ConversationFragmentTest - Return mockDraftMessageData even if createDraftMessageData is called with null argument.
        These tests weren't passing witout any changes (they weren't even starting without the target version update).
      
      Bug: 119503204
      Bug: 115499280
      
      Test: manual - Ran the following CTS tests on Pixel phone. Tested the messaging UI.
      
      $ make -j 40
      
      $ make messagingtests -j
      
      $ ls -l out/target/product/marlin/system/app/messaging/messaging.apk
      -rw-r--r-- 1 rtenneti primarygroup 8716364 Nov 30 15:43 out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ ls -l  out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      -rw-r--r-- 1 rtenneti primarygroup 627313 Nov 30 15:45 out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
         Test results for InstrumentationTestRunner=.........................................
         Time: 12.921
      
         OK (113 tests)
      
         The following is from logcat output:
      
         11-30 23:47:31.861  6569  6590 I TestRunner: passed: testBindingReference(com.android.messaging.datamodel.BindingTest)
         11-30 23:47:31.868  6569  6590 I TestRunner: passed: testBindingStartsUnbound(com.android.messaging.datamodel.BindingTest)
         ...
         11-30 23:47:44.705  6569  6590 I TestRunner: passed: testGServiceGet(com.android.messaging.util.BugleGservicesTest)
      
      Change-Id: I8f67da024d86f15f7430b803237ae4cff4d8e2c2
      9752cda5
  16. Apr 10, 2018
  17. Apr 28, 2017
  18. Dec 06, 2016
    • Tom Taylor's avatar
      32807795 Security Vulnerability - AOSP Messaging App: thirdparty can · a2aa53f8
      Tom Taylor authored
      attach private files from "/data/data/com.android.messaging/"
      directory to the messaging app.
      
      * This is a manual merge from ag/871758 -- backporting a security fix from
      Bugle to Kazoo.
      * Don't export the MediaScratchFileProvider or the MmsFileProvider. This
      will block external access from third party apps. In addition, make both
      providers more robust in handling path names. Make sure the file paths
      handled in the providers point to the expected directory.
      
      Change-Id: I9e6b3ae0e122e3f5022243418f2893d4a0859edb
      Fixes: 32807795
      a2aa53f8
  19. Jun 02, 2016
    • Bill Yi's avatar
      Bump targetSdkVersion to 24 · f1210c12
      Bill Yi authored
      This will only affect AOSP build.
      
      BUG:28621267
      Change-Id: I13f47b838c743674d371901bed2bb7b0e2cfcfc2
      f1210c12
  20. Aug 12, 2015
Loading