Commit Graph

80306 Commits

Author SHA1 Message Date
Android Build Merger (Role)
995b131ef9 Merge "Merge "Allow VR Virtual display to rotate with content." into oc-dr1-dev am: 9747b4ace5 am: f251056e0d" 2017-06-27 19:02:34 +00:00
Alex Sakhartchouk
07d9516d21 Merge "Allow VR Virtual display to rotate with content." into oc-dr1-dev am: 9747b4ace5
am: f251056e0d

Change-Id: I04d20a7cec15e321efd688b0dd7a5c740033cd99
2017-06-27 19:01:33 +00:00
TreeHugger Robot
77198fa260 Merge "Strip extenders on android go devices." 2017-06-27 19:00:27 +00:00
Udam Saini
9981053810 Merge "Adds necessary permissions to system apis" 2017-06-27 17:59:21 +00:00
Julia Reynolds
8a3b459765 Strip extenders on android go devices.
Test: runtest notification-systemui
Bug: 35219985
Change-Id: I5a2d25c4ea33510c397b351d3604bd3f23f81521
2017-06-27 13:19:15 -04:00
Alex Sakhartchouk
f251056e0d Merge "Allow VR Virtual display to rotate with content." into oc-dr1-dev
am: 9747b4ace5

Change-Id: I5e5ad0d619a844b445f21bc0272b5cdcf5604b78
2017-06-27 17:08:26 +00:00
TreeHugger Robot
9747b4ace5 Merge "Allow VR Virtual display to rotate with content." into oc-dr1-dev 2017-06-27 16:59:39 +00:00
TreeHugger Robot
2789536500 Merge changes Ie79ce57c,I003dd7c9,Ibb0f4504
* changes:
  Assume virtual devices always have USB connection.
  Allocate well-known tag for app store updates.
  Add @TestApi for StrictMode tests.
2017-06-27 16:15:48 +00:00
Bryce Lee
f9403a6fa1 Merge "Add aborted start result." into oc-dev am: 8796c20dae am: 943794bb70
am: ee289616fb

Change-Id: I1b69a9fb813e2cab1a3c8b496ea5b753cdf3abe6
2017-06-27 04:31:39 +00:00
Bryce Lee
ee289616fb Merge "Add aborted start result." into oc-dev am: 8796c20dae
am: 943794bb70

Change-Id: I9bf7aa7a5b1e8fbf7ccdea5a883c0ce98fa8f3ff
2017-06-27 04:27:08 +00:00
Bryce Lee
943794bb70 Merge "Add aborted start result." into oc-dev
am: 8796c20dae

Change-Id: I849ea5bfce87bd6a9264308e40242f6a2026713c
2017-06-27 04:20:35 +00:00
Bryce Lee
8796c20dae Merge "Add aborted start result." into oc-dev 2017-06-27 04:14:26 +00:00
Jeff Sharkey
f23a5e104b Allocate well-known tag for app store updates.
This way an app store can shift blame for update-related network
traffic onto the app that is being updated.

Using a well-known tag makes it easy for developers to identify
that they didn't explicitly request the traffic at runtime, similar
to how backup/restore traffic is handled.

Bug: 38282350
Test: builds, boots
Change-Id: I003dd7c9615d4ab318250f1e44fa5d195ac94d23
2017-06-26 19:50:48 -06:00
Jeff Sharkey
ddc3bfddd4 Add @TestApi for StrictMode tests.
Bug: 62037127
Test: builds, boots
Change-Id: Ibb0f450400bc498c2b4d4fe3399c7e4d573eef60
2017-06-26 19:39:20 -06:00
Jeff Davidson
5526fa1ce7 Merge "Pass calling package to resolution UI." into oc-dr1-dev am: 776220d029
am: f60773b22d

Change-Id: I4d21f823af658701f7ffda1671d22eeee761cb57
2017-06-27 01:00:05 +00:00
Jeff Davidson
f60773b22d Merge "Pass calling package to resolution UI." into oc-dr1-dev
am: 776220d029

Change-Id: I9896d70fea9d69025c1a77d634333d160a71acb6
2017-06-27 00:53:58 +00:00
TreeHugger Robot
776220d029 Merge "Pass calling package to resolution UI." into oc-dr1-dev 2017-06-27 00:48:39 +00:00
Phil Weaver
53a8e4370a Merge "Clean up popup window titles" 2017-06-27 00:39:30 +00:00
Makoto Onuki
11e9ed87f7 Merge "Fix activity icon badging for non-bitmap icons" into oc-dev am: 9f607f4c0b am: eb63919bc4
am: 9b723d886e

Change-Id: If824cafb12f37555fc433512d1fd02ab107f4355
2017-06-27 00:35:31 +00:00
Udam Saini
0e94c360f8 Adds necessary permissions to system apis
adds privileged permission for getCaptivePortalServerUrl
adds tether privileged permission for
startTethering,isTetheringSupported

bug:62348162

Test: make and manual testing
Change-Id: I8eb8e3c9dcd7201abe9ea303ee57fe99073d67eb
2017-06-26 17:27:36 -07:00
Makoto Onuki
bb55e3e2e4 Merge "Whitelist ACTION_QUICK_CONTACT from StrictMode.onFileUriExposed" into oc-dr1-dev
am: c4ccefc7fd

Change-Id: I2701f1fc12d487d23200ef8e5509535656fe27fe
2017-06-26 23:53:00 +00:00
TreeHugger Robot
c4ccefc7fd Merge "Whitelist ACTION_QUICK_CONTACT from StrictMode.onFileUriExposed" into oc-dr1-dev 2017-06-26 23:49:07 +00:00
Makoto Onuki
9b723d886e Merge "Fix activity icon badging for non-bitmap icons" into oc-dev am: 9f607f4c0b
am: eb63919bc4

Change-Id: Ie035bcafa71e4b8d2e2e839212b001dc4c1d00f7
2017-06-26 23:36:48 +00:00
Makoto Onuki
eb63919bc4 Merge "Fix activity icon badging for non-bitmap icons" into oc-dev
am: 9f607f4c0b

Change-Id: Ie8b426c14fa30b7c2f5eadc5818e1dfd16f8c0a5
2017-06-26 23:31:59 +00:00
Bryce Lee
f9d4954f30 Add aborted start result.
Previously, we were returning START_SUCCESS when ActivityStarter
aborted launching the activity. This hides this activity and makes it
harder to debug.

This CL adds a new start result type to capture this internally.

Bug: 38121026
Test: manual
Test: go/wm-smoke
Change-Id: I97699b22b1eff476724c48db0c29daa0566ad280
2017-06-26 16:27:32 -07:00
TreeHugger Robot
9f607f4c0b Merge "Fix activity icon badging for non-bitmap icons" into oc-dev 2017-06-26 23:25:17 +00:00
Phil Weaver
dd6978545f Clean up popup window titles
Removing the recently-added APIs to adjust the title for
the popup window, and moving setting the title to
preparePopup(), which is guaranteed to have a context.
(The bug is a crash because we didn't have a context.)

Apps wishing to specify their own title can still do so
in the LayoutParams without bothering with the get/set.

Bug: 62675086
Test: With TalkBack running, navigate to Settings->
Network & Internet. Select the more options button and
double-tap to select it. It now announces "Popup Window".

Change-Id: I9735ace42c24ef4977d3f4d5150f768d44aff351
2017-06-26 15:32:21 -07:00
TreeHugger Robot
8ad1d78023 Merge "Implement key/value quota-overrun detection in LocalTransport" 2017-06-26 22:26:17 +00:00
Makoto Onuki
c36d04179a Merge "Merge "Log sync details to rotating log files (userdebug/eng only)" into oc-dr1-dev am: c4e8720eb2" into oc-dr1-dev-plus-aosp
am: 54805b7467

Change-Id: I8e6c29906a3d5f8814a89ad419146e5b8eff9e4c
2017-06-26 21:25:30 +00:00
Makoto Onuki
7edc7569b7 Merge "Log sync details to rotating log files (userdebug/eng only)" into oc-dr1-dev
am: c4e8720eb2

Change-Id: Ib24297e8ca16f1f9db5f6951438f4f7006e545c7
2017-06-26 21:15:26 +00:00
Tomasz Wasilczyk
319f81c83c Merge "Remove previous implementation of RadioService." 2017-06-26 20:58:52 +00:00
TreeHugger Robot
c4e8720eb2 Merge "Log sync details to rotating log files (userdebug/eng only)" into oc-dr1-dev 2017-06-26 20:58:29 +00:00
Christopher Tate
c8a9d421a5 Implement key/value quota-overrun detection in LocalTransport
We now preflight the effect of a k/v backup delta set against the
current contents of the datastore, so we can detect and report a
quota overrun nondestructively.

Test: bit CtsBackupTestCases:.KeyValueQuotaTest
Change-Id: If69687b891271d7bbb46c3a66728b716dc51fc39
2017-06-26 13:31:57 -07:00
Christine Franks
8d901bf872 Merge "Add ACTION_DISMISS_TIMER intent" into oc-dr1-dev am: ca4def2ac8
am: 21e21efcf9

Change-Id: Iaab165b6465d15f0a960144798c1920fd30ab688
2017-06-26 19:52:26 +00:00
Christine Franks
21e21efcf9 Merge "Add ACTION_DISMISS_TIMER intent" into oc-dr1-dev
am: ca4def2ac8

Change-Id: I9b847d08144f484bb68a293c0be258fb52fdeb92
2017-06-26 19:41:24 +00:00
Jeff Sharkey
adcd1fe0f6 Merge "Progress towards FBE and adoptable storage." 2017-06-26 17:41:47 +00:00
Gustav Sennton
beec08679b Use classloader namespace instead of lib paths to load WebView libs.
When loading WebView's native libraries we now have a classloader
pointing to the namespace of thise libraries - so we no longer need to
explicitly reference those libraries by their path names.

Bug: 62860565
Test: Start a WebView-using app. Ensure that libwebviewchromium.so is
loaded into the app process.

Change-Id: I205131f4b5fac7c33374560515b85ddef19a7ce9
2017-06-26 16:05:33 +01:00
Christine Franks
c99c0e2297 Add ACTION_DISMISS_TIMER intent
Bug: 38475809
Test: manual - visual inspection of code
Change-Id: I9e58c9699fc2e6afad38db6b44f2e2b649564327
2017-06-26 14:34:47 +00:00
Richard Uhler
a18500b508 Fix bug in reporting SwapPss in dumpsys meminfo.
am: a178205e8b

Change-Id: I49c805c6fab673008b18a5a8deb256ec2a5fb970
2017-06-26 09:01:32 +00:00
TreeHugger Robot
e59243772a Merge "Fix bug in reporting SwapPss in dumpsys meminfo." 2017-06-26 06:36:36 +00:00
Richard Uhler
a178205e8b Fix bug in reporting SwapPss in dumpsys meminfo.
Bug: 29875093
Test: Run dumpsys meminfo -a, verify SwapPss adds up and is non-zero
      for dalvik and native.

Change-Id: I79d0b6a59bf5f4e73f75f0b9540ec0fcc9e23b02
2017-06-26 06:34:04 +00:00
Phil Weaver
da3774ea41 Merge "Protect a11y against multi-threaded UIs" into oc-dr1-dev
am: 10a41f9b12

Change-Id: I24be95a742543ebb89c51a177af8875ce2dc7b43
2017-06-24 05:16:33 +00:00
TreeHugger Robot
10a41f9b12 Merge "Protect a11y against multi-threaded UIs" into oc-dr1-dev 2017-06-24 04:44:12 +00:00
Selim Cinek
f5583930f6 Merge "Fixed an issue in the contrast calculation" into oc-dev am: 9bf5c0c3e1 am: 12a2a7d0f1
am: ec85913a74

Change-Id: I41d8577da4a6ca93252027bd85ee632decaae56f
2017-06-24 01:16:06 +00:00
Selim Cinek
ec85913a74 Merge "Fixed an issue in the contrast calculation" into oc-dev am: 9bf5c0c3e1
am: 12a2a7d0f1

Change-Id: Ice72e01f1ce2a38739c4306b9df4ab33bc16b2c9
2017-06-24 01:05:22 +00:00
Selim Cinek
12a2a7d0f1 Merge "Fixed an issue in the contrast calculation" into oc-dev
am: 9bf5c0c3e1

Change-Id: Ic93f722459de8da30b9b2f8971dfd0b650e37f10
2017-06-24 00:55:48 +00:00
Selim Cinek
ff122e750c Merge "Fixed an issue in the contrast calculation" into oc-dev
am: 9bf5c0c3e1

Change-Id: I9f1dc8c2c6d2ad461efc2722a5b1829f753dfcd4
2017-06-24 00:55:46 +00:00
Selim Cinek
9bf5c0c3e1 Merge "Fixed an issue in the contrast calculation" into oc-dev 2017-06-24 00:44:13 +00:00
Selim Cinek
4c80791919 Fixed an issue in the contrast calculation
The parameters were passed the wrong way around.

Test: manual inspection
Fixes: 62937149
Change-Id: I7ae2bb2a4136da37d6b59b2b1406c68ce7fe7b6b
2017-06-23 17:29:50 -07:00
Jeff Sharkey
a65e6491e4 Progress towards FBE and adoptable storage.
Offer to adopt storage devices on FBE devices, but keep it guarded
behind a system property for now, since we still need to work out key
storage details.

Verify that all users are unlocked before moving apps or shared
storage.  We only need them to be unlocked; we don't need them to
be actually running.

Have PackageManager dump the set of volumes that it's finished
scanning and loading, since otherwise CTS can get excited and race
too far ahead of it.  Add a specific error code to communicate
that users are locked.

Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest
Bug: 37436961, 29923055, 25861755, 30230655
Change-Id: I749dc3d8148e1a95d8bc4be56665253ef826d3fe
2017-06-23 16:35:15 -06:00