Commit Graph

631 Commits

Author SHA1 Message Date
TreeHugger Robot
ee0f93ffb7 Merge "Add LoWPAN permissions to shell manifest" 2017-10-02 19:09:43 +00:00
Robert Quattlebaum
f7346712a9 Add LoWPAN permissions to shell manifest
Without this change, `lowpanctl`, the command line tool for managing
LoWPAN networks, won't be able to work properly.

Cherry-picked from commit 1b730e4bd2c8e03d2a9bf041a4acd6fd6c0467f1.

Bug: b/65490659
Test: Manually
Change-Id: Ie44bac5c3bdc956dc2b1e79284ad18eae6931a32
2017-09-20 23:56:49 +00:00
Bill Yi
b57be14702 Import translations. DO NOT MERGE
Change-Id: Ic6de27d8cd32bfea78284b4cbdfadeca461eb21b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-18 06:05:48 -07:00
Bill Yi
af15f398c0 Import translations. DO NOT MERGE
Change-Id: Ifee897620195deef2d0c462081c682ada358cde0
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-13 04:30:04 -07:00
TreeHugger Robot
6aa5e9f874 Merge "Import translations. DO NOT MERGE" 2017-09-06 21:24:58 +00:00
Bill Yi
21c39870ba Import translations. DO NOT MERGE
Change-Id: I393965ee4d07c8b07ab60c8b2e0ab149651edae6
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-05 23:51:46 -07:00
Sudheer Shanka
9404fb8f72 Merge "Add PACKAGE_USAGE_STATS permission to shell." into oc-mr1-dev am: 471656b6d8
am: 1605878d62

Change-Id: Icaad605d492ae86a29596f202f4ddaac416bcb89
2017-09-06 05:11:56 +00:00
Sudheer Shanka
1605878d62 Merge "Add PACKAGE_USAGE_STATS permission to shell." into oc-mr1-dev
am: 471656b6d8

Change-Id: Iacf518f35cf807811113d86911f40009e8506f94
2017-09-06 05:04:46 +00:00
Sudheer Shanka
93bfd052a8 Add PACKAGE_USAGE_STATS permission to shell.
This is needed for calling AM.registerUidObserver.

Fixes: 64400666
Test: cts-tradefed run singleCommand cts-dev -m CtsAppTestCases -t \
      android.app.cts.ActivityManagerProcessStateTest
Change-Id: I4f500d0d8d516b6b8961ea2f8c083add3ae949a9
2017-09-01 16:48:05 -07:00
Bill Yi
1098d47f28 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Id452855fd3f6af7d1daaa2aede1baa65a78c557f
2017-08-29 19:42:12 -07:00
Bill Yi
4cf4cbaa0c Import translations. DO NOT MERGE
Change-Id: I1ec9b7455eb0e26a1ab3af00b2def9acdcaee87a
Auto-generated-cl: translation import
2017-08-27 05:34:45 -07:00
Rebecca Silberstein
aba572347a Merge "Add wifi permissions to shell" into oc-mr1-dev am: d3428e9a3b
am: 81b3107d48

Change-Id: Ib3b7313ae5d84dbd431d4295a90a041cb29fe8e6
2017-08-24 23:23:00 +00:00
Rebecca Silberstein
81b3107d48 Merge "Add wifi permissions to shell" into oc-mr1-dev
am: d3428e9a3b

Change-Id: I4aa82e6a8a9e9a11415e3020d6508a83cdfb453e
2017-08-24 22:47:29 +00:00
Bill Yi
2f14df5138 Import translations. DO NOT MERGE
Change-Id: I6f99c721a813e8cc9c1334ee16146e770c2eebca
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-24 05:34:18 -07:00
Rebecca Silberstein
2d935e1f75 Add wifi permissions to shell
Add wifi-related permissions to the shell's manifest.

Bug: 64683466
Test: manually verified wifi can be toggled when airplane mode is active
Change-Id: I790ab5fc01f5c76fd98dedae4b9bfe88ecb48f69
2017-08-18 09:26:30 -07:00
Bill Yi
d0db1d6100 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I25b0f7f60b6825fa291bc57bf5aaa9c0e634c342
2017-08-15 15:11:58 -07:00
Bill Yi
ef899c81ca Import translations. DO NOT MERGE
Change-Id: I39dbf636efa79a6f6386eb677f24947bf4077980
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-11 21:45:37 -07:00
Bill Yi
7c6f6cab13 Import translations. DO NOT MERGE
Change-Id: I3e617e1a004e45b485658d496e09cd4c732415cc
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-06 01:47:13 -07:00
Andrii Kulian
02689a7884 DO NOT MERGE Add permission to launch activities on VD
1. Added permission ACTIVITY_EMBEDDING which allows apps to launch
activities on virtual displays.
2. Allow owner of display to launch activities from same app without
permission check to owned display.
3. Added permission checks for launching on secondary displays to
more target task/stack resolution paths in ActivityStarter.

Bug: 63117330
Test: android.server.cts.ActivityManagerDisplayTests
Test: go/wm-smoke
Change-Id: If169a77fb56241e06f7de20168dc38c4b0a217f5
(cherry picked from commit 7158764983)
2017-07-21 18:31:20 +00:00
Andrii Kulian
f7fe611e97 Merge "Add permission to launch activities on VD" 2017-07-21 18:29:09 +00:00
Andrii Kulian
7158764983 Add permission to launch activities on VD
1. Added permission ACTIVITY_EMBEDDING which allows apps to launch
activities on virtual displays.
2. Allow owner of display to launch activities from same app without
permission check to owned display.
3. Added permission checks for launching on secondary displays to
more target task/stack resolution paths in ActivityStarter.

Bug: 63117330
Test: android.server.cts.ActivityManagerDisplayTests
Test: go/wm-smoke
Change-Id: If169a77fb56241e06f7de20168dc38c4b0a217f5
2017-07-19 19:31:28 -07:00
Felipe Leme
85ac627e78 Don't tag bugreport notifications as System.
Otherwise, they'll skip DND settings.

Test: mmm -j32 frameworks/base/packages/Shell && adb install -r -g ${OUT}/data/app/ShellTests/ShellTests.apk && adb shell am instrument -e class com.android.shell.BugreportReceiverTest$1 -w com.android.shell.tests/android.support.test.runner.AndroidJUnitRunner

Bug: 63509844

Change-Id: I7d802b4c8d115c989979a9edaff2f83fc19a4eae
2017-07-14 11:32:46 -07:00
Jeff Sharkey
5ab0243330 Only require that system UIDs tag their sockets.
Apps with a normal UID are typically isolated enough to not require
socket tagging; we're mostly interested in tracking down internal
UIDs that have lots of code sharing the same UID.

Also fix up everyone doing manual string checks of Build.TYPE, since
we now have first-class fields for those.

Bug: 38126076
Test: builds, boots
Change-Id: I3a40348196bd8459289f2b9355d9783a07f1e7dd
2017-06-27 11:11:06 -06:00
Felipe Leme
70395a7c23 Fixed focus navigation on bugreport dialog.
Test: manual verification with bluetooth keyboard
Test: not ran unit tests because they're currently broken.

Fixes: 62872207

Change-Id: I2a42153d04deadde65b2778457b91189d4af511f
2017-06-26 14:58:23 -07:00
TreeHugger Robot
0ecc0ff5e0 Merge "Enable wide color gamut rendering" 2017-06-02 20:07:56 +00:00
Romain Guy
26a2b97dbe Enable wide color gamut rendering
When wide color gamut rendering is requested, hwui will now
use an rgba16f scRGB-nl surface for rendering. This change
also fixes the way screenshots are handled in the platform
to behave properly with wide gamut rendering.

This change does not affect hardware layers. They also
need to use rgba16f scRGB-nl; this will be addressed in
another CL.

Bug: 29940137
Test: CtsUiRenderingTestCases, CtsGraphicsTestCases

Change-Id: I68fd96c451652136c566ec48fb0e97c2a7a257c5
2017-06-02 11:02:13 -07:00
Amit Pawar
44ff1b7e78 Merge "Fix #62169466 bug report sharing options empty" into oc-dev am: 4d473c65cb
am: e775158c6b

Change-Id: Ice0e3330502330dde934d7e7544e466fcffcacca
2017-05-30 20:39:37 +00:00
Amit Pawar
e775158c6b Merge "Fix #62169466 bug report sharing options empty" into oc-dev
am: 4d473c65cb

Change-Id: I13b21aa8b731e09d22955d177589635427c1fb39
2017-05-30 20:28:39 +00:00
Amith Yamasani
1d6e1759d2 Fix #62169466 bug report sharing options empty
Was caused by a new requirement to not offer to show
non-exported intent handlers as options. For first
time warning dialog, don't show a chooser activity.

Change-Id: Ibada9a7a14b77ec0670bf35ba0944f369d42bf69
Fixes: 62169466
Test: manual
Test: mmm -j32 frameworks/base/packages/Shell && adb install -r -g ${OUT}/data/app/ShellTests/ShellTests.apk && adb shell am instrument -e class com.android.shell.BugreportReceiverTest$1 -w com.android.shell.tests/android.support.test.runner.AndroidJUnitRunner
2017-05-30 20:04:32 +00:00
Makoto Onuki
72f378d0c1 Merge "Working around bugreport crash issues" into oc-dev am: 5176a4cda3
am: 44cb1486f3

Change-Id: I70495f11952e9d234d74fa3fd7149dec70fb7350
2017-05-25 18:27:52 +00:00
Makoto Onuki
44cb1486f3 Merge "Working around bugreport crash issues" into oc-dev
am: 5176a4cda3

Change-Id: Id5f50a4fad73b51079685b86839ccbe9912c2148
2017-05-25 18:19:18 +00:00
Makoto Onuki
22291dde0a Working around bugreport crash issues
Overall we need more synchronization, but I'm taking a safe approach
here for oc-dev for now.

Bug: 62043115
Test: adb shell am instrument -w com.android.shell.tests
Change-Id: I0e22c5160cb96ce51dc1775237f01b7bf5c97a17
2017-05-25 00:24:58 +00:00
Felipe Leme
2127630a7d Merge "Fixed assertions on bugreport share notification." into oc-dev am: 39b375c9db
am: 6fbbedb6be

Change-Id: I36b5fcffeb58e83236553137f92bcc64104c0381
2017-05-24 21:53:58 +00:00
Felipe Leme
6fbbedb6be Merge "Fixed assertions on bugreport share notification." into oc-dev
am: 39b375c9db

Change-Id: I90ec303a24376b63b59dbc0035f56058c062a2af
2017-05-24 21:46:30 +00:00
Felipe Leme
6540574ecc Fixed assertions on bugreport share notification.
Fixes: 36698286
Test: mmm -j32 frameworks/base/packages/Shell && adb install -r -g ${OUT}/data/app/ShellTests/ShellTests.apk && adb shell am instrument -e class com.android.shell.BugreportReceiverTest$1 -w com.android.shell.tests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I0f3586309103a07afca5be3d1e3073d8a5dd04ec
2017-05-24 11:58:17 -07:00
Ben Lin
14ec967020 Merge "Make BugreportStorageProvider subclass FileSystemProvider." 2017-05-24 00:12:15 +00:00
Bryce Lee
1cb141c3a8 Merge "Add new task flag when starting chooser activity in bug report." into oc-dev am: 2981584b12
am: 9b16304f30

Change-Id: Ia42d9e20ed7fc1572ca21b7caa2e13439a93070e
2017-05-23 19:42:34 +00:00
Bryce Lee
9b16304f30 Merge "Add new task flag when starting chooser activity in bug report." into oc-dev
am: 2981584b12

Change-Id: Ic3e10886851b94eb79202b404368c6c7696ca986
2017-05-23 19:35:35 +00:00
Bryce Lee
6483b86a92 Add new task flag when starting chooser activity in bug report.
This flag is required whenever starting an activity from a
non-activity context.

Change-Id: Ia77e6e7801d712a20d407bc2ac92e543bc287010
Fixes: 62016780
Test: Click on generated bug report notification
2017-05-23 09:02:09 -07:00
Ben Lin
d8235e2647 Make BugreportStorageProvider subclass FileSystemProvider.
This allows it to gain all the benefits of FSP, ie. listening in on
File-system level changes without any explicitly notification Uri
passing back and forth.

This also reverts commit 6c9ff513c6d7d3de7ab8920d88111c2b1dc1bb1f.

Test: Manual test.
Bug: 38183534
Change-Id: I30a1d8489ec8732bdb80611bd8fa7099763de2a3
2017-05-22 17:15:51 -07:00
Bill Yi
816dcfc5a1 Import translations. DO NOT MERGE
Change-Id: I45ac4cb992313e5eecd6c1af90b8c4181738e4c7
Auto-generated-cl: translation import
2017-05-10 21:38:49 -07:00
Bill Yi
eaf1ab6a90 Import translations. DO NOT MERGE
Change-Id: I6e0931e889755b20c3a8f486fbe7d6fc9bbe22bd
Auto-generated-cl: translation import
2017-05-08 23:15:12 -07:00
Bill Yi
f16b3529d2 Import translations. DO NOT MERGE
Change-Id: If07572e1b86e9171b2e8075348cb34920c5799be
Auto-generated-cl: translation import
2017-05-04 17:53:11 -07:00
Bill Yi
b5fcd9031d Import translations. DO NOT MERGE
Change-Id: Ia06f4c8f73b012dbfd17c0681ea17d7eaa2c3137
Auto-generated-cl: translation import
2017-04-29 10:01:47 -07:00
TreeHugger Robot
762f79e579 Merge "Import translations. DO NOT MERGE" 2017-04-27 19:55:52 +00:00
Makoto Onuki
db7bd128e4 Merge "Only show progress log every 10%" into oc-dev am: b4e05340e4
am: ceb39b04e5

Change-Id: I5c7148c5a1ef4ceca4ec4e341d92685c2f2131c3
2017-04-26 23:39:38 +00:00
Makoto Onuki
ceb39b04e5 Merge "Only show progress log every 10%" into oc-dev
am: b4e05340e4

Change-Id: Iae1786f56313537acddd5b7ad5aaa1ae9510a5da
2017-04-26 23:29:27 +00:00
Bill Yi
e08f35e5fa Import translations. DO NOT MERGE
Change-Id: I2dbeef826cc19ae801ea7670132d9ee7fdc5abd1
Auto-generated-cl: translation import
2017-04-26 00:20:11 -07:00
Makoto Onuki
c6cf2b8072 Only show progress log every 10%
Bug: 37501913
Test: manual
Change-Id: Ib7d14da0af33d39aa29b0b58c63c51e1059e0ada
2017-04-21 12:01:03 -07:00
Bill Yi
88ab6c1304 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-12 20:19:39 +00:00