Commit Graph

328471 Commits

Author SHA1 Message Date
Robert Quattlebaum
dfd6889a84 Updates and fixes to android.net.lowpan
This commit is an incremental improvement to the LoWPAN support API.

Bug: b/33073713
Test: Successfully ran unit tests from Ib3750be5052bf1a90bf871756e9121b047d3871f
Change-Id: I7ca6374b6a7135411eadf631bd7d84d7dc008203
2017-07-10 11:07:08 -07:00
Android Build Merger (Role)
ff09314508 Merge "Merge "Clean up dismiss target when last activity is unpinned." into oc-dr1-dev am: 65a3b2ccc4 am: 3bf4b6f1fe" 2017-06-22 03:58:36 +00:00
TreeHugger Robot
1e7ffc1104 Merge "Always run the intent filter verifier in USER_SYSTEM" 2017-06-22 03:55:54 +00:00
Winson Chung
507a090cac Merge "Clean up dismiss target when last activity is unpinned." into oc-dr1-dev am: 65a3b2ccc4
am: 3bf4b6f1fe

Change-Id: I1228208bf54897ed967956d227a40c1cb046c63f
2017-06-22 03:55:44 +00:00
Winson Chung
3bf4b6f1fe Merge "Clean up dismiss target when last activity is unpinned." into oc-dr1-dev
am: 65a3b2ccc4

Change-Id: I576f611e4a1a6567e7cd2e80b4f5575ba99e2f4d
2017-06-22 03:48:45 +00:00
TreeHugger Robot
65a3b2ccc4 Merge "Clean up dismiss target when last activity is unpinned." into oc-dr1-dev 2017-06-22 03:43:48 +00:00
Meng Wang
8f7ff0d60e Use "%s Wi-Fi" as WFC SPN for 302-{720,370} am: 1b7ff89852
am: dcc8d1566d

Change-Id: I615367219830db098c6cc2e77b90edfeec1c73b5
2017-06-22 03:35:45 +00:00
Meng Wang
dcc8d1566d Use "%s Wi-Fi" as WFC SPN for 302-{720,370}
am: 1b7ff89852

Change-Id: I3bf10404abc67b4f0284ee78cb4b63c1bd17cc5a
2017-06-22 03:29:11 +00:00
TreeHugger Robot
0678bae03d Merge "Add additional tests for Algiers and Ceuta timezones" 2017-06-22 02:54:32 +00:00
TreeHugger Robot
ba78471fec Merge "Ensure minimized state is false when dock is gone on exists change" 2017-06-22 01:51:17 +00:00
TreeHugger Robot
f4e0e71f66 Merge "AAPT2: Update the name of the configuration struct." 2017-06-22 01:19:18 +00:00
Winson Chung
9b91941368 Clean up dismiss target when last activity is unpinned.
Bug: 37309693
Test: Enter PIP, drag to show dismiss target, force kill application and
      ensure target is hidden.

Change-Id: Ia41f8252e32a2ff3396796562874a6c47777030d
2017-06-22 01:00:19 +00:00
Naveen Kalla
402da436a3 Add additional tests for Algiers and Ceuta timezones
Algiers should show "Central European Standard Time" and
Ceuta should show "Central European Summer Time" as per
PTCRB test 44.2.9.1.1

Bug: 62077986
Test: runtest -x f/b/p/S/t/i/s/c/a/s/u/ZoneGetterTest.java
Change-Id: Ief59835ef078f31c447d7bba58632c04865dec74
2017-06-22 00:47:54 +00:00
Sungsoo Lim
b82b7046ff Merge "Restore the selected route when an app starts to make sound" 2017-06-22 00:11:54 +00:00
Christopher Ferris
30be8d998a Merge "Add a common call when wrapping an app." 2017-06-22 00:08:36 +00:00
TreeHugger Robot
153a1bdd4b Merge "Eliminate the inconsistency between the states of AMS and TSMS" 2017-06-21 23:45:54 +00:00
Shane Farmer
280be34fa6 AAPT2: Update the name of the configuration struct.
Make the Configuration struct name less ambiguous. Also ran clang-format
on the change since some lines were too long and this resulted in a
bigger diff than expected.

Test: built manually
Test: ran existing unit tests
Change-Id: I85e78041fa78d913d47a26c85ad48b05bf935a6a
2017-06-21 16:13:02 -07:00
TreeHugger Robot
7cdccf9f2f Merge "AAPT2: Split APK by ABI." 2017-06-21 23:03:11 +00:00
Christopher Tate
f291e63800 Always run the intent filter verifier in USER_SYSTEM
The temporary whitelisting of the intent filter verifier was not
taking effect when an app install was applied to all users, because
the USER_ALL userid argument was not applicable downstream in the
whitelist-package-within-user code flow.  The verifier is located
explicitly in the system user anyway; we do not need to try to
launch or whitelist it in a per-target-user manner.

In addition, the whitelisting operation is now synchronous to avoid
any slight race between delivery of the verification broadcast and
application of the new whitelist state.

Bug 62814249
Test: manual

Change-Id: I051277dad6c541d0aa6bcdd824ad3cce4b20b269
2017-06-21 15:29:15 -07:00
Tomasz Wasilczyk
68f25c19b8 Merge "Implement hasControl/isClosed call of ITuner." 2017-06-21 22:24:25 +00:00
Meng Wang
1b7ff89852 Use "%s Wi-Fi" as WFC SPN for 302-{720,370}
Bug: 62647106
Test: make
Change-Id: I109f4b78446f96a5cb10e0fc84935ad180c9146c
2017-06-21 15:14:14 -07:00
Matthew Fritze
fe22579b83 Merge "Add enum to log psd bundle creation duration." into oc-dr1-dev am: 736ba78a6e
am: 5686fd54aa

Change-Id: Ia29b0a4debdd9867372519da732bcc1f9dea89ed
2017-06-21 21:57:29 +00:00
Tomasz Wasilczyk
701b7e50c7 Merge "Implement HAL death monitoring." 2017-06-21 21:53:22 +00:00
Matthew Fritze
5686fd54aa Merge "Add enum to log psd bundle creation duration." into oc-dr1-dev
am: 736ba78a6e

Change-Id: I2b7421274bfd657575cc58ad6a0e35fd521e25d0
2017-06-21 21:51:49 +00:00
Guliz Tuncay
787aa8c0db Eliminate the inconsistency between the states of AMS and TSMS
If spell checker service (SCS) is killed for some reason, TSMS
accidentally clears the internal bindings to SCS even though it does not
programmatically unbind them. When SCS is restarted, the seemingly-dead
connections are re-established but TSMS’s internal bind groups
structures do not keep track of them anymore. This results in
inconsistency between the internal data structures of activity manager
services (AMS) and TSMS. TSMS shows no bindings anymore, whereas AMS
shows there is active spell checker service connections. The fix is to
not remove a bind group at onServiceDisconnect and only set the bind
group's connected state to false.

Fixes: 37434113
Test: Manual as follows.
      1. Build and flash an OS image.
      2. Complete the setup wizard (if any).
      3. Make sure AOSP Keyboard (com.android.inputmethod.latin)
       is installed.
      4. adb shell settings put secure selected_spell_checker com.android.inputmethod.latin/.spellcheck.AndroidSpellCheckerService
      5. Observe that there are no bindings to spell
       checker service (SCS) by running
       adb shell dumpsys textservices
      6. Observe that there is no connection to SCS by running
       adb shell dumpsys activity services com.android.inputmethod.latin
       There should be no ConnectionRecord for
       AndroidSpellCheckerService
      7. Run a test program that has TextView and tap on one of the
       TextViews and type some text.
      8. Repeat steps 5 and 6 to observe there are now bindings and
       connection to SCS.
      9. Kill SCS
        adb shell ps -A | grep com.android.inputmethod.latin | awk '{print $2}' | xargs adb shell kill -KILL
      10. Repeat steps 5 and 6 to observe that the bindings are the
       same as of Step 8 and there is still a connection to SCS.
Change-Id: I66de244f184ab0618944c129db4062d09f72e6d1
2017-06-21 21:50:30 +00:00
TreeHugger Robot
736ba78a6e Merge "Add enum to log psd bundle creation duration." into oc-dr1-dev 2017-06-21 21:47:35 +00:00
Tomasz Wasilczyk
7a9e593535 Merge "Implement client death monitoring." 2017-06-21 21:36:39 +00:00
TreeHugger Robot
91208fa8ec Merge "Added BaseAdapter.setAutofillOptions()" 2017-06-21 21:26:01 +00:00
Juan Lang
edfb219ba3 Merge "Add CustomDialogPreference and CustomEditTextPreference to SettingsLib." 2017-06-21 21:25:23 +00:00
Tomasz Wasilczyk
1a1838940b Merge "Notify AudioService on opened/closed radio tuner." 2017-06-21 21:23:57 +00:00
Shane Farmer
5766943f55 AAPT2: Split APK by ABI.
Added a FilterChain that can apply multiple filter steps to an APK file
as it is being written to disk. The first filter applied is by ABI. If
a library in the APK does not match the filter it is skipped.

Added an AbiFilter that keeps files that are either not native libs or
are for the set of wanted ABIs

Test: ran unit tests locally
Test: ran against an APK with ARM and x68 libs and diffed the results

Change-Id: I3fb901d3de3513e85f2a2763a8e4487a28ed4881
2017-06-21 14:10:23 -07:00
Dianne Hackborn
6a93509080 Merge "Work on issue #62065889: Assess thresholds and criteria for killing..." 2017-06-21 21:07:05 +00:00
Christopher Ferris
2980de4a59 Add a common call when wrapping an app.
When an application is wrapped using setprop wrap.<application>, it
doesn't set the special zygote flag, or make the mallopt call. This
means that a wrapped application will behave differently, and not
be able to track zygote native allocations versus app native allocations.

This CL adds a nativePreApplicationInit call that is used after the
Zygote is forked, and when a wrapped application is called.

Bug: 62068500

Test: Booted sailfish system. Verified that the zygote has not called
Test: the new function. Verified the function is called when a wrapper
Test: is used. Verified the function is called when the Zygote forks
Test: a process.
Change-Id: I392e1b5429be77def63f7815b072d68e9408cc7f
2017-06-21 13:49:29 -07:00
Bill Yi
c10f9d81f8 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: d5a305068a -s ours
am: 3d423a513d  -s ours

Change-Id: Ibd257f0e3a4379c5daff6d059a438b076a4f4b1a
2017-06-21 20:27:09 +00:00
Bill Yi
3d423a513d Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: d5a305068a  -s ours

Change-Id: Ieac3186dbb446b1d08ca96618a96b1c1493553c6
2017-06-21 20:19:33 +00:00
Android Build Merger (Role)
c1a3600446 Merge "Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: 52653734e3 -s ours am: 33cdae61b4 -s ours" 2017-06-21 20:17:01 +00:00
TreeHugger Robot
27ff616897 Merge "Add Lefty module connection in the framework." 2017-06-21 20:16:46 +00:00
Bill Yi
fe3b98846a Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: 52653734e3 -s ours
am: 33cdae61b4  -s ours

Change-Id: Ic9ed88f06f64635c3a99f5b0351f75842f243694
2017-06-21 20:14:08 +00:00
TreeHugger Robot
d5a305068a Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-06-21 20:11:38 +00:00
Bill Yi
33cdae61b4 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 52653734e3  -s ours

Change-Id: I7bb9c57df7c7723d48bd12432567ee97ba9295d8
2017-06-21 20:08:35 +00:00
TreeHugger Robot
262c2f7f66 Merge "Update string for network preference notification text" 2017-06-21 20:06:42 +00:00
TreeHugger Robot
e4758fcd92 Merge "Import translations. DO NOT MERGE" 2017-06-21 19:59:45 +00:00
TreeHugger Robot
e931deaddd Merge "Import translations. DO NOT MERGE" 2017-06-21 19:56:00 +00:00
TreeHugger Robot
52653734e3 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-06-21 19:50:25 +00:00
TreeHugger Robot
6a869a9c15 Merge "Import translations. DO NOT MERGE" 2017-06-21 19:47:28 +00:00
Felipe Leme
49a38c6f1c Added BaseAdapter.setAutofillOptions()
Also changed ArrayAdapter to use it, when set.

Fixes: 37518906
Test: cts-tradefed run commandAndExit cts-dev -m CtsWidgetTestCases  -t android.widget.cts.BaseAdapterTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsWidgetTestCases  -t android.widget.cts.ArrayAdapterTest
Test: m update-api

Change-Id: I5e883555b0fb9d084b57b9239595bf0632fc41af
2017-06-21 13:36:56 -06:00
TreeHugger Robot
f59b51870e Merge "Import translations. DO NOT MERGE" 2017-06-21 19:36:47 +00:00
Jeff Sharkey
4e01c0d2dd Merge "Fix searching for overridden methods." 2017-06-21 19:30:00 +00:00
Selim Cinek
28415def3e Merge "Merge "Fixed a bug where the panel could be stuck" into oc-dev am: e8dceabd98 am: 3a18b28ab0" into oc-dr1-dev-plus-aosp
am: 0b8e969f12

Change-Id: I4b4138231d1368068b2e32ef218cbd5d0e4740b2
2017-06-21 19:25:13 +00:00
Selim Cinek
313b2e84f7 Merge "Fixed a bug where the panel could be stuck" into oc-dev am: e8dceabd98 am: 9dfc970b63
am: 978f98a3e1

Change-Id: I3570a4fe8317c8524d341260ce18e8ab7fd462a6
2017-06-21 19:22:07 +00:00