OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Use the correct prebuilts for lifecycles." into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 01:58:23 +0000 (01:58 +0000)]
Merge "Use the correct prebuilts for lifecycles." into pi-dev

6 years agoMerge "Update USB charging strings" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 01:44:32 +0000 (01:44 +0000)]
Merge "Update USB charging strings" into pi-dev

6 years agoMerge "Bump activity stop timeout past ANR timeout." into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 01:41:54 +0000 (01:41 +0000)]
Merge "Bump activity stop timeout past ANR timeout." into pi-dev

6 years agoMerge "Update JNI to call captureChildLayers" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 01:08:06 +0000 (01:08 +0000)]
Merge "Update JNI to call captureChildLayers" into pi-dev

6 years agoMerge "Protecting against trying to launch apps that don't exist" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 01:07:09 +0000 (01:07 +0000)]
Merge "Protecting against trying to launch apps that don't exist" into pi-dev

6 years agoMerge "Remove unnecessary static libraries in libmedia2_jni" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 00:40:10 +0000 (00:40 +0000)]
Merge "Remove unnecessary static libraries in libmedia2_jni" into pi-dev

6 years agoMerge "MediaSession2: Convert DataSourceDesc to MediaItem2 in MyPlayerEventCallback...
Hyundo Moon [Fri, 16 Mar 2018 00:18:41 +0000 (00:18 +0000)]
Merge "MediaSession2: Convert DataSourceDesc to MediaItem2 in MyPlayerEventCallback" into pi-dev

6 years agoMerge "SliceManager: Relax explicit checks on map a little bit" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 00:11:53 +0000 (00:11 +0000)]
Merge "SliceManager: Relax explicit checks on map a little bit" into pi-dev

6 years agoMerge "Set audio attrs on volume + home button vibrations" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 23:41:53 +0000 (23:41 +0000)]
Merge "Set audio attrs on volume + home button vibrations" into pi-dev

6 years agoBump activity stop timeout past ANR timeout.
Robert Carr [Thu, 15 Mar 2018 23:19:07 +0000 (16:19 -0700)]
Bump activity stop timeout past ANR timeout.

Once the activity stop timeout is triggered we may destroy
surfaces triggering native crashes. Imagine though an
app that hung in onStop, and then receives (and fails to handle)
an input event. Since the stop timeout was started before the hang
the stop timeout is very likely to trigger before the ANR timeout
leading to difficult to account for crashes. By the same logic we
bump the toast removal timeout.

Test: Feed it to the monkeys.
Bug: 62536731
Change-Id: I8e357271cfaa9f4077bb5bc92fdbd4584a425e8b

6 years agoMerge "[UI Tweak] Move PIN eSIM error message button position" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 23:16:47 +0000 (23:16 +0000)]
Merge "[UI Tweak] Move PIN eSIM error message button position" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am...
Wyatt Riley [Thu, 15 Mar 2018 23:06:06 +0000 (23:06 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am: 38860f2cab am: 4b8765ff4a
am: 3b0285794a

Change-Id: I401b79bd0df7cf4e3b423edd70806f2ed7b3d7ea

6 years agoMerge "Removes stats_log proto from uid map in statsd." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:57:09 +0000 (22:57 +0000)]
Merge "Removes stats_log proto from uid map in statsd." into pi-dev

6 years agoMerge "MediaPlayer2Impl: fix null object reference." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:54:49 +0000 (22:54 +0000)]
Merge "MediaPlayer2Impl: fix null object reference." into pi-dev

6 years agoMerge "Adding size suffix to diskstats fields." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:52:39 +0000 (22:52 +0000)]
Merge "Adding size suffix to diskstats fields." into pi-dev

6 years agoMerge "Fix uid for AppBreadcrumbReported for 3p app" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:46:47 +0000 (22:46 +0000)]
Merge "Fix uid for AppBreadcrumbReported for 3p app" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am...
Wyatt Riley [Thu, 15 Mar 2018 22:27:50 +0000 (22:27 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am: 38860f2cab
am: 4b8765ff4a

Change-Id: Ib91a39ae254922ae56b2911c29b86679d4dd16fb

6 years agoMerge "camera2: Add links for aeState" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:17:22 +0000 (22:17 +0000)]
Merge "camera2: Add links for aeState" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev
Wyatt Riley [Thu, 15 Mar 2018 22:14:04 +0000 (22:14 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev
am: 38860f2cab

Change-Id: Ief795f6cc13f5877acf0550a144c7f16aaa9a934

6 years agoMerge "Remove comments of privacy.proto to avoid this accidently go to AOSP" into...
Yi Jin [Thu, 15 Mar 2018 22:09:46 +0000 (22:09 +0000)]
Merge "Remove comments of privacy.proto to avoid this accidently go to AOSP" into pi-dev

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Marco Nelissen [Thu, 15 Mar 2018 22:05:35 +0000 (22:05 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef am: 957e6ff8fe  -s ours am: 10dd321343  -s ours
am: 9dadab0c7c  -s ours

Change-Id: Id212aa1da51bd755ff548abb1067078e661ab674

6 years agoRemove comments of privacy.proto to avoid this accidently go to AOSP
Yi Jin [Tue, 13 Mar 2018 22:01:00 +0000 (15:01 -0700)]
Remove comments of privacy.proto to avoid this accidently go to AOSP

Bug: 72950747
Test: manual
Change-Id: I06a897170996fc0aa493bda76495c6ef1e484961

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Marco Nelissen [Thu, 15 Mar 2018 21:57:27 +0000 (21:57 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef am: 957e6ff8fe  -s ours
am: 10dd321343  -s ours

Change-Id: I1b97c296b4e205f22eef83a34512bd16e8b6464a

6 years agoProtecting against trying to launch apps that don't exist
Kevin Neas [Tue, 13 Mar 2018 00:36:23 +0000 (17:36 -0700)]
Protecting against trying to launch apps that don't exist

BUG: 74083361

Change-Id: Ia0750bcca2534e794a81f094d5c214af4011c0ce
Test: Locally
(cherry picked from commit cb45b97a539a6460af1ecb43ddc3bf574f8100a9)

6 years agoSliceManager: Relax explicit checks on map a little bit
Jason Monk [Thu, 15 Mar 2018 21:48:47 +0000 (17:48 -0400)]
SliceManager: Relax explicit checks on map a little bit

Test: manual
Bug: 68378561
Change-Id: Iaf7e296dfd7dd355ca755386d1e2fb7b220abc15

6 years agoMerge "update OWNERS Bug: 63633199 Change-Id: I538ca012b68e27106fee8924f588a9fc1aef88...
Chong Zhang [Thu, 15 Mar 2018 21:46:42 +0000 (21:46 +0000)]
Merge "update OWNERS Bug: 63633199 Change-Id: I538ca012b68e27106fee8924f588a9fc1aef88f8" into pi-dev

6 years agoupdate OWNERS
Chong Zhang [Thu, 15 Mar 2018 21:42:37 +0000 (14:42 -0700)]
update OWNERS
Bug: 63633199
Change-Id: I538ca012b68e27106fee8924f588a9fc1aef88f8

6 years agoMerge "fix slow get caps -- DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:40:32 +0000 (21:40 +0000)]
Merge "fix slow get caps -- DO NOT MERGE" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:39:46 +0000 (21:39 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev

* changes:
  [automerger skipped] DO NOT MERGE: Restoring Network Available Notification to AGnssRil skipped: 3656457fac skipped: d3ef137680
  [automerger skipped] DO NOT MERGE: Restoring Network Available Notification to AGnssRil skipped: 3656457fac
  DO NOT MERGE: Restoring Network Available Notification to AGnssRil

6 years agoUse the correct prebuilts for lifecycles.
Doris Ling [Thu, 15 Mar 2018 21:28:33 +0000 (14:28 -0700)]
Use the correct prebuilts for lifecycles.

The previous change has been reverted due to the proguard issue. That
has been fixed, and we should now re-apply this change.

Change-Id: I2ea5573284488bc0cb3871d4b36221a79fe28181
Fixes: 74834445
Test: make RunSettingsRoboTests

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Marco Nelissen [Thu, 15 Mar 2018 21:26:48 +0000 (21:26 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef
am: 957e6ff8fe  -s ours

Change-Id: I0eed35a22a6e3186d8dc37fb2bae76fcbbe0d5ff

6 years agoMerge "Move computation of decodeColor- Type and Space" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:26:24 +0000 (21:26 +0000)]
Merge "Move computation of decodeColor- Type and Space" into pi-dev

6 years agoMerge "Fix bug to break switch cases." into pi-dev
Yi Jin [Thu, 15 Mar 2018 21:25:59 +0000 (21:25 +0000)]
Merge "Fix bug to break switch cases." into pi-dev

6 years agoFix bug to break switch cases.
Yi Jin [Thu, 15 Mar 2018 21:14:26 +0000 (14:14 -0700)]
Fix bug to break switch cases.

Bug: 75001195
Test: N/A
Change-Id: I99274cbf34d191c25ad9ced08f999c59f922cb25

6 years agoRemove unnecessary static libraries in libmedia2_jni
Dongwon Kang [Wed, 14 Mar 2018 22:22:23 +0000 (15:22 -0700)]
Remove unnecessary static libraries in libmedia2_jni

Test: build
Bug: 63934228
Change-Id: I146ee62e78cf2d3348e624f61a1c3328820bd763

6 years agoMerge "DndTile includes secondary label in content descr." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:10:21 +0000 (21:10 +0000)]
Merge "DndTile includes secondary label in content descr." into pi-dev

6 years agoMerge "Adding IntDef annotations to some flag based properties" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:07:13 +0000 (21:07 +0000)]
Merge "Adding IntDef annotations to some flag based properties" into pi-dev

6 years agoMerge "Fix deadlock regarding screen-capture-disabled" into pi-dev
Makoto Onuki [Thu, 15 Mar 2018 21:01:49 +0000 (21:01 +0000)]
Merge "Fix deadlock regarding screen-capture-disabled" into pi-dev

6 years agoUpdate USB charging strings
Jerry Zhang [Thu, 15 Mar 2018 19:29:03 +0000 (12:29 -0700)]
Update USB charging strings

Fixes: 74405634
Test: n/a
Change-Id: I099e698d6dbbad132ab234fba4e2b2e1b6142464

6 years agoMerge "Improved Field Classification edit distance algorithms." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 20:52:09 +0000 (20:52 +0000)]
Merge "Improved Field Classification edit distance algorithms." into pi-dev

6 years agoUpdate JNI to call captureChildLayers
Robert Carr [Wed, 7 Mar 2018 22:08:09 +0000 (14:08 -0800)]
Update JNI to call captureChildLayers

All current usage of captureChildLayers prefers this variant.

Bug: 72760590
Test: Manual, go/wm-smoke, screenshots work.
Change-Id: I5e53e8a01877f8e2e7efcde3384afee961e43e42

6 years agoAdding size suffix to diskstats fields.
Kweku Adams [Thu, 15 Mar 2018 18:29:42 +0000 (11:29 -0700)]
Adding size suffix to diskstats fields.

This is to follow the stated style convention.

Bug: 74975371
Test: flash device and check incident output
Change-Id: Ic4282f2e623999f4d7795c4932d5faf10280c3c6

6 years agoRemoves stats_log proto from uid map in statsd.
David Chen [Thu, 15 Mar 2018 01:36:45 +0000 (18:36 -0700)]
Removes stats_log proto from uid map in statsd.

We don't need to parse the proto of uid map, so we use the
ProtoOutputStreame class to generate the binary form of the proto
output that's needed for parsing the uid map data.

Test: Verified unit-tests still pass.
Bug: 74010813
Change-Id: Ia2f7572f3b78bb6f7b60e8b14cf5d65428469ab6

6 years agoMerge "Delete secondary text in charging animation" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 20:32:27 +0000 (20:32 +0000)]
Merge "Delete secondary text in charging animation" into pi-dev

6 years agoMerge "[AWARE] Metrics for Discovery + Ranging" into pi-dev
Etan Cohen [Thu, 15 Mar 2018 20:26:13 +0000 (20:26 +0000)]
Merge "[AWARE] Metrics for Discovery + Ranging" into pi-dev

6 years agoMerge "Add uses on marlin to hidden API light greylist" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 20:11:37 +0000 (20:11 +0000)]
Merge "Add uses on marlin to hidden API light greylist" into pi-dev

6 years agoMerge "Add rotation logs to help debug bug reports" into pi-dev
Mike Digman [Thu, 15 Mar 2018 20:06:53 +0000 (20:06 +0000)]
Merge "Add rotation logs to help debug bug reports" into pi-dev

6 years agoMerge "Update rotate navbar icon to Google Material spec" into pi-dev
Mike Digman [Thu, 15 Mar 2018 20:06:19 +0000 (20:06 +0000)]
Merge "Update rotate navbar icon to Google Material spec" into pi-dev

6 years agoMerge "Revert "Update packages for 1.0.0-beta1"" into pi-dev
Alan Viverette [Thu, 15 Mar 2018 20:04:22 +0000 (20:04 +0000)]
Merge "Revert "Update packages for 1.0.0-beta1"" into pi-dev

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 20:00:14 +0000 (20:00 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef

Change-Id: I1b2bb3c0c2adf15d344697381e5651b9a6adbf9f

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 20:00:09 +0000 (20:00 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855

Change-Id: Ia2f661ae02c925da5d6e05f96983cc3f606cd9bd

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 20:00:04 +0000 (20:00 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2

Change-Id: I6388ec63ab6d29d1b002cc296571e67278245fc0

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:59 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f

Change-Id: I3a801f0e6cadeb98e28d91c52062e6e63164bca2

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:54 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d

Change-Id: I17d0b95d850a142500d3932a472659c1e9e804f3

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:42 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca

Change-Id: Ib29c785708e959391b3e388b453147e94037420f

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:37 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923

Change-Id: I9f69b090824a6c91bf11dbc0929ba5988a06af52

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:32 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644

Change-Id: I8539a02510ed9a61b683c66c66de7d1b319c2603

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:26 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38

Change-Id: I5cb1316547ced23a1259e068d1ea34631d105608

6 years agoDO NOT MERGE Rework thumbnail cleanup
Marco Nelissen [Tue, 7 Nov 2017 21:52:02 +0000 (13:52 -0800)]
DO NOT MERGE Rework thumbnail cleanup

Bug: 63766886
Test: ran CTS tests
Change-Id: I1f92bb014e275eafe3f42aef1f8c817f187c6608
Merged-In: I1f92bb014e275eafe3f42aef1f8c817f187c6608

6 years agoMerge "Don't throw but wtf to help chase mismatched start/finish op calls" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 19:56:39 +0000 (19:56 +0000)]
Merge "Don't throw but wtf to help chase mismatched start/finish op calls" into pi-dev

6 years agoMerge "Break down jank between frame drops vs. triple buffered" into pi-dev
John Reck [Thu, 15 Mar 2018 19:48:54 +0000 (19:48 +0000)]
Merge "Break down jank between frame drops vs. triple buffered" into pi-dev

6 years agoMerge "Move the support_transfer_ownership_metadata inside the device admin descripto...
Antoan Angelov [Thu, 15 Mar 2018 19:40:13 +0000 (19:40 +0000)]
Merge "Move the support_transfer_ownership_metadata inside the device admin descriptor XML." into pi-dev

6 years agoMerge "Improve efficiency for CpuTimePerUidFreq" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 19:39:03 +0000 (19:39 +0000)]
Merge "Improve efficiency for CpuTimePerUidFreq" into pi-dev

6 years agoMerge "Fix instant app filter" into pi-dev
Todd Kennedy [Thu, 15 Mar 2018 19:28:33 +0000 (19:28 +0000)]
Merge "Fix instant app filter" into pi-dev

6 years agoFix instant app filter
Todd Kennedy [Wed, 14 Mar 2018 15:14:23 +0000 (08:14 -0700)]
Fix instant app filter

There were two bugs in the filtration:
1) An instant app could query for activity info in another
   instant app
2) An instant app could query for activity info from a full
   app if the activity was implicitly exposed by having
   a VIEW/BROWSABLE intent filter

Fixes: 74986543
Test: atest -it CtsAppSecurityHostTestCases:EphemeralTest#testActivityInfo
Change-Id: I89b2fb661b13b8e8a8abc6f980d9c56eb4d692b7
(cherry picked from commit 9c72a974224a931f093cdba59abc8627570b3aeb)

6 years agoAdding IntDef annotations to some flag based properties
Sunny Goyal [Thu, 15 Mar 2018 19:00:26 +0000 (12:00 -0700)]
Adding IntDef annotations to some flag based properties

Bug: 74408961
Test: N/A
Change-Id: I4320c5e265b52338eb2f4b2e5ea80ea05b9ca28f

6 years agoDndTile includes secondary label in content descr.
Beverly [Thu, 15 Mar 2018 18:50:40 +0000 (14:50 -0400)]
DndTile includes secondary label in content descr.

On talkback, user will be able to hear the secondary label
for DND now.

Test: manual
Change-Id: Iaef1e568d8b5f466f0b2352cf648fb43ef1bc64a
Fixes: 74946051

6 years agoRevert "Update packages for 1.0.0-beta1"
Alan Viverette [Thu, 15 Mar 2018 17:47:57 +0000 (17:47 +0000)]
Revert "Update packages for 1.0.0-beta1"

This reverts commit ad4d866837be4ed07d44672d74473acfb9461ec2.

Reason for revert: broke Settings

Bug: 74950017
Test: revert only
Change-Id: I7a535717d30ec79cd5a2f0529cb7ce511145e0ae

6 years agoMerge "Add fake plan with data overuse." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 18:34:54 +0000 (18:34 +0000)]
Merge "Add fake plan with data overuse." into pi-dev

6 years agoImproved Field Classification edit distance algorithms.
Felipe Leme [Thu, 15 Mar 2018 00:23:28 +0000 (17:23 -0700)]
Improved Field Classification edit distance algorithms.

The initial implementation was very simple, as the focus was the overall
workflow. Now it uses a proper implementation, copied from
com.android.tools.lint.detector.api.LintUtils.java

Test: atest ExtServicesUnitTests FieldsClassificationTest
Bug: 70291841

Change-Id: I7424b7f03a3c9cf9619c154656fa211b9f0c494a

6 years agoMediaPlayer2Impl: fix null object reference.
Wei Jia [Thu, 15 Mar 2018 18:26:37 +0000 (11:26 -0700)]
MediaPlayer2Impl: fix null object reference.

Test: cts tests pass
Bug: 74204684
Change-Id: I906eeb9d907ae1a798be585c54126f02eb66448f

6 years agofix slow get caps -- DO NOT MERGE
Chong Zhang [Thu, 1 Mar 2018 02:46:26 +0000 (18:46 -0800)]
fix slow get caps -- DO NOT MERGE

When get caps is called on an MediaCodec object, try to
use the codec info for that MediaCodec first as it should
be available during codec construction. Only when that
somehow failed go and initialize the full MediaCodecList,
as building the entire list could be very slow.

And when cloning the CodecCapabilities from MediaCodecInfo,
copy the fields directly and the fields (other than the ones
modifiable by client) are immutable after construction.

bug: 74073607

Test:
CTS media post submit:
cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice

Change-Id: I4ae5f2431da8528e1eca093c5cfb98abcb4a5bbf
(cherry picked from commit 90d7304a83ea1758ac2f7a9293d4790a1a28eb4e)

6 years agocamera2: Add links for aeState
Chien-Yu Chen [Thu, 15 Mar 2018 18:14:29 +0000 (11:14 -0700)]
camera2: Add links for aeState

Test: Build
Bug: 74976641
Change-Id: I5da5a59ae1072c9240c42ad7a38fc25548fcea63

6 years agoSet audio attrs on volume + home button vibrations
Beverly [Thu, 15 Mar 2018 17:54:43 +0000 (13:54 -0400)]
Set audio attrs on volume + home button vibrations

System vibrations should not be turned off by dnd.
Previously, dnd would stop the vibrations on the ringer
volume dialog tri-state toggle and home buttons because
they didn't have the correct AudioAttributes.  This CL gives
these vibrations the correct AudioAttributes so they don't
get muted by DND.

Test: manual
Bug: 74441602
Change-Id: Idbe52f94a35a5333d4c8f80ed374d0384ddb550d

6 years agoAdd uses on marlin to hidden API light greylist
David Brazdil [Mon, 12 Mar 2018 19:28:36 +0000 (19:28 +0000)]
Add uses on marlin to hidden API light greylist

Bug: 64382372
Test: make
Change-Id: I5640f1c377a8ae174696a4d95d4937e4813f680c
(cherry picked from commit fc1c87285d338857e92f62b6940da92e483ebeb6)

6 years agoFix uid for AppBreadcrumbReported for 3p app
Chenjie Yu [Thu, 15 Mar 2018 05:28:47 +0000 (22:28 -0700)]
Fix uid for AppBreadcrumbReported for 3p app

Bug: 74897773
Test: gts test
Change-Id: I79ef4efaf37ead570a2fe0d96e2c394a79a20a93

6 years agoMerge "rename notifications from carrierServiceStateTracker" into pi-dev
Chen Xu [Thu, 15 Mar 2018 18:01:02 +0000 (18:01 +0000)]
Merge "rename notifications from carrierServiceStateTracker" into pi-dev

6 years agoMerge "Delete unused RecoveryController exceptions" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 17:59:07 +0000 (17:59 +0000)]
Merge "Delete unused RecoveryController exceptions" into pi-dev

6 years agoMerge "Mark flaky test as flaky" into pi-dev
Jorim Jaggi [Thu, 15 Mar 2018 17:50:38 +0000 (17:50 +0000)]
Merge "Mark flaky test as flaky" into pi-dev

6 years agoDon't throw but wtf to help chase mismatched start/finish op calls
Svet Ganov [Thu, 15 Mar 2018 17:45:56 +0000 (10:45 -0700)]
Don't throw but wtf to help chase mismatched start/finish op calls

Bug: 74681706

Test: manual

Change-Id: I4661d46f953ad6dc6f11eccc5b3824bf51899374

6 years ago[UI Tweak] Move PIN eSIM error message button position
Qingxi Li [Thu, 15 Mar 2018 17:45:04 +0000 (10:45 -0700)]
[UI Tweak] Move PIN eSIM error message button position

This CL move the eSIM error message in PIN/PUK screen from left to
right.

Bug: 74450400
Test: E2E & bit SystemUITests:*
Change-Id: I7bd93c7c9b70c76af408c8ca29004876c9192a42

6 years agoMerge "docs: Fixing broken hyperlinks" into pi-dev
Andrew Solovay [Thu, 15 Mar 2018 17:40:55 +0000 (17:40 +0000)]
Merge "docs: Fixing broken hyperlinks" into pi-dev

6 years agoMerge "kClear blend mode is drawn as kDstOut" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 17:36:12 +0000 (17:36 +0000)]
Merge "kClear blend mode is drawn as kDstOut" into pi-dev

6 years agoMerge "Wrap fd with unique_fd so it won't leak." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 17:32:22 +0000 (17:32 +0000)]
Merge "Wrap fd with unique_fd so it won't leak." into pi-dev

6 years agoImprove efficiency for CpuTimePerUidFreq
Chenjie Yu [Thu, 15 Mar 2018 00:12:59 +0000 (17:12 -0700)]
Improve efficiency for CpuTimePerUidFreq

Tested on marlin. Shortly after boot, the total is 468 fileds with non
zero time spent at frequency.
It quickly swell to 1600+ though.
It is some improvement compared to 2700+, but still an extremely large
pulled atom.

Bug: 74965273
Test: manual test
Change-Id: Ibbeaa02f54d91c4958d75dd3aaafbb306d61f8d8

6 years agoAdd rotation logs to help debug bug reports
Mike Digman [Wed, 14 Mar 2018 23:25:11 +0000 (16:25 -0700)]
Add rotation logs to help debug bug reports

Debug logs should be turned off for release

Change-Id: I8d9f1ee1e46d014669def25dd47c3a151545afc6
Fixes: 74961129
Test: manual

6 years agoMerge "MediaPlayer2Impl: fix several functions" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 15:40:10 +0000 (15:40 +0000)]
Merge "MediaPlayer2Impl: fix several functions" into pi-dev

6 years agokClear blend mode is drawn as kDstOut
Stan Iliev [Fri, 2 Mar 2018 18:20:26 +0000 (13:20 -0500)]
kClear blend mode is drawn as kDstOut

kClear blend mode is drawn as kDstOut on hardware canvas for
compatibility with Android O and older.
On SDK released with Android P, the kClear blend mode is respected.

Bug: 71602378
Test: Ran Flo app
Change-Id: I6b0fa8b8bf5aa14aa5a351a914bf2ed0469ac660
(cherry picked from commit f9a461feafded09a0949f5acfd42187dc857a823)

6 years agoDelete secondary text in charging animation
Beverly [Thu, 15 Mar 2018 15:24:21 +0000 (11:24 -0400)]
Delete secondary text in charging animation

Secondary text was causing battery percentag
of wireless charging animation to be off center so remove it

Test: manual
Bug: 74946337
Change-Id: I0bf5ac142580011b24c12d4461b02885193d54d1

6 years agoMerge "Fix occasional NPE" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 15:10:49 +0000 (15:10 +0000)]
Merge "Fix occasional NPE" into pi-dev

6 years agoMerge "Display Cutout: invalidate overlay view when cutout changes" into pi-dev
Adrian Roos [Thu, 15 Mar 2018 15:02:24 +0000 (15:02 +0000)]
Merge "Display Cutout: invalidate overlay view when cutout changes" into pi-dev

6 years agoMerge "Add new hidden API." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 14:52:26 +0000 (14:52 +0000)]
Merge "Add new hidden API." into pi-dev

6 years agoDelete unused RecoveryController exceptions
Robert Berry [Thu, 15 Mar 2018 14:34:16 +0000 (14:34 +0000)]
Delete unused RecoveryController exceptions

These were never used by GMSCore, so can safely be deleted.

Bug: 74944591
Test: it builds
Change-Id: Ib8955262223aa5d86de0b342f6e04c7461c71583

6 years agoMerge "Update a bunch of AndroidTest for apct suite" into pi-dev
Julien Desprez [Thu, 15 Mar 2018 14:29:11 +0000 (14:29 +0000)]
Merge "Update a bunch of AndroidTest for apct suite" into pi-dev

6 years agoMerge "Update packages for 1.0.0-beta1" into pi-dev
Alan Viverette [Thu, 15 Mar 2018 13:32:16 +0000 (13:32 +0000)]
Merge "Update packages for 1.0.0-beta1" into pi-dev

6 years agoMerge "Add IMS#BACK_DISPOSITION_ADJUST_NOTHING" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 13:27:30 +0000 (13:27 +0000)]
Merge "Add IMS#BACK_DISPOSITION_ADJUST_NOTHING" into pi-dev

6 years agoMerge "Greylist DevicePolicyManager#setDefaultSmsApplication" into pi-dev
David Brazdil [Thu, 15 Mar 2018 13:06:15 +0000 (13:06 +0000)]
Merge "Greylist DevicePolicyManager#setDefaultSmsApplication" into pi-dev

6 years agoAdd new hidden API.
Nicolas Geoffray [Thu, 15 Mar 2018 12:49:11 +0000 (12:49 +0000)]
Add new hidden API.

bug: 74938974
Test: m
Change-Id: Idc2f9c9f707ef813c792764334ec124583e4ca33

6 years agoMerge "Add jaewan@ to OWNERS" into pi-dev
Jaewan Kim [Thu, 15 Mar 2018 12:43:29 +0000 (12:43 +0000)]
Merge "Add jaewan@ to OWNERS" into pi-dev

6 years agoMerge "Whitelist UsbPortStatus and UsbRequest members" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 12:41:17 +0000 (12:41 +0000)]
Merge "Whitelist UsbPortStatus and UsbRequest members" into pi-dev