Age | Commit message (Collapse) | Author |
|
Bug: b/363945697
Test: -
Flag: com.android.providers.media.flags.enable_embedded_photopicker
Change-Id: I69e2459d2d6b83f51e08cc622e425dd780764a81
|
|
Auto-generated-cl: translation import
Change-Id: Idcf4c24fb67638e13a2da92f4031804deb210c19
|
|
pre-selection of media feature and CREATE_DOCUMENT intent.
Added accent color feature and meta data details (ID, Display Name, Size, Document ID, Mime Type and Date Taken of the media selected). Also added the CREATE_DOCUMENT intent in the DocsUI Tab and added pre-selection feature in PhotoPicker Tab.
Bug: 349514760
Test: m PhotoPickerToolV2 -j64 & adb install -r -d out/target/product/<lunch target name>/system/app/PhotoPickerToolV2/PhotoPickerToolV2.apk
Flag: TEST_ONLY
Change-Id: I88245ae67c728477e30530160964865080019948
|
|
images, videos or both in the PickerChoice screen
Added the PickerChoice screen and allowed the user to give full access, partial access or no access to the media on their device, and also handled permissions for images, videos or both.
Bug: 349514760
Test: m PhotoPickerToolV2 -j64 & adb install -r -d out/target/product/<lunch target name>/system/app/PhotoPickerToolV2/PhotoPickerToolV2.apk
Flag: TEST_ONLY
Change-Id: I5944bbabd7da63335c92b7ce3e14f9ac8f723483
|
|
Auto-generated-cl: translation import
Change-Id: Ief77bde0ac45268398968aaeea4708aadf22b257
|
|
OPEN_DOCUMENT and OPEN_DOCUMENT_TREE intents
Added the DocsUI tab using ACTION_GET_CONTENT, OPEN_DOCUMENT and OPEN_DOCUMENT_TREE intents. Included features like show images only, show videos only, custom mime type and multiple selection.
Bug: 349514760
Test: m PhotoPickerToolV2 -j64 & adb install -r -d out/target/product/<lunch target name>/system/app/PhotoPickerToolV2/PhotoPickerToolV2.apk
Flag: TEST_ONLY
Change-Id: I909b9f1a6d26f30b182cdc1e02e49e2fa0211ee3
|
|
tab(Photos/Albums) in PhotoPickerScreen, UI enhancement, resolve the scrolling issue, change the icon of the app." into main
|
|
tab(Photos/Albums) in PhotoPickerScreen, UI enhancement, resolve the scrolling issue, change the icon of the app.
Added a box for the user to predefine custom mime type filters (along with show images only and show videos only switches). Also included the Launch tab for selecting Photos or Albums as a pre-selected tab when the user launches PhotoPicker. Did some UI enhancement like changing the button colors of Pick Images and ACTION_GET_CONTENT when they are selected, selected Pick Images by default. Resolved the scrolling issue and changed the icon of the app.
Bug: 349514760
Test: m PhotoPickerToolV2 -j64 & adb install -r -d out/target/product/<lunch target name>/system/app/PhotoPickerToolV2/PhotoPickerToolV2.apk
Flag: TEST_ONLY
Change-Id: Id279e028579d6338f15a0e5223a82e56206abebf
|
|
Auto-generated-cl: translation import
Change-Id: I1a2f8d7208bef4a6e55983f58f6575cbbf54d0b2
|
|
Auto-generated-cl: translation import
Change-Id: I6a33686dc66b0cd269f569b550244d7eff22eac5
|
|
ACTION_PICK_IMAGES, ACTION_GET_CONTENT, Multiple selection and Ordered selection features" into main
|
|
ACTION_GET_CONTENT, Multiple selection and Ordered selection features
Migrated existing photopicker tool in kotlin compose for easy modifications and customizations. The new app includes ACTION_PICK_IMAGES, ACTION_GET_CONTENT, Multiple image selection and Ordered selection.
Bug: 349514760
Test: m PhotoPickerToolV2 -j64 & adb install -r -d out/target/product/<lunch target name>/system/app/PhotoPickerToolV2/PhotoPickerToolV2.apk
Flag: TEST_ONLY
Change-Id: I4d2a740a273e218be93c1b734cbfdd01f52ae036
|
|
Bug: b/342153000
Test: n/a
Flag: EXEMPT tool change
Change-Id: I9831b3683442dfccf732e536541547d06846cffa
|
|
static fields cleanup
Current implementation of the API extra passes the hex color
code as a string. It was suggested to change this to pass a long color value.
Also cleaning up the static fields and functions added in the previous
implementation.
Bug: 324327556, 323834873
Test: atest PhotopickerTests, manual verification
Change-Id: Id663a2372b3ed8cb322988466090c436a90ff119
|
|
Enable apps to set a picker accent color which will change the color of
the primary picker elements: add butto, view-selected button, selected
media icons and selected tab colors. Colors of buttons in Preview mode
will also be changed. All the other colors will be set to Material3 baseline
theme.
Demo: https://drive.google.com/drive/folders/1yxn0KmkosZi21Pk26S9rNAll1QiKdkJw?usp=sharing
Test: atest PhotoPickerTests
Bug: b/303784053
Change-Id: I1afa71c60fb1cc4aa468ff37c2bdbd41150aac2c
|
|
Auto-generated-cl: translation import
Change-Id: I88c9b485926d6605f415ef4d4fe8dc3a95a948e3
|
|
Test: n/a
Bug: n/a
Change-Id: I5d2865bc25702822132ee1618fff21bedc8338f3
|
|
Auto-generated-cl: translation import
Change-Id: Ife82d723b970899999ad83351e924091635f1f10
|
|
Add an intent extra to give apps the option to launch the picker in
albums tab and an option to launch the settings activity directly as
well. All other values provided apart from these two will deafult to the
photos tab.
Test: atest CtsPhotoPickerTest, manual testing
Bug: 303783867
Change-Id: I8f6eac23a81f417efb21e7690b88beffabedd691
|
|
Create a new TextView to display the order, which is maintained in the
Selection data in the picker frontend. When the user finishes, the
results are sorted by the selection order, and returned to the calling
app.
A new boolean extra EXTRA_PICK_ORDERED_IMAGES is introduced to gate this
feature. The feature is not allowed in GET_CONTENT or in the Permission
Mode.
Demo: https://drive.google.com/file/d/1E5HQJzD9czZD2gWq0AEhABG7Q-pqeFzY/view?usp=drive_link
Test: atest CtsPhotoPicker & atest com.android.providers.media.photopicker & manual tests (see demo)
Bug: 287661737
Change-Id: I639f958027cf4f0b758f232ae1e4ffe0d32db910
|
|
We split READ_EXTERNAL_STORAGE permission to READ_MEDIA_AUDIO,
READ_MEDIA_IMAGES, and READ_MEDIA_VIDEO from T. Update the permission
checks.
Also update the MediProviderDialogTool.
Bug: 226929852
Test: atest PermissionActivityTest
Change-Id: I07ccafcfc50bb88f41e7a6ac31f137df7012522b
|
|
Entire project is 1p.
Test: m nothing
Change-Id: I89bfb50edff9c91cf680e883ec850c794cd510b4
|
|
If the user set the correct value first, then the user set the wrong
format, we should clear the older value to avoid using wrong value to
launch PhotoPicker
Test: manual
Bug: 213030070
Change-Id: Ia01851afa4238acc1ec5b6419f59f100b5aa70b7
|
|
|
|
Test: run app
Bug: 192304192
Change-Id: I02b842c383abe3a8d0c38277fd5bfac00346f4b5
|
|
Test: manual
Bug: 207821745
Change-Id: I7b22400f9aca0c2ce1bc51a795dabac52be3f4a8
|
|
Bug: 192304192
Test: Run on SX SDK emulator from Android Studio
Change-Id: Id275312d259342467492b8f7c909d01ed349cd48
|
|
- Remove the warning message between allow multiple and set max count
- Fix allow mulitple issue for ACTION_GET_CONTENT
Test: manual. m -j PhotoPickerTool
Bug: 201981520
Change-Id: Ia43ef984443ea5e4cf6795a1fb6cc4896c273e03
|
|
Guidance as per https://source.android.com/setup/contribute/respectful-code#term-examples
Bug: 202741897
Test: n/a
Change-Id: I7ae81bae77e59065c53ebea830f331631cd8f0bb
BYPASS_INCLUSIVE_LANGUAGE_REASON= describing actual change
|
|
Changed PhotoPicker tool to use EXTRA_PICK_IMAGES_MAX
This change is already merged to git_master as part of
I3ec396a35905edd9d8c5bbc7530630325bf123fd.
Bug: 185228105
Test: atest PickerViewModelTest
Test: atest PhotoPickerTest
Change-Id: Icf898d2b04b7949fad1d6091c61916e66195f4d5
Merged-In: I3ec396a35905edd9d8c5bbc7530630325bf123fd
|
|
Set android:minSdkVersion="30" and android:targetSdkVersion="30"
Test: m -j. manual
Bug: 201248413
Change-Id: If71bb16ef853dc53ea5a16bc24b5952546d45f4f
Merged-In: If71bb16ef853dc53ea5a16bc24b5952546d45f4f
(cherry picked from commit 38f54d4d87dce861a4cb181b280a56d47fb557b0)
|
|
- Support ACTION_GET_CONTENT
- Support ACTION_PICK_IMAGES
- Support EXTRA_ALLOW_MULTIPLE
- Support set mime type
- Support set maximum selection count
Test: manual
Bug: 168681160
Change-Id: I51345396c169ad519d1f950f77fe55c467f7a266
Merged-In: I51345396c169ad519d1f950f77fe55c467f7a266
(cherry picked from commit e0bd808e5e659225382190ddb5267e2af9fefa23)
|
|
Test: manual, record videos.
Bug: 183589702
Change-Id: I3aa42d4cc6a515efd11865484cb4a59b93199a35
|
|
- Don't throw IllegalStateException for favorite/unfavorite case
We don't define the related strings for favorite and unfavorite
- Add favorite and unfavorite actions in MediaProviderDialogsTool
Bug: 182735807
Bug: 181333720
Test: manual
Test: m -j MediaProviderDialogsTool
Test: atest ExternalStorageHostTest
Change-Id: If217b0f3cfbffc70e06ee2e076a8fd56c2885460
|
|
am: 95cf803022 am: c8d5dbb7d3 am: 229793cb0f
Original change: https://android-review.googlesource.com/c/platform/packages/providers/MediaProvider/+/1588510
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ide7b90d69f7d0fd266ca22003898d8d2d7de2aef
|
|
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
apex/Android.bp
apex/framework/Android.bp
apex/testing/Android.bp
errorprone/Android.bp
jni/Android.bp
legacy/Android.bp
tests/Android.bp
tests/client/Android.bp
tools/dialogs/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ibbbf07ceca50a345680a911a3860321ab71c83c3
|
|
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 future versions. 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: I8b9ae081e93f313bb749bb63c9db6a4eb5f27805
|
|
We wrote this tool several months ago to exercise all the various
permutations of MediaStore dialogs, but never merged it into the
tree until now. This is typically used by PM, UX, and a11y teams
to verify behaviors in various edge cases.
Bug: 156257943
Test: manual
Change-Id: Ib301298d77028d0854ec4ac4c2e8cb2047156a89
|
|
We no longer build sqlite3 for the host as part of the android build,
so just use the one installed on the host machine.
Change-Id: I832426372c8e3c92e0bbc95c4f7ac686ed10dbbb
|
|
Support .doc files, handle spaces and trailing backslashes in paths,
and properly handle some file types even when they're in .nomedia paths.
Change-Id: I432fb5e83cfedfb61ed5dd837d5da4b9e392f409
|
|
Change-Id: I26ab9ed16ee118b83387483c84163852c6f2a20e
|
|
Given a media provider database, this lets you recreate a file tree
that when scanned by the media scanner will give you largely the same
database again.
Change-Id: Ie675fa7bb565525e4907d542116cc4c6ffd55e45
|