Felipe Leme
3bf521a32e
Improves how cornercase scenarios are handled:
...
- Bug reports without screenshots are supported.
- Shows a toast message when the bugreport file cannot be read.
BUG: 25751868
Change-Id: I4ed2c47a89b373cf878720ebcba90c96bd51342b
2015-11-18 10:46:54 -08:00
Jeff Sharkey
f9fc6d6cc0
More file-based encryption work.
...
Add granular StorageManager APIs for key creation/destruction and
unlocking/locking. Start passing through an opaque token as part
of the unlock command, but leave it empty for now. We now have a
separate "prepare" method that sanity checks that user directories
are correctly setup.
Define a handful of system properties used for marking devices that
should be operating in FBE mode, and if they're emulating FBE. Wire
a command to "sm", but persisting will come later.
Start using new "encryptionAware" flag on apps previously marked with
coreApp flag, which were apps running in the legacy CryptKeeper
model. Small tweaks to handle non-encryptionAware voice interaction
services. Switch PackageManager to consult StorageManager about the
unlocked state of a user.
Bug: 22358539
Change-Id: Ic2865f9b81c10ea39369c441422f7427a3c3c3d6
2015-11-11 10:47:23 -08:00
Felipe Leme
a89c6e421e
Added serial number in the bugreport message body.
...
Also labeled information contained in the body (i.e., Build Info: and Serial Number:).
BUG: 21454488
Change-Id: I5f2a62147ca3e1989aebfbd465f3e42b96b655df
2015-11-03 09:21:39 -08:00
Felipe Leme
96b1195956
Set ClipData with attachments URIs on bugreport notification.
...
The ACTION_SEND_MULTIPLE contract expects the EXTRA_TEXT to be an
ArrayList<String>, but it's currently set as String, which causes an
exception when exporting the EXTRA_STREAM as ClipData.
The right approach would be changing the EXTRA_TEXT content, but that
would break some clients like GMail, so a safer fix is to explicitly
set the ClipData.
Also removed unused variables and imports.
BUG: 21735884
BUG: 21729227
Changes to be committed:
modified: src/com/android/shell/BugreportReceiver.java
Change-Id: If9954e8cae4af7b74f077a32806f25eb7d55dffb
2015-10-30 08:43:00 -07:00
Geoff Mendal
cc98d3fa51
Import translations. DO NOT MERGE
...
Change-Id: Idcb5330948acdc172f2af763f32e6d8235d64a30
Auto-generated-cl: translation import
2015-10-26 05:56:23 -07:00
Baligh Uddin
20622f6e66
Import translations. DO NOT MERGE
...
Change-Id: I49e6c5f9bef969104fc5a03f74f601b1e2c05e68
Auto-generated-cl: translation import
2015-09-10 12:34:40 -07:00
Tim Kilbourn
0e6dab92b7
am fca744ce: am 573cdc42: am 38ae1196: am 7cd6aaaf: am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
...
* commit 'fca744cef6800bbf923780ff0537ad618c715685':
Allow shell to disable keyguard when not secure
2015-09-03 06:39:20 +00:00
Tim Kilbourn
573cdc420b
am 38ae1196: am 7cd6aaaf: am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
...
* commit '38ae119688f94d68c42d8d29958038e37bb74915':
Allow shell to disable keyguard when not secure
2015-09-02 17:59:51 +00:00
Tim Kilbourn
38ae119688
am 7cd6aaaf: am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
...
* commit '7cd6aaafda35509607e945fcadc4a556f75ed23b':
Allow shell to disable keyguard when not secure
2015-09-02 17:48:28 +00:00
Tim Kilbourn
7cd6aaafda
am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
...
* commit 'ee72f99dd14c8e531cd1a114d162a49636e7b809':
Allow shell to disable keyguard when not secure
2015-09-02 17:40:36 +00:00
Tim Kilbourn
bba73a038e
Allow shell to disable keyguard when not secure
...
Bug: 22694837
Change-Id: I0f08048f617d064017468f331a5c6875ab27174b
2015-09-01 14:21:09 -07:00
Jeff Sharkey
3f4c298248
am 0551d5d9: am ac4fd070: am 90023609: am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
...
* commit '0551d5d9ee2888779e9c37c9a509451ef65ef981':
Give shell permission to move apps.
2015-08-28 20:18:39 +00:00
Jeff Sharkey
ac4fd0702e
am 90023609: am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
...
* commit '90023609cff5e25697c852034106d9c4fdb9ea49':
Give shell permission to move apps.
2015-08-28 19:59:40 +00:00
Jeff Sharkey
90023609cf
am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
...
* commit '71f1579190ee3658db15f55a4e5571f03ce431b6':
Give shell permission to move apps.
2015-08-28 19:48:26 +00:00
Jeff Sharkey
71f1579190
am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
...
* commit 'd88152b4d910fa5e79908dcb6f14cd56ad03b21a':
Give shell permission to move apps.
2015-08-28 19:36:31 +00:00
Jeff Sharkey
e515c6495d
Give shell permission to move apps.
...
Also clear identity when measuring ASEC sizes to relax a second
permission requirement.
Bug: 23600574
Change-Id: Ib3a104426758e0e8f35dff0e504fe874bed7311f
2015-08-28 11:50:22 -07:00
Nicholas Sauer
21e79ac800
am 3671aa87: am 5554a4eb: am 6c97bb1b: am 59af87c2: am 7c17ec5f: Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev
...
* commit '3671aa878974a8ecb149b11f2b32766721833cf1':
Add GET_APP_OPS_STATS to Shell
2015-08-26 21:11:51 +00:00
Nicholas Sauer
5554a4eb63
am 6c97bb1b: am 59af87c2: am 7c17ec5f: Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev
...
* commit '6c97bb1b744ff67ad5ec3d590bbf511c165672ee':
Add GET_APP_OPS_STATS to Shell
2015-08-26 18:53:07 +00:00
Nicholas Sauer
6c97bb1b74
am 59af87c2: am 7c17ec5f: Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev
...
* commit '59af87c2b694fad361c5f7e053a19bf9e1483afa':
Add GET_APP_OPS_STATS to Shell
2015-08-26 18:31:33 +00:00
Nicholas Sauer
59af87c2b6
am 7c17ec5f: Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev
...
* commit '7c17ec5fa5cb51d12713016622e4b5a939c8bb76':
Add GET_APP_OPS_STATS to Shell
2015-08-26 18:25:26 +00:00
Nicholas Sauer
1344cb9b1b
Add GET_APP_OPS_STATS to Shell
...
bug: 23397072
Change-Id: I9f60f175380048e0f3888d866069f8f76166c732
2015-08-25 08:47:50 -07:00
Geoff Mendal
8b29025bb6
Import translations. DO NOT MERGE
...
Change-Id: Ifec1749f39bdb7eedede6e2f478ca08f5fe3529e
Auto-generated-cl: translation import
2015-07-22 05:41:34 -07:00
Svet Ganov
28e7313992
am 71d12704: am 475858c3: am b295963b: am c00e49b6: am d4b566bf: Merge "Add APIs for verifier to grant at install and revoke permissions" into mnc-dev
...
* commit '71d12704f64eeace695a6b8e0cd8f36007b96270':
Add APIs for verifier to grant at install and revoke permissions
2015-07-16 23:20:46 +00:00
Svet Ganov
475858c34d
am b295963b: am c00e49b6: am d4b566bf: Merge "Add APIs for verifier to grant at install and revoke permissions" into mnc-dev
...
* commit 'b295963baebac1b70ca701a50c77a83659963608':
Add APIs for verifier to grant at install and revoke permissions
2015-07-16 22:50:23 +00:00
Svet Ganov
b295963bae
am c00e49b6: am d4b566bf: Merge "Add APIs for verifier to grant at install and revoke permissions" into mnc-dev
...
* commit 'c00e49b6e4e4cc8356529567040d6ee3be8c1dc3':
Add APIs for verifier to grant at install and revoke permissions
2015-07-16 22:38:13 +00:00
Svet Ganov
c00e49b6e4
am d4b566bf: Merge "Add APIs for verifier to grant at install and revoke permissions" into mnc-dev
...
* commit 'd4b566bf56333de708908ce4accb5fb067be64f0':
Add APIs for verifier to grant at install and revoke permissions
2015-07-16 22:23:38 +00:00
Svet Ganov
d4b566bf56
Merge "Add APIs for verifier to grant at install and revoke permissions" into mnc-dev
2015-07-16 22:22:01 +00:00
Svet Ganov
7121e18595
Add APIs for verifier to grant at install and revoke permissions
...
bug:22231699
Change-Id: Ie0c758bf73699f50bf99ff5aa0bf98dcc9004e37
2015-07-15 22:22:59 -07:00
Felipe Leme
396753d7c1
am 7ef4daa2: am 1bcd49a9: am 2ac41a90: am d9ab0ca2: am 68fd7c79: Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev
...
* commit '7ef4daa26be5000f2ccba80204b69c8058428f51':
Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.
2015-07-15 23:30:43 +00:00
Felipe Leme
1bcd49a9eb
am 2ac41a90: am d9ab0ca2: am 68fd7c79: Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev
...
* commit '2ac41a902eb4e2af32ff4063dca03b656baa860f':
Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.
2015-07-15 22:56:46 +00:00
Felipe Leme
2ac41a902e
am d9ab0ca2: am 68fd7c79: Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev
...
* commit 'd9ab0ca287a9ab1b5af19d70cb9b13e0e16cfcba':
Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.
2015-07-15 22:45:11 +00:00
Felipe Leme
d9ab0ca287
am 68fd7c79: Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev
...
* commit '68fd7c798d213bbe304775b13d775ee868abb448':
Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.
2015-07-15 22:26:47 +00:00
Geoff Mendal
78b6e6c742
Merge "Import translations. DO NOT MERGE" into mnc-dev
2015-07-15 21:56:27 +00:00
Geoff Mendal
6289ad5d8f
Import translations. DO NOT MERGE
...
Change-Id: I428e579d5968139dcdf6e8e693f4d2eef182c682
Auto-generated-cl: translation import
2015-07-15 14:19:57 -07:00
Geoff Mendal
2c45a1f8e9
Import translations. DO NOT MERGE
...
Change-Id: I7d9983894ab1331e2406d139e7595182543f0e6f
Auto-generated-cl: translation import
2015-07-15 05:34:24 -07:00
Felipe Leme
e28d7fc21c
Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.
...
BUG: 20447313
Change-Id: Iecbaf3ce2f0e3d82ac31a6c7bfbd8fb3037de5e4
2015-07-13 14:59:35 -07:00
Geoff Mendal
5486bbcb9a
Import translations. DO NOT MERGE
...
Change-Id: I787a0e53f646c1b015882b689785f24b641e4eba
Auto-generated-cl: translation import
2015-07-11 11:54:16 -05:00
Geoff Mendal
a7dfd9fd0b
Import translations. DO NOT MERGE
...
Change-Id: Ic53e44c147fd47b2743ca5855f3fe4912d87763b
Auto-generated-cl: translation import
2015-07-08 05:35:41 -07:00
Ian Pedowitz
7e936ec60b
am de8303b5: am e6289de5: am c16a26a2: Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev
...
* commit 'de8303b51fa9baa216486aa4b1e7842d9ebbe90f':
Renaming bugreport.txt to bugreportFile.getName()
2015-06-23 03:04:30 +00:00
Ian Pedowitz
e6289de574
am c16a26a2: Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev
...
* commit 'c16a26a2b947d4cec0dd87d7b6bf266fd9918fbc':
Renaming bugreport.txt to bugreportFile.getName()
2015-06-23 00:14:08 +00:00
Ian Pedowitz
c16a26a2b9
Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev
2015-06-22 23:01:10 +00:00
Wei Liu
00fb74c100
am f4cc2628: am 01e5cf9d: am 940335ba: Merge "resolved conflicts for merge of 1dac6bd9 to mnc-dev" into mnc-dev
...
* commit 'f4cc262847fb17f3aecd85c0b7d09e05ed937b8c':
Wear doesn't need Shell to send notification when bugreport captured.
2015-06-19 16:25:29 +00:00
Wei Liu
01e5cf9ddf
am 940335ba: Merge "resolved conflicts for merge of 1dac6bd9 to mnc-dev" into mnc-dev
...
* commit '940335ba5b68f3382d7b42ba4fd781c8120bc370':
Wear doesn't need Shell to send notification when bugreport captured.
2015-06-19 06:02:54 +00:00
Wei Liu
9fbee9ba98
resolved conflicts for merge of 1dac6bd9 to mnc-dev
...
Change-Id: I000b35f5e2658a065c780396254bcb88f1cbce5e
2015-06-18 22:52:37 -07:00
Wei Liu
1dac6bd9fb
am ae363d2d: Wear doesn\'t need Shell to send notification when bugreport captured.
...
* commit 'ae363d2db4398a695606c254b88be8940139edd1':
Wear doesn't need Shell to send notification when bugreport captured.
2015-06-18 23:24:41 +00:00
Alan Viverette
afc21d72d8
am f1da9a14: Merge "DO NOT MERGE: Remove DayNight theme" into mnc-dev
...
* commit 'f1da9a1401fe1304bee8a550a0141c79ecc3c0b3':
DO NOT MERGE: Remove DayNight theme
2015-06-18 22:31:41 +00:00
Alan Viverette
15d48a16f6
DO NOT MERGE: Remove DayNight theme
...
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.
Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.
Bug: 21854466
Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804
2015-06-18 15:15:16 -07:00
Ian Pedowitz
bd82c7d364
Renaming bugreport.txt to bugreportFile.getName()
...
Many times to file a bug, its necessary to take several bugreports and
attach them all to the same bug. With the current implementation, all
extracted files are bugreport.txt which makes it difficult to attach
several bugreports to the same bug, and reference them throughout the
bug uniquely.
Bug: 20447313
Change-Id: I22d2286d06c8dfb82273b5b98c48b21f77941b15
2015-06-18 07:43:56 -07:00
Wei Liu
ae363d2db4
Wear doesn't need Shell to send notification when bugreport captured.
...
b/19179040
Change-Id: Iec74e1e55adee16c8674f28a6e7d697499b85acf
2015-06-17 15:32:05 -07:00
Felipe Leme
9b1d08f52c
am 46301a62: am 8234ed70: am fcb55902: Merge "Improved zipping logic so it zips chunks, instead of the whole file at once, to avoid OOM." into mnc-dev
...
* commit '46301a62ea8e06abc6f01b74740da0f807345472':
Improved zipping logic so it zips chunks, instead of the whole file at once, to avoid OOM.
2015-06-16 22:04:35 +00:00