607 Commits

Author SHA1 Message Date
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
Jeff Sharkey
b758d37338 Merge "Grant Shell ability to clear cached app data." into oc-dev am: 1f58ad1a2f
am: 003572c3c8

Change-Id: Ifcb2d020b44fd69c08e411e5ace3d054887565eb
2017-04-11 23:30:12 +00:00
Jeff Sharkey
003572c3c8 Merge "Grant Shell ability to clear cached app data." into oc-dev
am: 1f58ad1a2f

Change-Id: Ieb4f37b861b9fd5a49d30d607de5589a355aa67d
2017-04-11 23:21:20 +00:00
Jeff Sharkey
a4daf89f0f Grant Shell ability to clear cached app data.
It already has CLEAR_APP_USER_DATA to clear everything inside app
storage, and clearing cached data is a subset of that.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 36731175
Change-Id: Iefc5be6c80e2562a95424fd6fe413bdb018201a9
2017-04-11 13:03:54 -06:00
Bill Yi
fbfa8d152f Import translations. DO NOT MERGE
Change-Id: I9b511db2ea0cb1976da208ff2aed2b48309a8784
Auto-generated-cl: translation import
2017-04-11 11:46:06 -07:00
Bill Yi
0ce53e517b Import translations. DO NOT MERGE
Change-Id: I9a94d8ec49ccccaa96264255fb25880194d8b1d1
Auto-generated-cl: translation import
2017-04-07 18:13:06 -07:00
Bill Yi
a26fc4989b Import translations. DO NOT MERGE
Change-Id: I607c98eb9f7d6c2b0df215be63e3f4431d911d5f
Auto-generated-cl: translation import
2017-04-07 18:09:24 -07:00
TreeHugger Robot
9b4a020d35 Merge "Change test type from InstrumentationTest to AndroidJUnitTest" 2017-04-01 01:22:46 +00:00
Winson Chung
c3bb1cecd0 Merge "Removing unnecessary permission." into oc-dev am: 26437c0f22
am: d889ca83c8

Change-Id: I50dd54a704707d64607e8ba3588e23c02056cb1b
2017-04-01 00:55:34 +00:00
Winson Chung
d889ca83c8 Merge "Removing unnecessary permission." into oc-dev
am: 26437c0f22

Change-Id: I877a50a58ede582ee446160b3adbc8713a60b9ee
2017-04-01 00:50:43 +00:00
Winson Chung
26437c0f22 Merge "Removing unnecessary permission." into oc-dev 2017-04-01 00:42:54 +00:00
Karthik Ravi Shankar
d7e1195435 Merge changes from topic 'launch-2d-activities-vr' into oc-dev am: f04d039584
am: d020369b77

Change-Id: I42e7ebe0f930457391caced6ed2e14c668aab41a
2017-04-01 00:12:12 +00:00
Karthik Ravi Shankar
d020369b77 Merge changes from topic 'launch-2d-activities-vr' into oc-dev
am: f04d039584

Change-Id: I820ec3a9c1379bf9bcc688e36bcfeb00ac753a22
2017-04-01 00:01:31 +00:00
TreeHugger Robot
f04d039584 Merge changes from topic 'launch-2d-activities-vr' into oc-dev
* changes:
  Allow shell uid to access Vr APIs
  Add vr persistent mode enable/disable
  Launch 2D activities in VR mode
2017-03-31 23:48:22 +00:00
Dan Shi
1fee398b88 Change test type from InstrumentationTest to AndroidJUnitTest
Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#

Bug: 35882476
Test: local test

Change-Id: Ic3c4c7a9d29ef9d32a407f31cfc93c5e43650297
2017-03-31 16:02:33 -07:00
Winson Chung
e3ce20865c Removing unnecessary permission.
Bug: 36507456
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testFinishPipActivityWithTaskOverlay
Change-Id: I351b7afd648ceb0a200c01fa318c9a56dbe64a96
2017-03-31 14:03:39 -07:00
Karthik Ravi Shankar
ebc1b48922 Allow shell uid to access Vr APIs
Some of the Vr APIs in VrManagerService need to be accessed via shell to
be used for testing and for easy access. Add
android.permission.RESTRICTED_VR_ACCESS to shell uid.

Bug: 36071574
Test: adb shell vr set-persistent-vr-mode-enabled true
      adb shell dumpsys vrmanager
      >> Persistent VR mode is currently: enabled
      adb shell vr set-persistent-vr-mode-enabled false
      adb shell dumpsys vrmanager
      >> Persistent VR mode is currently: disabled

Change-Id: I486fa19f93d5c6999aa479fdf7e5f2f48f765240
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
2017-03-31 08:37:13 -07:00
Bill Yi
a06a809423 Import translations. DO NOT MERGE
Change-Id: I0464cc4b75e0258a5928867ab11e9c47a2b69319
Auto-generated-cl: translation import
2017-03-31 00:57:17 -07:00
Bill Yi
d40296804f Import translations. DO NOT MERGE
Change-Id: Ibfaa2fff382d377c4255c0407f552940dbf541df
Auto-generated-cl: translation import
2017-03-31 00:54:01 -07:00
Winson Chung
6954fc9a7e Fix issue with task overlay activities not finishing.
- The task overlay activity should only exist when there are activities
  present in the task.  When the last such activity is finished, we should
  remove the whole task entirely including the task overlay.
- Exposing the task overlay apis to CTS

Bug: 36507456
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testFinishPipActivityWithTaskOverlay
Change-Id: I1dabe7782fb6769a90d832664e8052be158041e1
2017-03-27 13:34:53 -07:00
Dmitri Plotnikov
dbf544f271 Merge "Adding TV-specific strings" 2017-03-24 15:59:00 +00:00
Dmitri Plotnikov
7ded2670fc Adding TV-specific strings
Bug: 36175844
Test: generate a bugreport and check the notification description
Change-Id: I0030d51e566cc2d68b4c87a9e7d7cbb0d5a21ac1
2017-03-23 16:33:55 -07:00
TreeHugger Robot
20fd49d8c7 Merge "Import translations. DO NOT MERGE" 2017-03-23 15:47:40 +00:00
Naveen Kalla
ca3d5434e8 Add API to request Bug Report with a certain title and description
ActivityManagerService will send the details to dumpstate and
BugreportProgressService will get the details from dumpstate and use
that for the notification.

Bug: 33561517
Test: Modify TelephonyMonitor to use this API and ensure that the
      notification uses that the title and description sent as arguments
      to the API. File a bug using betterBug and ensure that the
      information gets populated automatically.

Change-Id: I455f1df2278e5d569dd19c74245a0704dcf5a321
2017-03-23 12:06:04 +00:00
Bill Yi
ffdad377ee Import translations. DO NOT MERGE
Change-Id: I8451447e8a1f2409de44f4f7e26f83562e9a83ab
Auto-generated-cl: translation import
2017-03-23 00:56:16 -07:00