mtp

Merge lp:~cyphermox/mtp/lp1383861 into lp:mtp

Proposed by Mathieu Trudel-Lapierre
Status: Approved
Approved by: Manuel de la Peña
Approved revision: 53
Proposed branch: lp:~cyphermox/mtp/lp1383861
Merge into: lp:mtp
Diff against target: 20 lines (+1/-6)
1 file modified
server/server.cpp (+1/-6)
To merge this branch: bzr merge lp:~cyphermox/mtp/lp1383861
Reviewer Review Type Date Requested Status
Manuel de la Peña (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+239273@code.launchpad.net

Commit message

Don't use product name for naming internal storage, just call it Internal Storage.

Description of the change

Don't use product name for naming internal storage, just call it Internal Storage.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Manuel de la Peña (mandel) :
review: Approve

Unmerged revisions

53. By Mathieu Trudel-Lapierre

Don't use product name for naming internal storage, just call it Internal Storage.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'server/server.cpp'
--- server/server.cpp 2014-09-04 01:11:14 +0000
+++ server/server.cpp 2014-10-22 19:18:17 +0000
@@ -285,15 +285,10 @@
285285
286 void initStorage()286 void initStorage()
287 {287 {
288 char product_name[PROP_VALUE_MAX];
289
290 // Local storage
291 property_get ("ro.product.model", product_name, "Ubuntu Touch device");
292
293 home_storage = new MtpStorage(288 home_storage = new MtpStorage(
294 MTP_STORAGE_FIXED_RAM, 289 MTP_STORAGE_FIXED_RAM,
295 userdata->pw_dir,290 userdata->pw_dir,
296 product_name,291 gettext("Internal Storage"),
297 1024 * 1024 * 100, /* 100 MB reserved space, to avoid filling the disk */292 1024 * 1024 * 100, /* 100 MB reserved space, to avoid filling the disk */
298 false,293 false,
299 1024 * 1024 * 1024 * 2 /* 2GB arbitrary max file size */);294 1024 * 1024 * 1024 * 2 /* 2GB arbitrary max file size */);

Subscribers

People subscribed via source and target branches