137 Commits

Author SHA1 Message Date
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
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
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
Ian Pedowitz
c16a26a2b9 Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev 2015-06-22 23:01:10 +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
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
00f4a6ecbc Improved zipping logic so it zips chunks, instead of the whole file at once, to avoid OOM.
BUG: 20447313
Change-Id: I66f90cdd2a07288f9e37a38185f1583c57cf65c8
2015-06-16 10:32:45 -07:00
Felipe Leme
a106554c20 Merge "Changed BugReportReceiver to send zipped bugreports." into mnc-dev 2015-06-16 16:59:49 +00:00
Felipe Leme
55beae09e5 Changed BugReportReceiver to send zipped bugreports.
When BugReporterReceiver receives a android.permission.DUMP, it will handle the bugreport file (extra android.intent.extra.BUGREPORT) depending on its format:

 - If it's a plain-text file (extension .txt), it will create a zip file with the plain-text report renamed as bugreport.txt.
 - If there is an error creating the zip file, the plain-text bugreport will be sent instead.
 - If it's not a plain-text file, it fill send the file as is (so if 'dumpstate' is later changed to generate a zipped file directly, nothing has to be done here).

Note that only the bugreport itself is included in the zip file, the screenshot is still sent separately (extra android.intent.extra.SCREENSHOT), so the receiver of the bugreport intent can display a screenshot thumbnail without unzipping the other file (which is useful when sending the bugreport through GMail, for example).

BUG: 20447313
BUG: 21868658
Change-Id: I3fa1e0c89190bfe6fa5c418f0f01ce1fb376f537
2015-06-16 09:05:22 -07:00
Yorke Lee
adb53b35cc Add phone permissions to Shell
These are needed for adb shell telecom commands to work on
non-eng builds.

Also fix a couple of typos in telecom documentation.

Change-Id: Ia219ff78f5d65878e43e6b9216f979185495ce7f
2015-06-03 15:48:10 -07:00
Geoff Mendal
0878fbf732 Import translations. DO NOT MERGE
Change-Id: Ib590e26c7e75ed6bbc29654fbe16a18e75089dbc
Auto-generated-cl: translation import
2015-05-30 20:01:28 -07:00
Jeff Sharkey
2177ed407b Merge changes from topic 'bench' into mnc-dev
* changes:
  Command to change force adoptable state.
  Initial pass at storage benchmarks.
2015-05-15 21:55:57 +00:00
Jeff Sharkey
4c099d0c49 Command to change force adoptable state.
Since user builds can't setprop, add an explicit "sm" verb to change
the force adoptable state.

Bug: 21191915
Change-Id: I719d9b18c1a98c97442a5ddb1cc5512e8e4d3d3f
2015-05-15 14:15:35 -07:00
Geoff Mendal
3211b56eff Import translations. DO NOT MERGE
Change-Id: If33561fdaf98e273425caa3c0e9da3cf81446886
Auto-generated-cl: translation import
2015-05-13 21:28:40 -07:00
Alan Viverette
b9da280ac2 DayNight theme for framework packages
Change-Id: I745f90561c957c83540e75a2886e294633c83be1
2015-05-05 14:09:21 -07:00
Amith Yamasani
cf76872a62 Add ability to get and set idle state of apps
Add am shell command to set and get idle
Add public API to check if an app is idle

Bug: 20534955
Bug: 20493806
Change-Id: Ib48b3fe847c71f05ef3905563f6e903cf060c498
2015-04-24 12:58:46 -07:00
Geoff Mendal
2ce10f0f85 Import translations. DO NOT MERGE
Change-Id: Icab122bac2891ca4580116d2c357b7ac64d6baad
Auto-generated-cl: translation import
2015-04-22 05:45:49 -07:00
Svetoslav
805b63e253 Allow only system signed apps to grant permissions at install
bug:20099946

Change-Id: Ifcc5c6638b4174ffb3ba452ae68a5a53b2d1ff0a
2015-04-10 11:41:29 -07:00
Geoff Mendal
3622c20f79 Import translations. DO NOT MERGE
Change-Id: I33c678add2505ec35670928d3e0c0c9751c66bda
Auto-generated-cl: translation import
2015-03-30 05:50:27 -07:00
Geoff Mendal
6af24b1652 Import translations. DO NOT MERGE
Change-Id: Ie3cde38ec6847cf49d6ce2ed9b21b23f27ef5d63
Auto-generated-cl: translation import
2015-03-27 16:23:30 -07:00
Geoff Mendal
71bed8db2e Import translations. DO NOT MERGE
Change-Id: I9f8461cc3c0002086052c65ba0c1ac801198c042
Auto-generated-cl: translation import
2015-03-25 05:44:52 -07:00
Ryo Hashimoto
dd98034edc Add BugreportStorageProvider
BugreportStorageProvider provides storage backend for bugreports.

BUG:18070208
Change-Id: I8506dd90d69907090295d99df7427fc747b83698
2015-03-23 18:28:01 +09:00
Geoff Mendal
ed963393c3 Import translations. DO NOT MERGE
Change-Id: I05e39854eb2d78c22192faebdbfab579831b162a
Auto-generated-cl: translation import
2015-03-20 23:42:27 -07:00
Alan Viverette
4a357cd2e5 Replace usages of deprecated Resources.getColor() and getColorStateList()
Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
2015-03-18 18:37:18 -07:00
Geoff Mendal
717bbf53f8 Import translations. DO NOT MERGE
Change-Id: Id941e0ba453bd6b39cf654f0a20a68219584bd2a
Auto-generated-cl: translation import
2015-03-16 06:25:49 -07:00
Geoff Mendal
8c010dcaee Import translations. DO NOT MERGE
Change-Id: Iaf416dc2326ddaf2601b5c37d0e86b2b6fb8e307
Auto-generated-cl: translation import
2015-02-25 06:46:25 -08:00
Geoff Mendal
dd1048e10a Import translations. DO NOT MERGE
Change-Id: I592c996ee5bd1d20bcd4ea595b3e6cbba08a4d0c
Auto-generated-cl: translation import
2015-02-12 14:55:57 -08:00
Geoff Mendal
3edf13138b Import translations. DO NOT MERGE
Change-Id: I9c23372467960ad066b9089b4a76e3a257d147eb
Auto-generated-cl: translation import
2015-02-02 06:52:26 -08:00
Geoff Mendal
3521518dbc Import translations. DO NOT MERGE
Change-Id: I1b7255d3a1bda752665435e6a1113c735dc0702d
Auto-generated-cl: translation import
2014-11-24 06:20:00 -08:00
Geoff Mendal
2081228b82 Import translations. DO NOT MERGE
Change-Id: Ifac2744b085fd628d2688543243f52e2bec82292
Auto-generated-cl: translation import
2014-11-19 06:27:10 -08:00
Svetoslav
6b6a4873c3 am 8528259f: am 71de484d: am 1eb6a2f0: Merge "Grant the shell user a permission to let apps host widgets." into lmp-mr1-dev
* commit '8528259fa015d8666026b88534d23bcd2b7929da':
  Grant the shell user a permission to let apps host widgets.
2014-10-22 23:28:33 +00:00
Svetoslav
8528259fa0 am 71de484d: am 1eb6a2f0: Merge "Grant the shell user a permission to let apps host widgets." into lmp-mr1-dev
* commit '71de484dd1cdfd2e06761c170dfe729480cb7906':
  Grant the shell user a permission to let apps host widgets.
2014-10-22 22:49:52 +00:00
Svetoslav
7e9c21547a Grant the shell user a permission to let apps host widgets.
An app can host widgets only if it has a special signature premission
or the user allowed this app to be able to bind to widgets. This change
grants the permission to whitelist an app to bind to app widgets to the
shell user. Now a test can have a host that will have some widgets. Note
that this is different from whitelisting corp widgets.

bug:17993121

Change-Id: Ic6b866cb2a822254e94a130b876ee5db66ed4fbf
2014-10-21 14:52:31 -07:00
Geoff Mendal
92b5aa87ab Import translations. DO NOT MERGE
Change-Id: I8e3dbfe296ef739e2634d602ca467a0f7ca19e33
Auto-generated-cl: translation import
2014-10-13 06:38:21 -07:00
Wei Liu
9a0a0acdc3 am 02737364: am 94f06154: am 6bf67ef1: am c7d477bb: Merge "Keep the BugreportWarningActivity screen on. Make the bugreport warning text scrollable." into lmp-sprout-dev
* commit '027373644acda54a1463d96290fa85fe02b33637':
  Keep the BugreportWarningActivity screen on. Make the bugreport warning text scrollable.
2014-10-07 23:15:56 +00:00
Wei Liu
027373644a am 94f06154: am 6bf67ef1: am c7d477bb: Merge "Keep the BugreportWarningActivity screen on. Make the bugreport warning text scrollable." into lmp-sprout-dev
* commit '94f06154012b57650aa79af9210fc73311333601':
  Keep the BugreportWarningActivity screen on. Make the bugreport warning text scrollable.
2014-10-07 23:11:42 +00:00
Wei Liu
751160397d Keep the BugreportWarningActivity screen on.
Make the bugreport warning text scrollable.

Bug: 16930717

Change-Id: I270ee3f3acdcdab2febc2a2768382bbfb20c438b
2014-10-07 15:39:09 -07:00
Wei Liu
174cb0638f am 38f4d482: am a84130d3: am de93b104: am a940f865: Merge "Hide bug report notification in Android Framework from watches." into lmp-sprout-dev
* commit '38f4d4828827acc9ecda0925fa298eea87ecfba5':
  Hide bug report notification in Android Framework from watches.
2014-10-07 00:11:58 +00:00
Wei Liu
38f4d48288 am a84130d3: am de93b104: am a940f865: Merge "Hide bug report notification in Android Framework from watches." into lmp-sprout-dev
* commit 'a84130d3e45ad1ac4cb5843adc027d463c3c304d':
  Hide bug report notification in Android Framework from watches.
2014-10-07 00:05:56 +00:00
Wei Liu
a940f8656d Merge "Hide bug report notification in Android Framework from watches." into lmp-sprout-dev 2014-10-06 22:10:33 +00:00
Wei Liu
e255e4e536 Hide bug report notification in Android Framework from watches.
Bug: 17806348
Change-Id: I1a90a9bc68d8ef4ff540dbbd9e4af4bfed8a61ae
2014-10-06 14:50:10 -07:00
Dianne Hackborn
22dbaddf58 am 8b718b80: am db75703b: am 2f577e83: am 90d557b7: am 7f7d240b: Merge "Fix issue #17752399: Multiple apps broken by GET_TASKS permission change" into lmp-dev
* commit '8b718b80e0caf179a174f8417fe4f5b875297de6':
  Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
2014-10-06 19:43:58 +00:00
Dianne Hackborn
8b718b80e0 am db75703b: am 2f577e83: am 90d557b7: am 7f7d240b: Merge "Fix issue #17752399: Multiple apps broken by GET_TASKS permission change" into lmp-dev
* commit 'db75703b261e1d1446cca210d7dcafa3279c31bc':
  Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
2014-10-06 19:39:50 +00:00
Dianne Hackborn
90d557b7a6 am 7f7d240b: Merge "Fix issue #17752399: Multiple apps broken by GET_TASKS permission change" into lmp-dev
* commit '7f7d240b13b96b617e298c6178af0425308f5ef9':
  Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
2014-10-06 19:17:10 +00:00
Dianne Hackborn
2d7576b082 Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
Keep around GET_TASKS as a permission available to apps, so apps still
think they have it and don't get all uppity because they don't.

Add a new REAL_GET_TASKS that is the actual permission now.

Plus some temporary compatibility code until everyone can transition
fromn GET_TASKS to REAL_GET_TASKS.

Change-Id: I12c1102eed24844685dcbd2fa3b612811603958f
2014-10-03 16:26:04 -07:00