OSDN Git Service

android-x86/frameworks-base.git
7 years agoSearch for RRO both in SKU subdir and in vendor/overlay
Jakub Adamek [Tue, 18 Oct 2016 07:54:15 +0000 (07:54 +0000)]
Search for RRO both in SKU subdir and in vendor/overlay
am: 1f36a2166b

Change-Id: I3d3a3a5e7c9a39616c7289b6587717d6b37a3bf5

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 92bd012829 -s ours
Bill Yi [Tue, 18 Oct 2016 06:10:00 +0000 (06:10 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 92bd012829  -s ours
am: ca6669ca12  -s ours

Change-Id: I7c701e2fc2685429ace363283466cea3f5f9b3a9

7 years agoImport translations. DO NOT MERGE am: ad231bd2f8 -s ours
Bill Yi [Tue, 18 Oct 2016 06:09:03 +0000 (06:09 +0000)]
Import translations. DO NOT MERGE am: ad231bd2f8  -s ours
am: bcc44bd962  -s ours

Change-Id: I1e6de7917381292f0e75f453356675df8ec3d17b

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 18 Oct 2016 06:03:05 +0000 (06:03 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 92bd012829  -s ours

Change-Id: Ie361c190b2a67dfced753c8988766f81a374aca3

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 06:03:03 +0000 (06:03 +0000)]
Import translations. DO NOT MERGE
am: ad231bd2f8  -s ours

Change-Id: I9ffdc8e90d55d429ae96be3153497e8cc1231e22

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 61058919ca -s ours
Bill Yi [Tue, 18 Oct 2016 05:58:02 +0000 (05:58 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 61058919ca  -s ours
am: 29246c2795  -s ours

Change-Id: Ia19c295cc0f1273d5d68e4a7ee89d7cc0151a46f

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 18 Oct 2016 05:57:08 +0000 (05:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE am: c5a1d40bf1 -s ours
Bill Yi [Tue, 18 Oct 2016 05:57:06 +0000 (05:57 +0000)]
Import translations. DO NOT MERGE am: c5a1d40bf1  -s ours
am: 33b11b7822  -s ours

Change-Id: I59d5fd7a7d1bbc4c07bb0582b95f6ec2c8ceb4ca

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: e8dc857c2f -s ours
Bill Yi [Tue, 18 Oct 2016 05:47:32 +0000 (05:47 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: e8dc857c2f  -s ours
am: 28b2f5f023  -s ours

Change-Id: Ib39b4454eeef0444f829e84a6967220e67f93f46

7 years agoImport translations. DO NOT MERGE am: c11e301ca4 -s ours
Bill Yi [Tue, 18 Oct 2016 05:46:42 +0000 (05:46 +0000)]
Import translations. DO NOT MERGE am: c11e301ca4  -s ours
am: d648bf6c97  -s ours

Change-Id: Ie71321d8f308029a3d856a18d9d6350ef53351b4

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Tue, 18 Oct 2016 05:45:30 +0000 (05:45 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: a74148ea54  -s ours

Change-Id: I6925457da9d330406fae0505bac1c3369d354320

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 05:45:26 +0000 (05:45 +0000)]
Import translations. DO NOT MERGE
am: 00afe024b9  -s ours

Change-Id: I96cb6689b67a3d3302d0c62feb7e26961db3b371

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Tue, 18 Oct 2016 05:44:09 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: fb27d02b6b  -s ours

Change-Id: Ia04da67d26029ff1e45aa37acb12065636f0b0d3

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 18 Oct 2016 05:44:05 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 61058919ca  -s ours

Change-Id: Iedb8a217643556d0f4920d3f076daa65bf3def73

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 05:44:04 +0000 (05:44 +0000)]
Import translations. DO NOT MERGE
am: 5a05ce6409  -s ours

Change-Id: I786be47acfb67339f78f9be651b61d40f020218d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 05:44:03 +0000 (05:44 +0000)]
Import translations. DO NOT MERGE
am: c5a1d40bf1  -s ours

Change-Id: I0362a2d32dfb655560f9e8ae3b9ec583ad45d0e3

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 18 Oct 2016 05:38:09 +0000 (05:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: e8dc857c2f  -s ours

Change-Id: Ia4640233c55faaa79050d94e71d48c5301be2904

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 05:38:08 +0000 (05:38 +0000)]
Import translations. DO NOT MERGE
am: c11e301ca4  -s ours

Change-Id: Ib8f6a4ea48fbe3a95153ee15be71bedd81d1e88c

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 18 Oct 2016 05:34:40 +0000 (05:34 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 18 Oct 2016 05:31:38 +0000 (05:31 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Tue, 18 Oct 2016 05:30:57 +0000 (05:30 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Tue, 18 Oct 2016 05:30:08 +0000 (05:30 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 04:19:36 +0000 (21:19 -0700)]
Import translations. DO NOT MERGE

Change-Id: I551e9cc3ac74b6a488f0bcc32da9905b7d313f5f
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 18 Oct 2016 04:10:43 +0000 (21:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: I49725d38064efcb1f95e204a0ab805f8f6eed550
Auto-generated-cl: translation import

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

Change-Id: Iafed2ab4df7297ed8e3b0b86cafe15af3e1c8823

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 "Fix oversized icons and removed title line limit." into cw-f-dev
Michael Kwan [Mon, 17 Oct 2016 23:23:46 +0000 (23:23 +0000)]
Merge "Fix oversized icons and removed title line limit." into cw-f-dev
am: ff2d91fa07

Change-Id: If711cf676853dd470fdd1eec2cadbe8a8033df1d

7 years agoFix oversized icons and removed title line limit.
Michael Kwan [Mon, 17 Oct 2016 23:23:40 +0000 (23:23 +0000)]
Fix oversized icons and removed title line limit.
am: e6c38677a4

Change-Id: Ic97878c26ec49ee4632becfaffcb23d6d329e41e

7 years agoMerge "Fix oversized icons and removed title line limit." into cw-f-dev
Michael Kwan [Mon, 17 Oct 2016 23:14:04 +0000 (23:14 +0000)]
Merge "Fix oversized icons and removed title line limit." into cw-f-dev

7 years agoMerge "Update primary key in VIS sound model database." into nyc-mr1-dev am: c81e1f15d2
Chris Thornton [Mon, 17 Oct 2016 22:45:35 +0000 (22:45 +0000)]
Merge "Update primary key in VIS sound model database." into nyc-mr1-dev am: c81e1f15d2
am: c6577b1266

Change-Id: I8ce1dfc713ec15be5b2d9814667a5c04ea4d6780

7 years agoUpdate primary key in VIS sound model database. am: 5bd5cf75e1
Chris Thornton [Mon, 17 Oct 2016 22:44:38 +0000 (22:44 +0000)]
Update primary key in VIS sound model database. am: 5bd5cf75e1
am: 2d452d7dab

Change-Id: I53e9f73caee56f715bdeaf93a680598bc13aee01

7 years agoMerge "Update primary key in VIS sound model database." into nyc-mr1-dev
Chris Thornton [Mon, 17 Oct 2016 22:32:20 +0000 (22:32 +0000)]
Merge "Update primary key in VIS sound model database." into nyc-mr1-dev
am: c81e1f15d2

Change-Id: I1a04106f1fc4748b015a18920bfc73ec3aed97fd

7 years agoUpdate primary key in VIS sound model database.
Chris Thornton [Mon, 17 Oct 2016 22:32:17 +0000 (22:32 +0000)]
Update primary key in VIS sound model database.
am: 5bd5cf75e1

Change-Id: Ie35e4a4f15ece95d3b5458f4c5ee06098062c96f

7 years agoMerge "Update primary key in VIS sound model database." into nyc-mr1-dev
TreeHugger Robot [Mon, 17 Oct 2016 22:20:34 +0000 (22:20 +0000)]
Merge "Update primary key in VIS sound model database." into nyc-mr1-dev

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

Change-Id: I5f95fe50d16b26601405816625f4aa45f2ef6647

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

Change-Id: I40ff974f4333aaa714a63d5436b822491b9d78d6

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 agoImport translations. DO NOT MERGE
Bill Yi [Mon, 17 Oct 2016 21:13:52 +0000 (14:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7bd27211cd2cb24cae8bb2bc31404f66e2301f26
Auto-generated-cl: translation import

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 17 Oct 2016 21:02:57 +0000 (14:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia35c346101f62955ae7bc9937f02242dad195b9d
Auto-generated-cl: translation import

7 years agoMerge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev
Matthew Bouyack [Mon, 17 Oct 2016 20:38:42 +0000 (20:38 +0000)]
Merge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev
am: 2cfae5a656

Change-Id: I50ece1dc71401855af31e7f4d7e13a469bf31c9f

7 years agoDO NOT MERGE Improved anti-aliasing for circular display mask
Matthew Bouyack [Mon, 17 Oct 2016 20:38:34 +0000 (20:38 +0000)]
DO NOT MERGE Improved anti-aliasing for circular display mask
am: c84731ae3b

Change-Id: I64484d947636fc5b4ed43e13a3dc096ac1bb6fe1

7 years agoMerge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev
Matthew Bouyack [Mon, 17 Oct 2016 20:28:52 +0000 (20:28 +0000)]
Merge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev

7 years agoFix complex clipping on mergeable ops DO NOT MERGE am: d183e0b988
Chris Craik [Mon, 17 Oct 2016 19:59:32 +0000 (19:59 +0000)]
Fix complex clipping on mergeable ops DO NOT MERGE am: d183e0b988
am: a6bfd8d12c

Change-Id: I5af8d0fac1e47e7bf831ca2f387fe550acf4165c

7 years agoFix complex clipping on mergeable ops DO NOT MERGE
Chris Craik [Mon, 17 Oct 2016 19:52:53 +0000 (19:52 +0000)]
Fix complex clipping on mergeable ops DO NOT MERGE
am: d183e0b988

Change-Id: Icb357a11cb8a4be473aa8b0acdb4d799973ff54a

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 agoImport translations. DO NOT MERGE
Bill Yi [Mon, 17 Oct 2016 18:08:03 +0000 (11:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8ed7b626ec4169f9154a18daffe36160b8f3dacb
Auto-generated-cl: translation import

7 years agoFix complex clipping on mergeable ops DO NOT MERGE
Chris Craik [Fri, 14 Oct 2016 22:08:21 +0000 (15:08 -0700)]
Fix complex clipping on mergeable ops DO NOT MERGE

Fixes: 32106003

Change-Id: I519bc38a1fa8c25c9ae317ffdb7e59e5a0824f59

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

Change-Id: I73b8c40a628dde30e1ec647b24ae21956e33f9cc

7 years agoUpdate primary key in VIS sound model database.
Chris Thornton [Sun, 16 Oct 2016 23:23:29 +0000 (16:23 -0700)]
Update primary key in VIS sound model database.

The public API for getting at KeyphraseSoundModels is based on the user,
locale, and keyphrase ID. However, the sound model database would allow
multiple models to be registered using the same values, as it has a
primary key on the model UUID. This can potentially lead to a scenario
where multiple models are enrolled for the same user, and the data that
is returned when querying models is arbitrary.

V6 of the sound model database now enforces a primary key over the user
ID, locale and keyphrase ID. When inserting a new model with the same
primary key, the old model will be removed and the new model will be
used instead.

When upgrading from V5 to V6, if there are any models that would violate
the primary key constraint, they are all dropped.

Bug: 32174118
Change-Id: I9597c6a994f01a426625c3be2c53e826f26f5156

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 "Add InterfaceConfiguration.isUp()" am: c7ea99a63c
Christopher Wiley [Mon, 17 Oct 2016 16:45:35 +0000 (16:45 +0000)]
Merge "Add InterfaceConfiguration.isUp()" am: c7ea99a63c
am: 281d7490bf

Change-Id: I79b84bd9cdde064be19c1110b3c3c08900123bdd

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 "Update time_zones_by_country.xml / delete unused files" am: 143d13ce59
Neil Fuller [Mon, 17 Oct 2016 16:42:10 +0000 (16:42 +0000)]
Merge "Update time_zones_by_country.xml / delete unused files" am: 143d13ce59
am: 23ff65ed1e

Change-Id: I474e5b59d7e3cb8c370211298c0ba07760f963fb

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 BroadcastQue...
yangzhenyu [Mon, 17 Oct 2016 16:14:38 +0000 (16:14 +0000)]
Merge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues" am: 09dcaf1948
am: 744f0e0997

Change-Id: Ib2d02a9a5a04256120c7982b0e1d6298a5d197dc

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 agoSearch for RRO in Java both in SKU subdir and in vendor/overlay
Jakub Adamek [Mon, 17 Oct 2016 15:02:38 +0000 (15:02 +0000)]
Search for RRO in Java both in SKU subdir and in vendor/overlay
am: 4a6e246671

Change-Id: I876e12838c88adb019af73ceff207b6b8bd60c0a

7 years agoSearch for RRO both in SKU subdir and in vendor/overlay
Jakub Adamek [Mon, 17 Oct 2016 13:53:40 +0000 (14:53 +0100)]
Search for RRO both in SKU subdir and in vendor/overlay

Currently, if the "ro.boot.vendor.overlay.subdir" property is set, we
only search in the subdir. It seems more powerful to search both in
there and in the standard /vendor/overlay directory.

Also, RRO packages have the "priority" attribute in the <overlay>
attribute in AndroidManifest.xml which serves for disambiguation.

Bug: 32202741
Change-Id: I7acff1b7f0e153830924047349f003295648a53b

7 years agoSearch for RRO in Java both in SKU subdir and in vendor/overlay
Jakub Adamek [Mon, 17 Oct 2016 13:55:36 +0000 (14:55 +0100)]
Search for RRO in Java both in SKU subdir and in vendor/overlay

Currently, if the "ro.boot.vendor.overlay.subdir" property is set, we
only search in the subdir. It seems more powerful to search both in
there and in the standard /vendor/overlay directory.

Also, RRO packages have the "priority" attribute in the <overlay>
attribute in AndroidManifest.xml which serves for disambiguation.

Bug: 32202741
Change-Id: I9ef44b8ca4ac0e92ba02e25b3672c6b274fe4639

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 agoMerge "CEC: Check standby action availability before request for sleep mode" into...
Donghyun Cho [Sun, 16 Oct 2016 03:24:01 +0000 (03:24 +0000)]
Merge "CEC: Check standby action availability before request for sleep mode" into nyc-mr1-dev am: c00a6cb9c3
am: 040bdab806

Change-Id: I24d368836d1ac02c7dd7037b275a4a7920c06db8

7 years agoCEC: Check standby action availability before request for sleep mode am: 02920a08e1
Donghyun Cho [Sun, 16 Oct 2016 03:23:02 +0000 (03:23 +0000)]
CEC: Check standby action availability before request for sleep mode am: 02920a08e1
am: 02d3fff62d

Change-Id: Ifffab65e8cf4d484143fea36a71b8835061b7998

7 years agoMerge "CEC: Check standby action availability before request for sleep mode" into...
Donghyun Cho [Sun, 16 Oct 2016 03:17:30 +0000 (03:17 +0000)]
Merge "CEC: Check standby action availability before request for sleep mode" into nyc-mr1-dev
am: c00a6cb9c3

Change-Id: I720c799b35a823c920e39ede2f242d7cc320171d

7 years agoCEC: Check standby action availability before request for sleep mode
Donghyun Cho [Sun, 16 Oct 2016 03:17:26 +0000 (03:17 +0000)]
CEC: Check standby action availability before request for sleep mode
am: 02920a08e1

Change-Id: Ibb0966d00afbcc69cfc8d58939bc544f50d57c98

7 years agoMerge "CEC: Check standby action availability before request for sleep mode" into...
Donghyun Cho [Sun, 16 Oct 2016 03:09:20 +0000 (03:09 +0000)]
Merge "CEC: Check standby action availability before request for sleep mode" into nyc-mr1-dev

7 years agoMerge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev am: 742b0a7d12
Sooraj Sasindran [Sat, 15 Oct 2016 06:45:20 +0000 (06:45 +0000)]
Merge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev am: 742b0a7d12
am: 29550c9297  -s ours

Change-Id: I36a69c97d520118ae39e6768b7e82f3d71d056bb

7 years agoIntroduce the config to disable LAUNCH_BROWSER am: c80aaa94c6
Sooraj Sasindran [Sat, 15 Oct 2016 06:44:04 +0000 (06:44 +0000)]
Introduce the config to disable LAUNCH_BROWSER am: c80aaa94c6
am: 67987da1af  -s ours

Change-Id: I24a218d08840bdb6842df7cea9699dacdb33418f

7 years agoMerge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev
Sooraj Sasindran [Sat, 15 Oct 2016 06:38:50 +0000 (06:38 +0000)]
Merge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev
am: 742b0a7d12

Change-Id: Ib4e96001bd4f5ef48f3186c3cbc0e4bc4cb47560

7 years agoIntroduce the config to disable LAUNCH_BROWSER
Sooraj Sasindran [Sat, 15 Oct 2016 06:38:42 +0000 (06:38 +0000)]
Introduce the config to disable LAUNCH_BROWSER
am: c80aaa94c6

Change-Id: I6b78179f8769011136f0cdd364b2380031ce343a

7 years agoMerge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev
Sooraj Sasindran [Sat, 15 Oct 2016 06:34:02 +0000 (06:34 +0000)]
Merge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev

7 years agoMerge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev-plus-aosp
Sooraj Sasindran [Sat, 15 Oct 2016 04:53:20 +0000 (04:53 +0000)]
Merge "Introduce the config to disable LAUNCH_BROWSER" into nyc-mr1-dev-plus-aosp

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 04:23:30 +0000 (04:23 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2 am: 6d7f209964  -s ours am: 5d1bfd9d5f am: 13fdd92274 am: cc63841161 am: eb8bdd6e12  -s ours am: 01e42cf67c am: f0edbfbe48 am: 70508a1961
am: 8345c92ce2

Change-Id: I076b2c17ea6eea0df75b24d820cf250ec4529301

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 04:22:20 +0000 (04:22 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5 am: 2432cf3645  -s ours am: 99f8b9c2b4 am: f6c384c657 am: a2fe1c2e62 am: c0a7561135  -s ours am: c0294c50e2 am: 3b38e7d663 am: a32f3dfe80
am: 5c9c67ae08

Change-Id: Ibd5105bc0db386537cb9c3f779825c2274346fca

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 04:21:14 +0000 (04:21 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into lmp-dev am: 35bd0fc5f0  -s ours am: 40a13c5917 am: 0645127e25  -s ours am: 3da33f8bb0 am: efbb0d6db3 am: b2467b6158 am: 6b903b9299  -s ours am: ef6363cec7 am: f2a0598b8d am: 1051f0b8ad
am: 8df3951fb5

Change-Id: I905a8e820d2cba301bbc87ce0c27c115d9c023c1

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee...
Suprabh Shukla [Sat, 15 Oct 2016 04:20:09 +0000 (04:20 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee70a2  -s ours am: 8d124e37f1 am: 56b525a313  -s ours am: 250e86a01d am: b8a7dcde9b am: 9755a217a2 am: 128ccbca9a  -s ours am: 18cfcf8c8a am: 804c9dee98 am: f5eb312a0d
am: 6dd160d67b

Change-Id: I2ae796a1d5a9c9158a982e4e1da171ad4d248745

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 190e66...
Christopher Tate [Sat, 15 Oct 2016 04:19:08 +0000 (04:19 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 190e66685f am: eafeb8becf  -s ours am: 1d86a376c8 am: f2e19dd663 am: 5a4af6ab3a am: 851fd50a07  -s ours am: 690f73f1a1 am: bba4dc9556 am: 9686489598
am: 68fa1c625f

Change-Id: If6d70b752a87ad5f335d554913ed9392bf010ed1

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 04:15:21 +0000 (04:15 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2 am: 6d7f209964  -s ours am: 5d1bfd9d5f am: 13fdd92274 am: cc63841161 am: eb8bdd6e12  -s ours am: 01e42cf67c am: f0edbfbe48
am: 70508a1961

Change-Id: Ib123ee2a61826953035239e8d94948f5603e88b3

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 04:14:17 +0000 (04:14 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5 am: 2432cf3645  -s ours am: 99f8b9c2b4 am: f6c384c657 am: a2fe1c2e62 am: c0a7561135  -s ours am: c0294c50e2 am: 3b38e7d663
am: a32f3dfe80

Change-Id: I15f221af5e0ec10f910b6f4f2b0aceb17e7840ed

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 04:13:24 +0000 (04:13 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into lmp-dev am: 35bd0fc5f0  -s ours am: 40a13c5917 am: 0645127e25  -s ours am: 3da33f8bb0 am: efbb0d6db3 am: b2467b6158 am: 6b903b9299  -s ours am: ef6363cec7 am: f2a0598b8d
am: 1051f0b8ad

Change-Id: Ib5ae3f662f96bb00d324c9d564c5a94bb3ffb913

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee...
Suprabh Shukla [Sat, 15 Oct 2016 04:12:19 +0000 (04:12 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee70a2  -s ours am: 8d124e37f1 am: 56b525a313  -s ours am: 250e86a01d am: b8a7dcde9b am: 9755a217a2 am: 128ccbca9a  -s ours am: 18cfcf8c8a am: 804c9dee98
am: f5eb312a0d

Change-Id: Id491231c02dfb1769605cd5e65e74c78a2dcf007

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 190e66...
Christopher Tate [Sat, 15 Oct 2016 04:11:22 +0000 (04:11 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 190e66685f am: eafeb8becf  -s ours am: 1d86a376c8 am: f2e19dd663 am: 5a4af6ab3a am: 851fd50a07  -s ours am: 690f73f1a1 am: bba4dc9556
am: 9686489598

Change-Id: I6fa200a604571a376f98259a3f5cbf435d97d11d

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 01:58:27 +0000 (01:58 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2 am: 6d7f209964  -s ours am: 5d1bfd9d5f am: 13fdd92274 am: cc63841161 am: eb8bdd6e12  -s ours am: 01e42cf67c
am: f0edbfbe48

Change-Id: If5939a0551fb4101abeb96d183337f1e147edd99

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 01:57:25 +0000 (01:57 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5 am: 2432cf3645  -s ours am: 99f8b9c2b4 am: f6c384c657 am: a2fe1c2e62 am: c0a7561135  -s ours am: c0294c50e2
am: 3b38e7d663

Change-Id: Iffe525eda50fa8304956a62048711aa1ed797ef3

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 01:50:08 +0000 (01:50 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2 am: 6d7f209964  -s ours am: 5d1bfd9d5f am: 13fdd92274 am: cc63841161 am: eb8bdd6e12  -s ours
am: 01e42cf67c

Change-Id: I9d3526db7534ae6e64b535748f1fc4c956e0e598

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 01:49:09 +0000 (01:49 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5 am: 2432cf3645  -s ours am: 99f8b9c2b4 am: f6c384c657 am: a2fe1c2e62 am: c0a7561135  -s ours
am: c0294c50e2

Change-Id: I084aedf0732fedfccdb423b914c069f6a17d45c3

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 01:41:54 +0000 (01:41 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2 am: 6d7f209964  -s ours am: 5d1bfd9d5f am: 13fdd92274 am: cc63841161
am: eb8bdd6e12  -s ours

Change-Id: Id3574f3acaaeaa0afc597c4b832b0149dc8e19ee

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 01:40:55 +0000 (01:40 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5 am: 2432cf3645  -s ours am: 99f8b9c2b4 am: f6c384c657 am: a2fe1c2e62
am: c0a7561135  -s ours

Change-Id: Ibb3d9fbb49ace0cd5d1d5fa62e754f1340dc5d95

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 01:34:14 +0000 (01:34 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2 am: 6d7f209964  -s ours am: 5d1bfd9d5f am: 13fdd92274
am: cc63841161

Change-Id: I888c0836f2b9d481ebf5e3cb7bed6692810bc919

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 01:33:19 +0000 (01:33 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5 am: 2432cf3645  -s ours am: 99f8b9c2b4 am: f6c384c657
am: a2fe1c2e62

Change-Id: I893c299b54529b29ddc701071cb5f806e92705b8