OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add script to expedite running passing tests"
Christopher Wiley [Tue, 25 Oct 2016 23:06:51 +0000 (23:06 +0000)]
Merge "Add script to expedite running passing tests"
am: 4d1c2922f0

Change-Id: I1b85b8ffd3f6de26d3226f5b1e1475ad87e8def6

7 years agoMerge "Add script to expedite running passing tests"
Treehugger Robot [Tue, 25 Oct 2016 22:58:55 +0000 (22:58 +0000)]
Merge "Add script to expedite running passing tests"

7 years agoMerge "Add helper method to convert Bluetooth UUID to bytes"
Jakub Pawlowski [Tue, 25 Oct 2016 21:47:35 +0000 (21:47 +0000)]
Merge "Add helper method to convert Bluetooth UUID to bytes"
am: 8a0a58b218

Change-Id: I829135e559a9c3cf3c942258a16acee62c37c3ac

7 years agoMerge "Add helper method to convert Bluetooth UUID to bytes"
Jakub Pawlowski [Tue, 25 Oct 2016 21:36:38 +0000 (21:36 +0000)]
Merge "Add helper method to convert Bluetooth UUID to bytes"

7 years agoAdd script to expedite running passing tests
Christopher Wiley [Thu, 20 Oct 2016 19:33:31 +0000 (12:33 -0700)]
Add script to expedite running passing tests

Developers can run this script from within a shell where they have
source'd build/envsetup.sh and lunched a target.  It builds, installs,
and runs whitelisted test packages.

Bug: None
Test: This script is useful for iterating rapidly on unittests.

Change-Id: I44c32a0f75da1be2c69a8b1a67c0080a68def738

7 years agoAdd helper method to convert Bluetooth UUID to bytes
Jakub Pawlowski [Mon, 24 Oct 2016 20:56:54 +0000 (13:56 -0700)]
Add helper method to convert Bluetooth UUID to bytes

Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I7f646d1d357c51b82efc504a0e65d868ad363ddb

7 years agoMerge "Add unit tests for Tethering.isTetherProvisioningRequired"
Christopher Wiley [Tue, 25 Oct 2016 18:23:02 +0000 (18:23 +0000)]
Merge "Add unit tests for Tethering.isTetherProvisioningRequired"
am: 836ffa6e1c

Change-Id: I1dab386e3891c01a2917c32847d2aecdbfa10102

7 years agoMerge "Add unit tests for Tethering.isTetherProvisioningRequired"
Treehugger Robot [Tue, 25 Oct 2016 18:12:42 +0000 (18:12 +0000)]
Merge "Add unit tests for Tethering.isTetherProvisioningRequired"

7 years agoMerge "Update the docstring on getAllCellInfo() for unreported values"
nharold [Tue, 25 Oct 2016 00:57:36 +0000 (00:57 +0000)]
Merge "Update the docstring on getAllCellInfo() for unreported values"
am: 88d0a95c74

Change-Id: Ib482a5398776473ccb97c4df96115fc3763c782f

7 years agoMerge "Update the docstring on getAllCellInfo() for unreported values"
nharold [Tue, 25 Oct 2016 00:48:40 +0000 (00:48 +0000)]
Merge "Update the docstring on getAllCellInfo() for unreported values"

7 years agoAdd unit tests for Tethering.isTetherProvisioningRequired
Christopher Wiley [Tue, 11 Oct 2016 20:26:03 +0000 (13:26 -0700)]
Add unit tests for Tethering.isTetherProvisioningRequired

Check that we tolerate various dependencies not being available.

Bug: 31946071
Test: These are tests

Change-Id: Ic0a9cd6f255ba9ff4c774dee640df1a0bdf8dc39

7 years agoUpdate the docstring on getAllCellInfo() for unreported values
Nathan Harold [Mon, 24 Oct 2016 18:24:16 +0000 (11:24 -0700)]
Update the docstring on getAllCellInfo() for unreported values

In the event that not all fields are available for a particular
cell information report, those values are set to
Integer.MAX_VALUE. In addition, this docstring clarifies the
minimum expectation for what will be reported in all cases.

Bug: 32364031
Test: none
Change-Id: Ic5df72f69e5917eb495d349a380ced53a80408fa

7 years agoMerge "Allow operator/manufacturer setting to use priority"
Yoshinori Hirano [Mon, 24 Oct 2016 18:32:14 +0000 (18:32 +0000)]
Merge "Allow operator/manufacturer setting to use priority"
am: aef1a557aa

Change-Id: I81ccdc0910ab5298d5b54f3b8e390262d02225ea

7 years agoMerge "Allow operator/manufacturer setting to use priority"
Treehugger Robot [Mon, 24 Oct 2016 18:21:06 +0000 (18:21 +0000)]
Merge "Allow operator/manufacturer setting to use priority"

7 years agoMerge "PdfEditor: define LOG_TAG"
Mark Salyzyn [Mon, 24 Oct 2016 15:53:30 +0000 (15:53 +0000)]
Merge "PdfEditor: define LOG_TAG"
am: a3bb8e3cc7

Change-Id: Ide63ebe4228d7b7af05e20202baafdebf9699150

7 years agoMerge "PdfEditor: define LOG_TAG"
Treehugger Robot [Mon, 24 Oct 2016 15:47:32 +0000 (15:47 +0000)]
Merge "PdfEditor: define LOG_TAG"

7 years agoMerge "Avoid NPE around mReusedTask of ActivityStarter"
Shigeki Yokomichi [Mon, 24 Oct 2016 14:21:25 +0000 (14:21 +0000)]
Merge "Avoid NPE around mReusedTask of ActivityStarter"
am: f741f88284

Change-Id: I64701d06c2e15b0ad11018c233fce32dce1caa52

7 years agoMerge "Avoid NPE around mReusedTask of ActivityStarter"
Treehugger Robot [Mon, 24 Oct 2016 14:09:35 +0000 (14:09 +0000)]
Merge "Avoid NPE around mReusedTask of ActivityStarter"

7 years agoAvoid NPE around mReusedTask of ActivityStarter
Shigeki Yokomichi [Wed, 12 Oct 2016 09:35:17 +0000 (18:35 +0900)]
Avoid NPE around mReusedTask of ActivityStarter

Symptom:
System crash by NPE is observed on ActivityStarter
during phone boot-up.

Detail and sample:
ActivityStarter has possibility to be called itself recursively
by calling TaskRecord$performClearTaskLocked().
Then class variable of mReusedTask is initialized to null
after the call, because the recursive call isn't guarded by
synchronized block.
Then NPE crash occurs on next statement.

Solutions:
Avoid to use the class variable on null possibility statement.

Bug: 32361138

Change-Id: Iaea3e066a6f7134fcae4338ff864bb236241194c

7 years agoMerge "Create the WebViewZygote and implement WebViewZygoteInit."
Robert Sesek [Sat, 22 Oct 2016 03:12:18 +0000 (03:12 +0000)]
Merge "Create the WebViewZygote and implement WebViewZygoteInit."
am: 8be2850546

Change-Id: I608ea53be52cb91f0e8cf73998de4578b39e099a

7 years agoMerge "Create the WebViewZygote and implement WebViewZygoteInit."
Treehugger Robot [Sat, 22 Oct 2016 03:03:10 +0000 (03:03 +0000)]
Merge "Create the WebViewZygote and implement WebViewZygoteInit."

7 years agoMerge "Camera2 Legacy: catch more surface abandoned error"
Yin-Chia Yeh [Fri, 21 Oct 2016 21:07:44 +0000 (21:07 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error"
am: 03f14bef41

Change-Id: If2e05eeb8c7fe24f97fc0c5e20bfe03a6c8c9e23

7 years agoMerge "Camera2 Legacy: catch more surface abandoned error"
Treehugger Robot [Fri, 21 Oct 2016 20:36:29 +0000 (20:36 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error"

7 years agoPdfEditor: define LOG_TAG
Mark Salyzyn [Fri, 7 Oct 2016 19:13:43 +0000 (12:13 -0700)]
PdfEditor: define LOG_TAG

general cleanup of logging

Test: compile
Bug: 31992412
Change-Id: Ie2ec5a223bbb92e902bf6914100281b6d84500e3

7 years agoCamera2 Legacy: catch more surface abandoned error
Yin-Chia Yeh [Wed, 19 Oct 2016 20:53:33 +0000 (13:53 -0700)]
Camera2 Legacy: catch more surface abandoned error

Bug: 30140107
Change-Id: Ia293bdbb85c8078e17def55db9c599cfe70458db

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo"
Mathieu Chartier [Fri, 21 Oct 2016 17:20:27 +0000 (17:20 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"
am: 4a5789b9b1

Change-Id: I3e50c0e6a80bc221228dd8293ec8209ecf323123

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo"
Mathieu Chartier [Fri, 21 Oct 2016 17:07:37 +0000 (17:07 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"

7 years agoMerge "fix mistaken check of mScreenBrightnessDarkConfig"
liulvping [Fri, 21 Oct 2016 04:38:38 +0000 (04:38 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig"
am: e6fe836938

Change-Id: I4eda1d6aed52fa4d8cbcd1ade29e96f14e58bab7

7 years agoMerge "Switch on android.telecom.Log in Telecom"
Brad Ebinger [Fri, 21 Oct 2016 04:37:28 +0000 (04:37 +0000)]
Merge "Switch on android.telecom.Log in Telecom"
am: 37521b9ba5  -s ours

Change-Id: I1a624721f577be6b1cf684208cdeb4e0471e51f2

7 years agoMerge "fix mistaken check of mScreenBrightnessDarkConfig"
Treehugger Robot [Fri, 21 Oct 2016 03:50:15 +0000 (03:50 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig"

7 years agofix mistaken check of mScreenBrightnessDarkConfig
liulvping [Thu, 20 Oct 2016 11:51:38 +0000 (19:51 +0800)]
fix mistaken check of mScreenBrightnessDarkConfig

Change-Id: Ibd1234a5a69422f3124e72cd561d4f3624a82faf
Signed-off-by: liulvping <liulvping@xiaomi.com>
7 years agoSwitch on android.telecom.Log in Telecom
Brad Ebinger [Wed, 5 Oct 2016 22:47:28 +0000 (15:47 -0700)]
Switch on android.telecom.Log in Telecom

Move over the Runnable Class into android.telecom and turn on the
framework's usage in Telecom.
CP from: https://android-review.googlesource.com/#/c/287291/

Test: All Telecom unit tests pass. Manual Log testing has also been
confirmed to be working as it did before.
Bug: 26571395
Change-Id: If7e2036c746c5a953f3a77e2d625a423ce5bf8f3
(cherry picked from commit 9fbbd4052dee1dfa74b87502cec91cc51170d69d)

7 years agoMerge "Gradually increase the level of authentication on failed GATT operations."
Jacky Cheung [Thu, 20 Oct 2016 23:03:57 +0000 (23:03 +0000)]
Merge "Gradually increase the level of authentication on failed GATT operations."
am: 6071abdb92

Change-Id: If06babf4a23879acdfc358838cdc094d753c362b

7 years agoMerge "Switch on android.telecom.Log in Telecom"
Brad Ebinger [Thu, 20 Oct 2016 22:53:38 +0000 (22:53 +0000)]
Merge "Switch on android.telecom.Log in Telecom"

7 years agoMerge "Gradually increase the level of authentication on failed GATT operations."
Treehugger Robot [Thu, 20 Oct 2016 22:50:07 +0000 (22:50 +0000)]
Merge "Gradually increase the level of authentication on failed GATT operations."

7 years agoFix accounting for .vdex in dumpsys meminfo
Mathieu Chartier [Thu, 20 Oct 2016 22:38:55 +0000 (15:38 -0700)]
Fix accounting for .vdex in dumpsys meminfo

Before it was showing up in "Other mmap" instead. Now it is correctly
showing up in ".dex mmap".

Bug: 30937355
Test: N6P booting, dumpsys meminfo -d

Change-Id: I335dbb77414b395b14259aa7c68068f845a5eca1

7 years agoMerge "Adds registerSessionListener API to Log"
Brad Ebinger [Thu, 20 Oct 2016 22:09:30 +0000 (22:09 +0000)]
Merge "Adds registerSessionListener API to Log"
am: e3daed81eb

Change-Id: Ia42cba6a735170ce1aea653bd42b6f1182853819

7 years agoMerge "Adds registerSessionListener API to Log"
Brad Ebinger [Thu, 20 Oct 2016 21:51:53 +0000 (21:51 +0000)]
Merge "Adds registerSessionListener API to Log"

7 years agoGradually increase the level of authentication on failed GATT operations.
Jacky Cheung [Thu, 20 Oct 2016 20:55:21 +0000 (13:55 -0700)]
Gradually increase the level of authentication on failed GATT operations.

When lower layer returns insufficient authentication or insufficient
encryption on various GATT operations, gradually retry with increased
authentication level first to AUTHENTICATION_NO_MITM, then
AUTHENTICATION_MITM.

Test: ported from internal branch.

Change-Id: I6bcc4198ca493b7900ddd166a81d30cde896fa86

7 years agoMerge "Fix a static-analyzer warning."
George Burgess IV [Thu, 20 Oct 2016 19:19:15 +0000 (19:19 +0000)]
Merge "Fix a static-analyzer warning."
am: 63b4f6f5db

Change-Id: I85fd6d25733d59da76eb0bab381fdbd3b5a0430d

7 years agoMerge "Fix a static-analyzer warning."
Treehugger Robot [Thu, 20 Oct 2016 19:06:58 +0000 (19:06 +0000)]
Merge "Fix a static-analyzer warning."

7 years agoAdds registerSessionListener API to Log
Brad Ebinger [Tue, 18 Oct 2016 20:48:17 +0000 (13:48 -0700)]
Adds registerSessionListener API to Log

Adds the registerSessionListener API to android.telecom.Log to allow
callbacks to occur when a session has been fully completed.
CP from internal branch.

Test: Manual Testing
Bug: 26571395
Change-Id: I70ebd6f432768a5d7bd8f3a0997b8e0ef335bb35

7 years agoMerge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"
Andreas Huber [Wed, 19 Oct 2016 19:39:03 +0000 (19:39 +0000)]
Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"
am: 2202b164d8

Change-Id: I43bec2c6d3e6e4201f7a50981f428ef00f384684

7 years agoMerge "Use this.isUp() inside InterfaceConfiguration"
Christopher Wiley [Wed, 19 Oct 2016 19:31:57 +0000 (19:31 +0000)]
Merge "Use this.isUp() inside InterfaceConfiguration"
am: 239df3cc5a

Change-Id: Id6f064d7a74e41d757de2499653671fc830d217b

7 years agoMerge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"
Andreas Huber [Wed, 19 Oct 2016 19:30:28 +0000 (19:30 +0000)]
Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"

7 years agoMerge "Use this.isUp() inside InterfaceConfiguration"
Treehugger Robot [Wed, 19 Oct 2016 19:15:30 +0000 (19:15 +0000)]
Merge "Use this.isUp() inside InterfaceConfiguration"

7 years agoMerge "Hide QS customizer correctly"
Jason Monk [Wed, 19 Oct 2016 15:15:43 +0000 (15:15 +0000)]
Merge "Hide QS customizer correctly"
am: 03e4eb32fe

Change-Id: I8c1998de76beee26b703781a6f883e9efd24bde3

7 years agoMerge "Hide QS customizer correctly"
Jason Monk [Wed, 19 Oct 2016 15:05:41 +0000 (15:05 +0000)]
Merge "Hide QS customizer correctly"

7 years agoMerge "Add support for new SessionManager and EventManager tests"
Brad Ebinger [Tue, 18 Oct 2016 21:30:57 +0000 (21:30 +0000)]
Merge "Add support for new SessionManager and EventManager tests"
am: 42598f4a96

Change-Id: I9c629074ca39dfb06bd6b16217ba5e59a9e0a004

7 years agoMerge "Add support for new SessionManager and EventManager tests"
Brad Ebinger [Tue, 18 Oct 2016 21:22:18 +0000 (21:22 +0000)]
Merge "Add support for new SessionManager and EventManager tests"

7 years agoHIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on
Andreas Huber [Tue, 18 Oct 2016 16:24:04 +0000 (09:24 -0700)]
HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on

HwParcel now reflect this change.

Bug: 32237331
Test: hidl_test_java
Change-Id: Ia1ce5a4e3acedd8ebcff15107aea53ce28fde589

7 years agoHide QS customizer correctly
Yoshinori Hirano [Mon, 5 Sep 2016 07:11:59 +0000 (16:11 +0900)]
Hide QS customizer correctly

When users open and close QS customizer quickly, QSCustomizer#hide()
is not called because QSCustomizer#isCustomizing() returns false.
The isCustomizing() becomes true when the expand animation ends.
The hide() should be called even though the animation is ongoing.

Bug: 30545089
Test: manual - open and close QS customizer quickly

Change-Id: Ic483addfb6ae9da31c997fec7778e5acd718c353

7 years agoMerge "Fix static analyzer warnings."
George Burgess IV [Tue, 18 Oct 2016 01:43:24 +0000 (01:43 +0000)]
Merge "Fix static analyzer warnings."
am: ff5c3ad08b

Change-Id: I655fd765cfeae407c070261cfe07ce8b739b06fa

7 years agoMerge "Fix static analyzer warnings."
Treehugger Robot [Tue, 18 Oct 2016 01:30:54 +0000 (01:30 +0000)]
Merge "Fix static analyzer warnings."

7 years agoMerge "Remove APIs that are not directly usable."
Sanket Agarwal [Mon, 17 Oct 2016 21:28:05 +0000 (21:28 +0000)]
Merge "Remove APIs that are not directly usable."
am: 9cff57312d

Change-Id: I1234db97ed82017ed3bca02e10818a53fdc33d3d

7 years agoMerge "missing includes"
Mark Salyzyn [Mon, 17 Oct 2016 21:25:59 +0000 (21:25 +0000)]
Merge "missing includes"
am: 78929f3ee0

Change-Id: I3e7a25ded484d516fab453abe434c2e53cf0f27e

7 years agoMerge "Remove APIs that are not directly usable."
Treehugger Robot [Mon, 17 Oct 2016 21:16:20 +0000 (21:16 +0000)]
Merge "Remove APIs that are not directly usable."

7 years agoMerge "missing includes"
Treehugger Robot [Mon, 17 Oct 2016 21:12:08 +0000 (21:12 +0000)]
Merge "missing includes"

7 years agoRemove APIs that are not directly usable.
Sanket Agarwal [Wed, 3 Aug 2016 19:57:34 +0000 (12:57 -0700)]
Remove APIs that are not directly usable.

The right way to expose this API is done via MediaBrowser.

Bug: b/28791287
Change-Id: I0a8a185934fd7aaa9f2b5eac7398955fa380060f
(cherry picked from commit b5fbb75aa26a6322b26b1289cc5d14a8c31acb34)

7 years agomissing includes
Mark Salyzyn [Mon, 17 Oct 2016 17:10:55 +0000 (10:10 -0700)]
missing includes

Assumptions are made about header side effects

Test: compile
Bug: 30465923
Change-Id: Icc9415aed5e54b2bc00b70aa0da6df4148f30654

7 years agoUse this.isUp() inside InterfaceConfiguration
Christopher Wiley [Mon, 17 Oct 2016 17:30:28 +0000 (10:30 -0700)]
Use this.isUp() inside InterfaceConfiguration

Bug: 31337216
Test: Compiles
Change-Id: I968a739f9ada47b1357932d2da76451eb26c3d5f

7 years agoMerge "Avoid automatically mirroring Drawable of CustomTile"
Yoshinori Hirano [Mon, 17 Oct 2016 17:00:44 +0000 (17:00 +0000)]
Merge "Avoid automatically mirroring Drawable of CustomTile"
am: 9a904d68c7

Change-Id: I337620f4a2514a00a6b49275cadde6087e11dddf

7 years agoMerge "Avoid automatically mirroring Drawable of CustomTile"
Treehugger Robot [Mon, 17 Oct 2016 16:42:17 +0000 (16:42 +0000)]
Merge "Avoid automatically mirroring Drawable of CustomTile"

7 years agoMerge "Add InterfaceConfiguration.isUp()"
Christopher Wiley [Mon, 17 Oct 2016 16:41:52 +0000 (16:41 +0000)]
Merge "Add InterfaceConfiguration.isUp()"
am: c7ea99a63c

Change-Id: Id0bc63c82f8ffd6ad411769ab012efd8bbdfa3ce

7 years agoMerge "Add InterfaceConfiguration.isUp()"
Treehugger Robot [Mon, 17 Oct 2016 16:30:43 +0000 (16:30 +0000)]
Merge "Add InterfaceConfiguration.isUp()"

7 years agoMerge "Update time_zones_by_country.xml / delete unused files"
Neil Fuller [Mon, 17 Oct 2016 16:30:06 +0000 (16:30 +0000)]
Merge "Update time_zones_by_country.xml / delete unused files"
am: 143d13ce59

Change-Id: I1a52ac448247c1ebe7dc19f566e87478131a95e0

7 years agoMerge "Update time_zones_by_country.xml / delete unused files"
Treehugger Robot [Mon, 17 Oct 2016 16:21:58 +0000 (16:21 +0000)]
Merge "Update time_zones_by_country.xml / delete unused files"

7 years agoMerge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues"
yangzhenyu [Mon, 17 Oct 2016 16:08:41 +0000 (16:08 +0000)]
Merge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues"
am: 09dcaf1948

Change-Id: I6227536c270cdac730be60edf35f7ff704e59af0

7 years agoMerge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues"
Treehugger Robot [Mon, 17 Oct 2016 15:59:16 +0000 (15:59 +0000)]
Merge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues"

7 years agoUpdate time_zones_by_country.xml / delete unused files
Neil Fuller [Thu, 13 Oct 2016 08:26:21 +0000 (09:26 +0100)]
Update time_zones_by_country.xml / delete unused files

preferred_time_zones.xml is not referenced in any code and has been
deleted here.

TimeUtilsTest.java is broken / out of date and semi-duplicates code
in android.util.cts.TimeUtilsTest. It has been deleted here.

time_zones_by_country.xml file has not been updated since (at least)
2009.

Ideally this information would be updated as needed when the
timezone rule data is updated on device. This change just brings the
data up to date without addressing that issue. Given the apparent,
non-obvious, ordering requirements it may not be possible to use
zone1970.tab data directly.

---------------

Impact assessment:

At the time of writing time_zones_by_country.xml is used from:

Non-public methods:

android.util.TimeUtils.getTimeZones(String)

Public methods:

android.util.TimeUtils.getTimeZone(int, boolean, long, String)
android.util.TimeUtils.getTimeZonesWithUniqueOffsets(String)

Therefore there is some app / user benefit from updating it.

Within the framework, this affects:

telephony.ServiceStateTracker - in some circumstances when receiving
offset information from cell networks when better information is not
available.

There is some clockwork code affected that uses the calls for similar
purposes.

---------------

Notes on file formats / mapping the IANA source data:

The updated data was sourced from the IANA tzdata 2016g file
called zone1970.tab. The time_zones_by_country.xml file was manually
edited in a text editor using criteria detailed below.

The zone1970.tab file maps country codes (column 1) to a zone ID
(column 3). A country can be mapped to multiple zones. The zone.tab file
that was likely used in the past is similar in content and format. See
the zone.tab file header for details of the differences.

The time_zones_by_country.xml can have multiple entries for each
country, starting with a comment.

Comments exist for each (Country, Offset) pair. The name is
free-text, the offset is a non-DST offset for a zone as of 14th Oct
2016 using the 2016g data.

<!-- {Country name}, {offset from UTC} -->

Countries are listed in ASCII ascending order of the country code.

Within each country offsets are mostly ordered east to
west. An exception appears to be Australia. The data may have a
secondary order of "best match" (e.g. maybe by population). This might
be important for getTimeZone(int, boolean, long, String)) since it
returns the first match for a given offset, dst, country.

The timezone offset, transition information itself (offset, dst) is
pulled from the timezone rules data on the device, not this file.

The data is encoded for each (Country, Offset) pair by a sequence
of:

<timezone code="xx">{Olson ID}</timezone>

xx is the country code from column 1 in the zone1970.tab file, the
element content is the zone ID from column 3.

---------------

Notes on the changes made to time_zones_by_country.xml:

There are various changes in this commit associated with switching from
zone.tab to zone1970.tab as a data source: zone.tab uses different
Olson IDs due to the different criteria used by these files.
The offset in each case will be the same so will have no practical
effect on offsets / zone detection, though will affect the exemplar
location for the zone found.

The remaining changes reflect actual zone / offset changes that
have occurred.

When adding new zones or rearranging existing ones they have been
positioned so as not to modify the first zone for each country or
the first zone per offset because of the uncertainty about the
secondary ordering. This is to avoid the risk of now picking a
different zone for a country or {country + dst + offset}. This
has resulted in a couple of places where the ordering is
non-intuitive.

The zone names and the offset information contained in the comments was
checked semi-manually using other 2016g data, i.e. the base offset of
each zone was checked against output from a script that created a
TimeZone object from each Olson ID in the file and output the raw
(non-DST) offset.

---------------

Change specifics:

Changes made due to zone1970.tab vs zone.tab:

ANTIGUA AND BARBUDA
ANGUILLA
ANGOLA
ALAND ISLANDS
ARUBA
BOSNIA AND HERZEGOVINA
BURKINA FASO
BAHRAIN
BENIN
BOTSWANA
CONGO
CENTRAL AFRICAN REPUBLIC
CONGO
CAMEROON
DJIBOUTI
DOMINICA
ERITREA
ETHIOPIA
GABON
GRENADA
GUERNSEY
GAMBIA
GUINEA
GUADELOUPE
EQUATORIAL GUINEA
CROATIA
ISLE OF MAN
JERSEY
CAMBODIA
COMOROS
SAINT KITTS AND NEVIS
KUWAIT
CAYMAN ISLANDS
LAO PEOPLE'S DEMOCRATIC REPUBLIC
SAINT LUCIA
LIECHTENSTEIN
LESOTHO
MONTENEGRO
MADAGASCAR
MACEDONIA
MALI
NORTHERN MARIANA ISLANDS
MAURITANIA
MONTSERRAT
MALAWI
NIGER
OMAN
RWANDA
SAINT HELENA
SLOVENIA
SVALBARD AND JAN MAYEN
SLOVAKIA
SIERRA LEONE
SAN MARINO
SENEGAL
SOMALIA
SAO TOME AND PRINCIPE
SWAZILAND
TOGO
TANZANIA
UGANDA
UNITED STATES MINOR OUTLYING ISLANDS
HOLY SEE
SAINT VINCENT AND THE GRENADINES
VIRGIN ISLANDS
YEMEN
MAYOTTE
ZAMBIA
ZIMBABWE

---------

Changes due to new data:

ANTARCTICA
ARGENTINA
AUSTRALIA
BRAZIL
CANADA
CHINA
MICRONESIA
INDIA
MYANMAR
MEXICO
PAPUA NEW GUINEA
PALESTINE
RUSSIAN FEDERATION
UNITED STATES
UKRAINE

---------

Removal of NETHERLANDS ANTILLES (country code "an"):

"an" no longer present in the IANA data.
The country code is no longer in use.
https://en.wikipedia.org/wiki/ISO_3166-2:AN
New country entries for:

Saint Barthélemy
Caribbean Netherlands
Curaçao
Collectivity of Saint Martin
Sint Maarten

---------
Changes due to new data *and* with differences between zone1970.tab
and zone.tab:

GERMANY
South Sudan (entirely new)
VIET NAM
FRENCH SOUTHERN TERRITORIES

---------

Changes to comments or arrangement of existing entries due to non-DST
offset changes since the last update:

Antarctica/Mawson
Europe/Minsk
America/Resolute
Atlantic/Stanley
Asia/Pyongyang
America/Cancun
America/Grand_Turk
Pacific/Fakaofo
Europe/Istanbul
America/Caracas
Pacific/Apia

Bug: 25338903
Test: Build / CtsUtilTestCases
Change-Id: I87e3db795f55ddd92e7402459c5e97aa70b9301e

7 years agoAvoid automatically mirroring Drawable of CustomTile
Yoshinori Hirano [Wed, 17 Aug 2016 05:09:58 +0000 (14:09 +0900)]
Avoid automatically mirroring Drawable of CustomTile

Developers of custom tiles should decide whether
the Drawable of their own tiles should be automatically mirrored.
So State#autoMirrorDrawable should be false by default.

Bug: 30930145
Test: manual - change to RTL language and open Quick Settings

Change-Id: Ia3fd8c2aeddb4a27b9ecfaaf52edbcce01fd7f48

7 years ago[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues
yangzhenyu [Wed, 31 Aug 2016 10:26:46 +0000 (18:26 +0800)]
[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues

Symptom:
Even though one process is executing one BroadcastReceiver,
it may be killed as one EMPTY process occasionally

Detail and sample:
https://code.google.com/p/android/issues/detail?id=221524

Root cause:
app.curReceiver can only remember the last running.
If an application is both receiving FG and BG broadcast,
when one is finished, app.curReceiver becomes null,
the state of application becomes EMPTY.

Solution:
save all running receivers at ProcessRecord

Change-Id: I01b8813af652a8c434be7de0678dc06f99831ae0
Signed-off-by: yangzhenyu <yangzhenyu@xiaomi.com>
7 years agoFix launching alarm pending intent am: d0408f0028 am: 9042736ff1 am: 6aa197116e
Jason Monk [Fri, 14 Oct 2016 19:07:48 +0000 (19:07 +0000)]
Fix launching alarm pending intent am: d0408f0028 am: 9042736ff1 am: 6aa197116e
am: 2abab0248f

Change-Id: Ife7911f26ebcf96802e2a9ac3f2f179d0d486d2c

7 years agoFix launching alarm pending intent am: d0408f0028 am: 9042736ff1
Jason Monk [Fri, 14 Oct 2016 19:00:46 +0000 (19:00 +0000)]
Fix launching alarm pending intent am: d0408f0028 am: 9042736ff1
am: 6aa197116e

Change-Id: Ide52a40383e181a07ec24ce4d89d5368a69c635d

7 years agoFix launching alarm pending intent am: d0408f0028
Jason Monk [Fri, 14 Oct 2016 18:54:00 +0000 (18:54 +0000)]
Fix launching alarm pending intent am: d0408f0028
am: 9042736ff1

Change-Id: Id2c2ccf79c62c5e0e498259a2b88e44cb98a70b3

7 years agoFix launching alarm pending intent
Jason Monk [Fri, 14 Oct 2016 18:46:44 +0000 (18:46 +0000)]
Fix launching alarm pending intent
am: d0408f0028

Change-Id: I01f3963617638bf8c1cb8efccf027dd8a9084517

7 years agoFix launching alarm pending intent
Jason Monk [Fri, 14 Oct 2016 14:46:37 +0000 (10:46 -0400)]
Fix launching alarm pending intent

Launch it as a pending intent.

Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes: 23909438

7 years agoMerge "Adding customizable background color support for watch." into cw-f-dev
Jakub Adámek [Fri, 14 Oct 2016 15:12:10 +0000 (15:12 +0000)]
Merge "Adding customizable background color support for watch." into cw-f-dev
am: 881011d951

Change-Id: I6c6a98b7f207406a21e41ef4768e45bb190270aa

7 years agoAdding customizable background color support for watch.
Jakub Adamek [Fri, 14 Oct 2016 15:12:03 +0000 (15:12 +0000)]
Adding customizable background color support for watch.
am: e39fbd8785

Change-Id: I0585a0fb8dcf6ac8d408d7d848299629486ffa02

7 years agoMerge "Adding customizable background color support for watch." into cw-f-dev
Jakub Adámek [Fri, 14 Oct 2016 15:06:43 +0000 (15:06 +0000)]
Merge "Adding customizable background color support for watch." into cw-f-dev

7 years agoMerge "Fix static-analyzer warning." am: 2fbf30d3fe am: a52992e290
George Burgess IV [Fri, 14 Oct 2016 14:39:06 +0000 (14:39 +0000)]
Merge "Fix static-analyzer warning." am: 2fbf30d3fe am: a52992e290
am: c88628da5e

Change-Id: Iece80dfbd8a5d01ffdcf6edf1decd8078af31511

7 years agoMerge "Fix Bluetooth OOB pairing not working for unseen devices" am: 3ef0315eb7 am...
Jakub Pawlowski [Fri, 14 Oct 2016 14:38:10 +0000 (14:38 +0000)]
Merge "Fix Bluetooth OOB pairing not working for unseen devices" am: 3ef0315eb7 am: bd1a923cac
am: 08109a61d2

Change-Id: Id97645d7026466771a011ba787dce9866dc029d2

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643...
Sungsoo [Fri, 14 Oct 2016 14:37:06 +0000 (14:37 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643bcbd am: 68aa33b9bf  -s ours am: 2a762996cb  -s ours am: a8d06257c1 am: 2179b54c9c  -s ours am: 279ebd7ffd am: 7598d6ac9f am: 30404396be am: d7475b491d  -s ours am: 3069b72d76
am: 20b502a6b1

Change-Id: I0aab1a7164cc1ae0e5bb326b5e3a16f4f82811ac

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: 22bd36448e -s ours...
Sungsoo [Fri, 14 Oct 2016 14:36:06 +0000 (14:36 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: 22bd36448e  -s ours am: 3992742559 am: 2816a5fa5e  -s ours am: 03593fe78f am: ad11872ded am: d3f3729a17 am: 9d675aadf1  -s ours am: 3ab3eff7c1
am: b25d26c40c

Change-Id: I2d61ebdd72d9734bd028050f5378daa702509173

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: 87a9ac70c3 am: 11b522...
Sungsoo [Fri, 14 Oct 2016 14:35:13 +0000 (14:35 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: 87a9ac70c3 am: 11b522b40f  -s ours am: 8b764f10c3 am: 29273190f1 am: 7bb855a973 am: 68469a695e  -s ours am: b4fdad2b8c
am: 93b3e8e606

Change-Id: Ia5364aa347ecbc8365078fca55151d00d2b874c8

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: 7ce9243087 am: bb8008...
Sungsoo [Fri, 14 Oct 2016 14:34:17 +0000 (14:34 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: 7ce9243087 am: bb800841ca am: 016c5889bc am: d6508621fc  -s ours am: b576f816c5
am: 315b8b7bbc

Change-Id: I77c388c612abb7e315a7aacc6de51b2648716421

7 years agoMerge "ExifInterface: Provide backward compatibility" into nyc-dev am: e29077105e
Sungsoo Lim [Fri, 14 Oct 2016 14:33:20 +0000 (14:33 +0000)]
Merge "ExifInterface: Provide backward compatibility" into nyc-dev am: e29077105e
am: 013d3a4964

Change-Id: I5b57c744a880b595c3502491d41957832f3ee520

7 years agoExifInterface: Provide backward compatibility am: 2dbe166801
Sungsoo [Fri, 14 Oct 2016 14:32:31 +0000 (14:32 +0000)]
ExifInterface: Provide backward compatibility am: 2dbe166801
am: 6e01f028ab

Change-Id: Ibda28727ab8de7c7576e46dba411d9ba334ab1a4

7 years agoMerge "Allow SetupWizard to do WiFi scans if location off" am: c98b34bdce am: 72510e6244
Svetoslav Ganov [Fri, 14 Oct 2016 14:31:42 +0000 (14:31 +0000)]
Merge "Allow SetupWizard to do WiFi scans if location off" am: c98b34bdce am: 72510e6244
am: cf146edb32

Change-Id: Icb456bac6bf5bf357848d73356adbd8772c37817

7 years agoDocs: Updates to the Download/Test file related to watch setup am: 137c545e4e
Bert McMeen [Fri, 14 Oct 2016 14:30:44 +0000 (14:30 +0000)]
Docs: Updates to the Download/Test file related to watch setup am: 137c545e4e
am: 4c5141b98b

Change-Id: I5a819483cb7acab434c81442dee13ee3c80f9e28

7 years agoMerge "Fix memory leak of Dnd tile" am: 6057a8360a am: 465397e28e
Yuta Yamada [Fri, 14 Oct 2016 14:29:58 +0000 (14:29 +0000)]
Merge "Fix memory leak of Dnd tile" am: 6057a8360a am: 465397e28e
am: be3b53beca

Change-Id: I12dae89a0b577379e7a868182b535f5dcda09d36

7 years agoMerge "DO NOT MERGE - Fixed an issue where the emergency affordance would show" am...
Selim Cinek [Fri, 14 Oct 2016 14:29:03 +0000 (14:29 +0000)]
Merge "DO NOT MERGE - Fixed an issue where the emergency affordance would show" am: 6f3a05ae77  -s ours am: 20307881d7  -s ours
am: e58f1e5965

Change-Id: I483d2f52d347d2fb0064a6f9a0e6db3d5a61aa67

7 years agoMerge "DO NOT MERGE - Added translations for emergency action string" am: d33e79c328...
Selim Cinek [Fri, 14 Oct 2016 14:28:12 +0000 (14:28 +0000)]
Merge "DO NOT MERGE - Added translations for emergency action string" am: d33e79c328  -s ours am: cb654a5fbd  -s ours
am: 8bd7df4536

Change-Id: I89a5d36d40cd1b1973f99406905bafc20ba1c8dc

7 years agoMerge "Add free short codes for direct carrier billing and others" am: 73c50f7dbc...
Robert Greenwalt [Fri, 14 Oct 2016 14:27:22 +0000 (14:27 +0000)]
Merge "Add free short codes for direct carrier billing and others" am: 73c50f7dbc am: 6f8c54a16d
am: 2b06e19f2d

Change-Id: I50e107a8dc433cdc563ad6663ec5feef8e992fc2

7 years agoMerge "Don't compare FQDN with providerFriendlyName" am: aae64557e1 am: 9c84160545
Shinji Sogo [Fri, 14 Oct 2016 14:26:32 +0000 (14:26 +0000)]
Merge "Don't compare FQDN with providerFriendlyName" am: aae64557e1 am: 9c84160545
am: b8bab1df10

Change-Id: Ic019a0f04737d128cc5005be8fe9733f30ee44a3

7 years agoMerge "RRO: Synchronize access to overlays.list" am: 78382db820 am: 1b9303e8f0
Adam Lesinski [Fri, 14 Oct 2016 14:25:39 +0000 (14:25 +0000)]
Merge "RRO: Synchronize access to overlays.list" am: 78382db820 am: 1b9303e8f0
am: c68597e671

Change-Id: I067a006032a73d646f779669db9dcf6a25020709

7 years agoMerge "Fix split-screen flash issue" am: 6738617652 am: f1fed4de21
Jorim Jaggi [Fri, 14 Oct 2016 14:24:48 +0000 (14:24 +0000)]
Merge "Fix split-screen flash issue" am: 6738617652 am: f1fed4de21
am: 4e7407a80e

Change-Id: Ibfef3bd01a54cca64a2f0de197bd9480a7539cd0

7 years agoMerge "Tethering: check if configManager is null" am: e011bf80c5 am: d1e4dbf002
Rebecca Silberstein [Fri, 14 Oct 2016 14:23:56 +0000 (14:23 +0000)]
Merge "Tethering: check if configManager is null" am: e011bf80c5 am: d1e4dbf002
am: d33a0ee710

Change-Id: I2d8cfac1093b6973b2b5f06e2ba37cff9866d82a

7 years agoMerge "Transplant the Logging system from Telecom" am: cbb03d1ad3 am: 951dca8209
Brad Ebinger [Fri, 14 Oct 2016 14:22:38 +0000 (14:22 +0000)]
Merge "Transplant the Logging system from Telecom" am: cbb03d1ad3 am: 951dca8209
am: 0ab9a078e9

Change-Id: I79e6b2de4bf523036ed1d15debd142a1786249c5

7 years agoMerge "IndexOutOfBoundsException observed in ProcessStats" am: 6408e2e5cc am: eedd2b529d
Christopher Wiley [Fri, 14 Oct 2016 14:21:39 +0000 (14:21 +0000)]
Merge "IndexOutOfBoundsException observed in ProcessStats" am: 6408e2e5cc am: eedd2b529d
am: 53d12379f4

Change-Id: I4bcde8dde8c3bad7754e26dd56f8321032daa5a3