| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
into mnc-dev
* commit 'ffd910653896174bba59685d1aa6ef99ffe65ebb':
Throw correct exception for null paths
|
| |\
| | |
| | |
| | |
| | | |
* commit '2c86de8ad3e8724d2c1d0325606188ecf69e3128':
Throw correct exception for null paths
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 22519119
Change-Id: I8aff294201dfd8ec46ff3d30e4ceecea1346f29b
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '1662f5e0e3254cb28c600dcf747133419a7a88f1':
Use own package name when not processing IPC.
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '4b0fb0cf9cf5560980225bd6b18e14597d90cf0d':
Use own package name when not processing IPC.
|
| | |/
| | |
| | |
| | |
| | | |
Bug: 22753582
Change-Id: I73f3e8b7bc3fabab92909a183fcc71be7bb667b4
|
|\| |
| | |
| | |
| | |
| | | |
* commit '5f08e6732613b343acd8755de518c245be695610':
Check app-ops when enforcing permissions.
|
| |\|
| | |
| | |
| | |
| | | |
* commit '55f7690693b3b5b190f11a412a6be0ad4d0ccffc':
Check app-ops when enforcing permissions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When enforcing various storage permissions, check associated app-ops
to see if they've been revoked. We're okay throwing outright, since
Environment already told the app that volumes are unmounted, so they
have no business poking around.
Read/write sanity checking should only be relaxed to group-level for
files living on storage devices; continue using globally readable
flags for all other files.
Refresh storage paths whenever volumes change.
Bug: 22718722
Change-Id: I8640998f490550b4cd3a9b27bb6cb1a658bd102a
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'f9389e6168ac5d83da94eca8bbd1272a89612578':
Move permission checking from "other" to "group."
|
| |\|
| | |
| | |
| | |
| | | |
* commit '182ee96cece8f8fb2c33f127f34152939040e531':
Move permission checking from "other" to "group."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new storage layout used for runtime permissions uses the "group"
ACL for enforcing access, and the "other" ACL is usually masked off
completely.
Bug: 22525550
Change-Id: I29b48cc3425ccfc8d3ff5ec323c8dc50be104878
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'd99040fac50c782faa67627790516fd58cb7491d':
Import translations. DO NOT MERGE
|
| |\|
| | |
| | |
| | |
| | | |
* commit '2b9f137db367e7ca9e930ce80d803bdbc2377611':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icaec8bfe7bbb2f0562b016d30cad70b1b1192b99
Auto-generated-cl: translation import
|
|\| |
| |/
|/|
| |
| | |
* commit '80d1a86bf9a942d260a75a3e718997fcff276369':
Import translations. DO NOT MERGE
|
|/
|
|
|
| |
Change-Id: I0ffc7a51788743afbbee645e62a8cc4ded39f229
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
| |
Return START_REDELIVER_INTENT to make sure we always get the intent
if we're ever killed and restarted.
Bug: 22349167
Change-Id: I696284b8d55a8c8d1fb2362cd769981ae0d45366
|
|
|
|
|
|
|
|
|
| |
It ends up that MediaProvider is persisting MTP storage IDs in its
database, so we need to make sure we generate stable IDs over time,
otherwise we can end up looking into a black hole.
Bug: 22256092
Change-Id: Ia419c37f87c7c0aa59ef0de530fd219c82988f6c
|
|
|
|
|
|
| |
Bug 21581123
Change-Id: I765e047ea65b3b6e19b3814502246a31be1b41b3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When adb is disabled, the default usb mode would be "none", which
would turn off the driver and prevent UsbDeviceManager from receiving
any new USB connect / disconnect messages. This prevents the user
from ever enabling MTP and sharing data when adb is turned off.
As discussed in bug 21429947, we work around this problem by keeping
the USB driver in MTP mode most of the time, so that we continue to
receive USB connect / disconnect messages.
To avoid leaking confidential user photos, this change honors the
unlock state sent to us by the UsbDeviceManager code. We only expose
user data if explicitly authorized by the user. MTP being enabled
is decoupled from data being exposed on the USB connection.
Bug: 21429947
Change-Id: I495011aa4e3e18c5e5e6fe7b9d0e1a3efe747ee7
|
|\
| |
| |
| | |
mnc-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Read EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS from intent to change
the AudioAttributes flags on the Ringtone instance used to play
the selected ringtone.
Bug 19407114
Change-Id: I2d923ef27e8db19b2560a129ba2462c90a07a997
|
|/
|
|
|
| |
Bug: 21078077
Change-Id: Ia46ee652bfff8457e62dfb952976265f7b71f2ce
|
|
|
|
|
|
|
|
| |
We can now have primary emulated removeable storage, which causes
this code to be upset.
Bug: 19993667
Change-Id: Id806c5d41ede6e040af9a48496b9e103a9c75962
|
|
|
|
|
| |
Bug: 19993667
Change-Id: I6380ac08f2eb91af81277d0ace42943e20112b2d
|
|
|
|
|
| |
Change-Id: Id82303db23cbce43771ec4ecb00ad0e17b878513
Auto-generated-cl: translation import
|
|\
| |
| |
| |
| | |
* commit 'c6802bddbb2b906643e95a212a4149b3462aa3f8':
Import translations. DO NOT MERGE
|
| |\
| | |
| | |
| | |
| | | |
* commit '8eef6eb7709849f1e769a4a88ad663122784565e':
Import translations. DO NOT MERGE
|
| |/
| |
| |
| |
| | |
Change-Id: I5988280d041a4f6876cd9fa73cffdfd83b1b8151
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '0605408dd7198b13a9529adefd6a172eff92dec9':
Import translations. DO NOT MERGE
|
| |\
| | |
| | |
| | |
| | | |
* commit '2b8275550c732c6f7e7857ebfde3c494d8d061f6':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I75a1e1f5da8f91337a13286c7f39ac6ae3bbe094
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
prevent crash.
* commit 'fe619b536938e7c2835c4858b96983ff7d297932':
Check mCurrentThumbRequest.mPath to prevent crash.
|
| |\|
| | |
| | |
| | |
| | | |
* commit '1baeeea4c716b650346030e6da7bee38609028cf':
Check mCurrentThumbRequest.mPath to prevent crash.
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit 'd1f37448350890725736ababcc23c7deb0b2153f':
Check mCurrentThumbRequest.mPath to prevent crash.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 19246412
Change-Id: I25c2f09ded0527ac062d9c8a57adf3aa7639ea76
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2f16853e7de5f06c1888d0f342be7207c2f07da2
Auto-generated-cl: translation import
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ib91d67a952582090d1fccf1dc8e7902edad2dfa5
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"internal.db", Don\'t notify MTP."
* commit '91a80e32495a825afc3bb13428d3154bf394d747':
MediaProvider: When insert files to "internal.db", Don't notify MTP.
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don\'t notify MTP."
* commit '9200927da3277128cfb517d54cea8be52d6ae602':
MediaProvider: When insert files to "internal.db", Don't notify MTP.
|
| | |\ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't notify MTP.
Steps to Reproduce:
1. Connect DUT to Win7 PC via USB cable.
2. Do Factory reset, don't unplug the USB cable during the reset.
->DUT will reboot automatically after factory reset.
3. After DUT enters the system, transfer some files to the DUT by MTP or
take some photos by Camera.
Expected Results:
Read DUT files normally on Win7 PC.
Actual Results:
The files transferred by MTP are named as "Local Disk" on the PC.
And the photos token by Camera can not be showed.
After file is inserted into "internal.db", don't notify MTP. If notify,
PC will get no data from DUT because MtpServer will only query
file's info from "external.db" and after PC gets no data so many
times, it won't send "GetObjectPropList" request to DUT, that will
cause "Local Disk" showed on the PC side.
Change-Id: I6cb364158dbda8b267bdfbf6663d0682f7d4d6cb
Signed-off-by: xiaochao <xiaochao.huang@intel.com>
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
stability test
* commit 'd60468b0587d5a579c85f644201e5caff5b5b116':
Fix SQLiteDiskIOException in stability test
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | | |
* commit '1aadca5b154928c42a936d8ab4b71c9457a81ede':
Fix SQLiteDiskIOException in stability test
|
| | |\ \ \
| | | | |/
| | | |/|
| | | | |
| | | | | |
* commit 'd1b7c58a1c14229873987af728c4c598f86bd107':
Fix SQLiteDiskIOException in stability test
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Because Sprout has removable storage, the framework needs to maintain
external database for keeping multiple databases between SD cards.
When cleaning up databases for old external storage volumes, we can't
delete .db-shm and .db-wal because these two files always have the
latest data and .db doesn't have. Using camera or Google+ will access
.db-shm and .db-wal to get the latest data and will cause SQLite Disk
I/O exception if they are deleted.
The fix is to modify the logic of cleaning up databases (only delete
.db file, not to delete .db-shm and .db-wal file).
Bug 18412563
Review: https://partner-android-review.git.corp.google.com/#/c/187072
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
Change-Id: I484bd535ddebee09824a10f12241f6b2ce086b94
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'a34df9b3e95ffa06d8a09820d4206cb5baf720b8':
Import translations. DO NOT MERGE
|
| |\ \ \ \
| | | |_|/
| | |/| |
| | | | |
| | | | | |
* commit '1646ab9f8650d341af3e976a1afead8b79365bdc':
Import translations. DO NOT MERGE
|