OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"" into...
Jeffrey Vander Stoep [Tue, 6 Mar 2018 20:59:08 +0000 (20:59 +0000)]
Merge "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"" into pi-dev
am: 1d03b9489e

Change-Id: I1fcbe7768bc34528b900dd47218fedc7d06ce661

6 years agoMerge "Merge "Fix notification padding and slice collision" into pi-dev am: 0719d0790...
Android Build Merger (Role) [Tue, 6 Mar 2018 20:53:08 +0000 (20:53 +0000)]
Merge "Merge "Fix notification padding and slice collision" into pi-dev am: 0719d0790c" into pi-dev-plus-aosp

6 years agoMerge "Fix notification padding and slice collision" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 20:52:51 +0000 (20:52 +0000)]
Merge "Fix notification padding and slice collision" into pi-dev
am: 0719d0790c

Change-Id: I70fea996d9f78fd68ff888c5d2deec2a76c54582

6 years agoMerge "Obtain cellular related battery statistics" am: 4b0172bcb6
Siddharth Ray [Tue, 6 Mar 2018 20:51:53 +0000 (20:51 +0000)]
Merge "Obtain cellular related battery statistics" am: 4b0172bcb6
am: a09adc6db1  -s ours

Change-Id: Ifadbf09accabc5b2ba875c6430cd38415fce3a6c

6 years agoMerge "Add more APIs into hidden API light greylist" into pi-dev
David Brazdil [Tue, 6 Mar 2018 20:48:10 +0000 (20:48 +0000)]
Merge "Add more APIs into hidden API light greylist" into pi-dev
am: 99c5b70646

Change-Id: If9425e3e9417e9117235d513d36d6533599b096d

6 years agoMerge "DO NOT MERGE Don't send config change when display is removed" into pi-dev
Andrii Kulian [Tue, 6 Mar 2018 20:43:27 +0000 (20:43 +0000)]
Merge "DO NOT MERGE Don't send config change when display is removed" into pi-dev
am: 98396d2de4

Change-Id: I1a26998296be54da90556f893da6b1a7fd492480

6 years agoMerge "Accounts: Fix TokenCache maps access" am: b06de7892a
Andreas Gampe [Tue, 6 Mar 2018 20:29:24 +0000 (20:29 +0000)]
Merge "Accounts: Fix TokenCache maps access" am: b06de7892a
am: c311914042

Change-Id: I5ca61d48c103c33cd790698c097f581e76e354fc

6 years agoMerge "Update the RTT features constant." am: c18b175d87
Eric Erfanian [Tue, 6 Mar 2018 20:22:48 +0000 (20:22 +0000)]
Merge "Update the RTT features constant." am: c18b175d87
am: 1a59a97a0c  -s ours

Change-Id: I773ce15460240ebbbdc232449baf40e07e9ce0a5

6 years agoMerge "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"" into...
TreeHugger Robot [Tue, 6 Mar 2018 20:14:26 +0000 (20:14 +0000)]
Merge "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"" into pi-dev

6 years agoMerge "Fix notification padding and slice collision" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 20:13:48 +0000 (20:13 +0000)]
Merge "Fix notification padding and slice collision" into pi-dev

6 years agoMerge "Add more APIs into hidden API light greylist" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 20:12:24 +0000 (20:12 +0000)]
Merge "Add more APIs into hidden API light greylist" into pi-dev

6 years agoMerge "DO NOT MERGE Don't send config change when display is removed" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 20:08:34 +0000 (20:08 +0000)]
Merge "DO NOT MERGE Don't send config change when display is removed" into pi-dev

6 years agoMerge "Obtain cellular related battery statistics"
Siddharth Ray [Tue, 6 Mar 2018 20:08:15 +0000 (20:08 +0000)]
Merge "Obtain cellular related battery statistics"
am: 4b0172bcb6

Change-Id: I364d329e92a6bd92ce601d34c94a92c91f09eb38

6 years agoMerge "Camera: Fix map access" am: 8796d95475
Andreas Gampe [Tue, 6 Mar 2018 20:06:06 +0000 (20:06 +0000)]
Merge "Camera: Fix map access" am: 8796d95475
am: f17dcdaea9

Change-Id: I72e9146ed8d21974af3cfe8b209571ebe8c93a3b

6 years agoMerge "Accounts: Fix TokenCache maps access"
Andreas Gampe [Tue, 6 Mar 2018 20:03:33 +0000 (20:03 +0000)]
Merge "Accounts: Fix TokenCache maps access"
am: b06de7892a

Change-Id: Idb4409a7ac83326f178a176364c4a08b3716b64c

6 years agoMerge "Do not allow ScrimView backgrounds" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 20:02:37 +0000 (20:02 +0000)]
Merge "Do not allow ScrimView backgrounds" into pi-dev
am: b6238ed540

Change-Id: If02fcf7c2347f31d36067ac06672cfa361653fa7

6 years agoMerge "Update the RTT features constant."
Eric Erfanian [Tue, 6 Mar 2018 19:58:14 +0000 (19:58 +0000)]
Merge "Update the RTT features constant."
am: c18b175d87

Change-Id: Ic4419be53f3390336a5b95abe34a03944b3437e4

6 years agoMerge "Allow null subscriberId in NetworkStatsManager." am: 6bd13af46a
Remi NGUYEN VAN [Tue, 6 Mar 2018 19:52:57 +0000 (19:52 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager." am: 6bd13af46a
am: a6905db1d8

Change-Id: I1e4e283c6eaecf33d12488e41e0c524f6ff83954

6 years agoMerge "Merge "Expose Process.isIsolated()" into pi-dev am: 6ddf443d15" into pi-dev...
Android Build Merger (Role) [Tue, 6 Mar 2018 19:45:49 +0000 (19:45 +0000)]
Merge "Merge "Expose Process.isIsolated()" into pi-dev am: 6ddf443d15" into pi-dev-plus-aosp

6 years agoMerge "Camera: Fix map access"
Andreas Gampe [Tue, 6 Mar 2018 19:45:39 +0000 (19:45 +0000)]
Merge "Camera: Fix map access"
am: 8796d95475

Change-Id: Ife74759ff109b1b885420db408e6a6e0c3bb1388

6 years agoMerge "Expose Process.isIsolated()" into pi-dev
Andrew Grieve [Tue, 6 Mar 2018 19:45:12 +0000 (19:45 +0000)]
Merge "Expose Process.isIsolated()" into pi-dev
am: 6ddf443d15

Change-Id: I02cb0a0bb503201ea4b4e9ca4961e5687a51e6d8

6 years agoMerge "Connectivity: Fix map access" am: be04ebd707
Andreas Gampe [Tue, 6 Mar 2018 19:38:18 +0000 (19:38 +0000)]
Merge "Connectivity: Fix map access" am: be04ebd707
am: 81a6310c86

Change-Id: Ice91ac58257551485231da4664027a281237de4b

6 years agoMerge "Allow null subscriberId in NetworkStatsManager."
Remi NGUYEN VAN [Tue, 6 Mar 2018 19:37:13 +0000 (19:37 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager."
am: 6bd13af46a

Change-Id: I900ac14224284fc3a1422e8791bc54d6a9ee77ba

6 years agoChange action label to be sentence case in ONN
Mehdi Alizadeh [Tue, 6 Mar 2018 19:31:46 +0000 (19:31 +0000)]
Change action label to be sentence case in ONN
am: 398f6caa6b

Change-Id: Ib4a921243192f33eb2f2ff17d7d4fb89a7fef047

6 years agoMerge "Do not allow ScrimView backgrounds" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 19:28:30 +0000 (19:28 +0000)]
Merge "Do not allow ScrimView backgrounds" into pi-dev

6 years agoMerge "Update UsbHandlerTests" into pi-dev
Jerry Zhang [Tue, 6 Mar 2018 19:27:00 +0000 (19:27 +0000)]
Merge "Update UsbHandlerTests" into pi-dev
am: 67ccb4f5c4

Change-Id: I3f828300ac32a9afb6719ec3320403d261c79951

6 years agoMerge "Expose Process.isIsolated()" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 19:20:47 +0000 (19:20 +0000)]
Merge "Expose Process.isIsolated()" into pi-dev

6 years agoMerge "Connectivity: Fix map access"
Andreas Gampe [Tue, 6 Mar 2018 19:20:32 +0000 (19:20 +0000)]
Merge "Connectivity: Fix map access"
am: be04ebd707

Change-Id: I3c1fea926fda1d70e38746378191100bb825758f

6 years agoChange action label to be sentence case in ONN
Mehdi Alizadeh [Tue, 6 Mar 2018 01:50:36 +0000 (17:50 -0800)]
Change action label to be sentence case in ONN

Changes action label in Open network notification from "All Networks" to
"All networks" to make it sentence case.

Bug: 72693961
Test: check ONN notification text manually on device
Change-Id: I132fd3c4eb8cdb651775a3fb91ad0e79edd1aef5

6 years agoMerge "Update UsbHandlerTests" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 18:50:01 +0000 (18:50 +0000)]
Merge "Update UsbHandlerTests" into pi-dev

6 years agoMerge "Obtain cellular related battery statistics"
Treehugger Robot [Tue, 6 Mar 2018 18:19:20 +0000 (18:19 +0000)]
Merge "Obtain cellular related battery statistics"

6 years agoFix notification padding and slice collision
Lucas Dupin [Tue, 6 Mar 2018 03:06:00 +0000 (19:06 -0800)]
Fix notification padding and slice collision

Slices should completely replace notifications,
they should never be visible at the same time.

Test: send notification, look at AOD
Change-Id: I14f04db1e4541a24f7b9117659e4c9481262aeff
Fixes: 73908553

6 years agoMerge "ContextHub: Fix map access" into pi-dev
Andreas Gampe [Tue, 6 Mar 2018 18:14:07 +0000 (18:14 +0000)]
Merge "ContextHub: Fix map access" into pi-dev
am: 983c1e54e1

Change-Id: Id869cafd2d4f3d4b3d6ccd5303f37f069de5b4e2

6 years agoDO NOT MERGE Don't send config change when display is removed
Andrii Kulian [Thu, 1 Mar 2018 02:51:36 +0000 (18:51 -0800)]
DO NOT MERGE Don't send config change when display is removed

When a private display is removed, we're finishing all activities
that were on that display. But because the display will not be
available during activity finish process, we're fist moving all
stacks to the back of the default display, so that the removed
display won't be referenced accidentally.
This, however, can cause an additional resize message to the client
from the WindowManager if the size of the default display is
different, which will cause a configuration change. To avoid that
this CL freezes the config of the stacks being finished by overriding
to their current configs.

Bug: 73379938
Test: ActivityManagerMultiDisplayTests#testContentDestroyOnDisplayRemoved
Change-Id: I20e0becab097075ccb84e471e366a2ace37ab7cc
(cherry picked from commit dce1da45cadda2c9278b7fa57731e8a854e44cc6)

6 years agoMerge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 17:56:39 +0000 (17:56 +0000)]
Merge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
am: 1c6e3ba66d

Change-Id: I75f1594b938679919d531ff9b27b43e0a59a433d

6 years agoMerge "ContextHub: Fix map access" into pi-dev
Andreas Gampe [Tue, 6 Mar 2018 17:47:56 +0000 (17:47 +0000)]
Merge "ContextHub: Fix map access" into pi-dev

6 years agoMerge "Accounts: Fix TokenCache maps access"
Treehugger Robot [Tue, 6 Mar 2018 17:45:25 +0000 (17:45 +0000)]
Merge "Accounts: Fix TokenCache maps access"

6 years agoMerge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 17:34:48 +0000 (17:34 +0000)]
Merge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev

6 years agoExpose Process.isIsolated()
Andrew Grieve [Wed, 14 Feb 2018 14:45:35 +0000 (09:45 -0500)]
Expose Process.isIsolated()

Rather than have a process attempt to perform IO / IPC and check if it
fails, it makes much more sense to expose this getter.

My specific motivation for exposing this information more directly is to
be able to perform process-specific initialization logic in
Application.attachBaseContext():

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java?rcl=ac2e180a1265f88dd4030bb35d69f5d0b2dc488d&l=54

Bug: 73343822
Test: Same code that's used in Chrome via reflection.
Change-Id: I1505962679da36ac42401230b204bff7b3376b73

6 years agoAdd more APIs into hidden API light greylist
David Brazdil [Tue, 6 Mar 2018 13:29:52 +0000 (13:29 +0000)]
Add more APIs into hidden API light greylist

Uses from dynamic analysis of ~1200 apps.

Bug: 64382372
Test: make
Change-Id: I1f508d37338f2c0825e8e9ae6fa9a98e3c2c4e52

6 years agoMerge "Update the RTT features constant."
Treehugger Robot [Tue, 6 Mar 2018 16:07:16 +0000 (16:07 +0000)]
Merge "Update the RTT features constant."

6 years agoMerge "Camera: Fix map access"
Treehugger Robot [Tue, 6 Mar 2018 16:04:24 +0000 (16:04 +0000)]
Merge "Camera: Fix map access"

6 years agoMerge "Add new APIs to hidden API light greylist" into pi-dev
David Brazdil [Tue, 6 Mar 2018 15:57:48 +0000 (15:57 +0000)]
Merge "Add new APIs to hidden API light greylist" into pi-dev
am: e84c506fc3

Change-Id: Ib8a1af76f3f94fb74fdf4b86554b711d928fb6a2

6 years agoMerge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev
Tony Mak [Tue, 6 Mar 2018 15:46:32 +0000 (15:46 +0000)]
Merge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev
am: bf8137a7cd

Change-Id: I219b1d9246f4845e0d0100fd1490b3e2155caf32

6 years agoMerge "Add new APIs to hidden API light greylist" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 15:42:52 +0000 (15:42 +0000)]
Merge "Add new APIs to hidden API light greylist" into pi-dev

6 years agoMerge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 15:23:18 +0000 (15:23 +0000)]
Merge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev

6 years agoFix dark greylist violation seen during walleye boot.
Mathew Inwood [Tue, 6 Mar 2018 15:22:10 +0000 (15:22 +0000)]
Fix dark greylist violation seen during walleye boot.
am: 2cf621f8fa

Change-Id: I7bdd12ed40b4c336ed4a00433f2179a39a342d80

6 years agoRevert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"
Jeffrey Vander Stoep [Tue, 6 Mar 2018 08:22:20 +0000 (08:22 +0000)]
Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"

This reverts commit 8196fd9380a8efe2d7fed0652b9e3b5285b02b61.

Reason for revert: b/74214574

Bug: 74214574
Change-Id: I9602872238ccc8a49d8b200e5389995d597f1c3a
(cherry picked from commit 00b4fa8b138de801b0caf371a950fcda7b98bb83)

6 years agoAdd new APIs to hidden API light greylist
David Brazdil [Tue, 6 Mar 2018 10:08:45 +0000 (10:08 +0000)]
Add new APIs to hidden API light greylist

More APIs seen in use by common apps.

Bug: 64382372
Bug: 74219651
Bug: 74198691
Bug: 74138451
Bug: 73848080
Bug: 74208493
Bug: 74212462
Test: make
Change-Id: Ia06a5116d84a5401546970234432cbeec27febb9

6 years agoFix dark greylist violation seen during walleye boot.
Mathew Inwood [Tue, 6 Mar 2018 11:47:31 +0000 (11:47 +0000)]
Fix dark greylist violation seen during walleye boot.

Add these members to the light greylist. Also ensure all existing items
are sorted.

Violations seen per package:
.dataservices:
Landroid/os/HwBlob;-><init>(I)V

com.google.android.gms:
Landroid/app/usage/UsageStatsManager;->getAppStandbyBucket(Ljava/lang/String;)I
Landroid/os/WorkSource;->createWorkChain()Landroid/os/WorkSource$WorkChain;
Landroid/os/WorkSource$WorkChain;->addNode(ILjava/lang/String;)Landroid/os/WorkSource$WorkChain;
Landroid/security/keystore/RecoveryController;->getInstance()Landroid/security/keystore/RecoveryController;
Landroid/security/keystore/RecoveryController;->initRecoveryService(Ljava/lang/String;[B)V
Landroid/security/keystore/RecoveryController;->setRecoverySecretTypes([I)V
Landroid/security/keystore/RecoveryController;->setServerParams([B)V
Landroid/security/keystore/RecoveryController;->setSnapshotCreatedPendingIntent(Landroid/app/PendingIntent;)V

com.google.android.gms.persistent:
Landroid/app/usage/UsageStatsManager;->getAppStandbyBucket(Ljava/lang/String;)I
Landroid/os/WorkSource;->createWorkChain()Landroid/os/WorkSource$WorkChain;
Landroid/os/WorkSource$WorkChain;->addNode(ILjava/lang/String;)Landroid/os/WorkSource$WorkChain;

com.google.intelligence.sense:
Landroid/media/soundtrigger/SoundTriggerManager;->stopRecognition(Ljava/util/UUID;)I
Landroid/media/soundtrigger/SoundTriggerManager;->unloadSoundModel(Ljava/util/UUID;)I

com.verizon.mips.services:
Landroid/util/NtpTrustedTime;->forceRefresh()Z
Landroid/util/NtpTrustedTime;->getCachedNtpTime()J
Landroid/util/NtpTrustedTime;->getCachedNtpTimeReference()J
Landroid/util/NtpTrustedTime;->getInstance(Landroid/content/Context;)Landroid/util/NtpTrustedTime;
Landroid/util/NtpTrustedTime;->hasCache()Z

Test: No more dark greylist violations seen during boot.
Change-Id: I1b5a51da5f08c86b3b5a4816f528db0ff41f6600

6 years agoMerge "Don't whitelist all system image apps." into pi-dev
Mathew Inwood [Tue, 6 Mar 2018 12:07:30 +0000 (12:07 +0000)]
Merge "Don't whitelist all system image apps." into pi-dev
am: 3fbc54e609

Change-Id: I6eef88e7080c8c599494448b640ba0284cb30f6d

6 years agoMerge "Don't whitelist all system image apps." into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 11:50:23 +0000 (11:50 +0000)]
Merge "Don't whitelist all system image apps." into pi-dev

6 years agoRevert accidental change of isUsingUnifiedPassword javadoc
Tony Mak [Tue, 6 Mar 2018 11:33:55 +0000 (11:33 +0000)]
Revert accidental change of isUsingUnifiedPassword javadoc

Test: None

Change-Id: I72735b790ae37838917b2330b84a3cfef32ce7b8

6 years agoDon't whitelist all system image apps.
Mathew Inwood [Fri, 23 Feb 2018 15:01:52 +0000 (15:01 +0000)]
Don't whitelist all system image apps.

Also include in system dump which packages are exempt from the api
restrictions.

This is a cherry-pick of 974290b032b4d98603925d36851422986a5d7d0e
from master.

Test: Verified that the device boots.
Bug: 64382372
Change-Id: Iaeca91478f53c8b4e9608246aab42bdb90f899bb

6 years agoMerge "MediaSession2: Update Builder" into pi-dev
Hyundo Moon [Tue, 6 Mar 2018 09:44:22 +0000 (09:44 +0000)]
Merge "MediaSession2: Update Builder" into pi-dev
am: 9bc5610869

Change-Id: I4f7a5e40cd2f0d35c16ba2cdc79c2ec1d3bdb881

6 years agoMerge "MediaSession2: Update Builder" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 08:59:13 +0000 (08:59 +0000)]
Merge "MediaSession2: Update Builder" into pi-dev

6 years agoMerge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
Insun Kang [Tue, 6 Mar 2018 08:59:05 +0000 (08:59 +0000)]
Merge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
am: 27ed96bf0c

Change-Id: I754bda631577db7179f0d7811b75a26a8a9c392a

6 years agoMerge "Power profile audio & video support" into pi-dev
Mike Ma [Tue, 6 Mar 2018 08:33:57 +0000 (08:33 +0000)]
Merge "Power profile audio & video support" into pi-dev
am: 1ab03020db

Change-Id: I073bc1f1ab6ff7be692df042b94e05cba42eea2d

6 years agoMerge "Fail if the interface is not available when starting" into pi-dev
Erik Kline [Tue, 6 Mar 2018 08:25:03 +0000 (08:25 +0000)]
Merge "Fail if the interface is not available when starting" into pi-dev
am: a69df717ce  -s ours

Change-Id: I2ef43e57db77d84d9c6e80cb14b7cb78db42f49e

6 years agoMerge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev
Matthew Ng [Tue, 6 Mar 2018 08:18:34 +0000 (08:18 +0000)]
Merge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev
am: a2546208a6

Change-Id: I5e5cdc1f75ec7c3f300ad3c4f0a1e95d85636fa0

6 years agoMerge "MediaPlayer2: clarify sync/async for API's" into pi-dev
Wei Jia [Tue, 6 Mar 2018 08:07:34 +0000 (08:07 +0000)]
Merge "MediaPlayer2: clarify sync/async for API's" into pi-dev
am: 97d579d1ee

Change-Id: I26d1541c0d016181be09afdb172715fda3dc41dc

6 years agoMerge "Bluetooth: Use enums for adapter connection states" into pi-dev
Jack He [Tue, 6 Mar 2018 07:58:11 +0000 (07:58 +0000)]
Merge "Bluetooth: Use enums for adapter connection states" into pi-dev
am: faf6589748

Change-Id: I5b87108b96afb0e0c0e4f1de16901e785b50b7bd

6 years agoMerge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 07:55:14 +0000 (07:55 +0000)]
Merge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev

6 years agoMerge "Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76...
Android Build Merger (Role) [Tue, 6 Mar 2018 07:47:34 +0000 (07:47 +0000)]
Merge "Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76 am: 65777e4b61" into pi-dev-plus-aosp

6 years agoMerge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76
Lorenzo Colitti [Tue, 6 Mar 2018 07:47:11 +0000 (07:47 +0000)]
Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76
am: 65777e4b61

Change-Id: Ifa76adb79440b1d97c6cfc637509c0ddaefa76fa

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: f7995d280c -s ours
Bill Yi [Tue, 6 Mar 2018 07:44:55 +0000 (07:44 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: f7995d280c  -s ours
am: f2d1f3da86  -s ours

Change-Id: I1a611551d3517f43349c671a36b1a147ebd280e0

6 years agoMerge "Power profile audio & video support" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 07:44:28 +0000 (07:44 +0000)]
Merge "Power profile audio & video support" into pi-dev

6 years agoMerge "Merge "Destroy fill UI when app dies." into pi-dev am: 8ab878ebe0" into pi...
Android Build Merger (Role) [Tue, 6 Mar 2018 07:41:18 +0000 (07:41 +0000)]
Merge "Merge "Destroy fill UI when app dies." into pi-dev am: 8ab878ebe0" into pi-dev-plus-aosp

6 years agoMerge "Add an app-ops check when registering for location" am: b376f02260
Hall Liu [Tue, 6 Mar 2018 07:36:42 +0000 (07:36 +0000)]
Merge "Add an app-ops check when registering for location" am: b376f02260
am: be9359343e

Change-Id: I2490e155ca7436b1e38e5539f4215ba65b666b3e

6 years agoMerge "Destroy fill UI when app dies." into pi-dev
Felipe Leme [Tue, 6 Mar 2018 07:30:29 +0000 (07:30 +0000)]
Merge "Destroy fill UI when app dies." into pi-dev
am: 8ab878ebe0

Change-Id: I22b980126fad511fba43250d1056212c494519cd

6 years agoMerge "Minor cleanups to NetworkStats interface tracking."
Lorenzo Colitti [Tue, 6 Mar 2018 07:28:20 +0000 (07:28 +0000)]
Merge "Minor cleanups to NetworkStats interface tracking."
am: 6455e31b76

Change-Id: I84aad4b9815196e0362d6adba34359a260853f46

6 years agoMerge "Add an app-ops check when registering for location"
Hall Liu [Tue, 6 Mar 2018 07:17:02 +0000 (07:17 +0000)]
Merge "Add an app-ops check when registering for location"
am: b376f02260

Change-Id: I5a41e4080088ac1a62d67f18649ca44ddf0eed9c

6 years agoMerge "Adjust recents onboarding logic" into pi-dev
Tony Wickham [Tue, 6 Mar 2018 07:06:45 +0000 (07:06 +0000)]
Merge "Adjust recents onboarding logic" into pi-dev
am: 2cb0244ade

Change-Id: I5421c16fbf0af59254670399ae6734beba5370a4

6 years agoMediaSession2: Update Builder
Hyundo Moon [Tue, 6 Mar 2018 06:37:43 +0000 (15:37 +0900)]
MediaSession2: Update Builder

This CL updates following APIs of session builder:
 - setPlayer
 - setPlaylistController
 - setVolumeController

Bug: 74093082
Test: runtest-MediaComponents
Change-Id: I88365e740df7e14edf439cbed2106f788d027f53

6 years agoMerge "Allow null subscriberId in NetworkStatsManager."
Remi NGUYEN VAN [Tue, 6 Mar 2018 06:52:35 +0000 (06:52 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager."

6 years agoContextHub: Fix map access
Andreas Gampe [Tue, 6 Mar 2018 02:11:08 +0000 (18:11 -0800)]
ContextHub: Fix map access

Found by Errorprone.

Bug: 73288226
Test: m javac-check-services RUN_ERROR_PRONE=true
Change-Id: Ia546ded8e5cbdb3c1cf02192ea7b5fc2fdea920b

6 years agoMerge "Fail if the interface is not available when starting" into pi-dev
Erik Kline [Tue, 6 Mar 2018 05:53:29 +0000 (05:53 +0000)]
Merge "Fail if the interface is not available when starting" into pi-dev

6 years agoCamera: Fix map access
Andreas Gampe [Tue, 6 Mar 2018 01:30:50 +0000 (17:30 -0800)]
Camera: Fix map access

Found by Errorprone.

Bug: 73288226
Test: m javac-check-SmartCamera RUN_ERROR_PRONE
Change-Id: I6f6105f5d4a6ed5d28262bcdcd83764e6e8d5544

6 years agoVideoView2: Move MediaContolView2's hidden constant
Insun Kang [Mon, 5 Mar 2018 04:41:39 +0000 (13:41 +0900)]
VideoView2: Move MediaContolView2's hidden constant

Bug: 74173212
Test: VideoViewTest app
Change-Id: Ic91e0b0bfb910d555c1dbe77f028a017f2a18b79
(cherry picked from commit a0fdcc97f0e49162198142726381cd5746971a2c)

6 years agoMerge "Connectivity: Fix map access"
Treehugger Robot [Tue, 6 Mar 2018 05:39:39 +0000 (05:39 +0000)]
Merge "Connectivity: Fix map access"

6 years agoAllow null subscriberId in NetworkStatsManager.
Remi NGUYEN VAN [Mon, 5 Mar 2018 09:14:56 +0000 (18:14 +0900)]
Allow null subscriberId in NetworkStatsManager.

Use a MATCH_MOBILE_WILDCARD template to avoid filtering by
subscriberId when querying statistics from NetworkStatsService.

Bug: 74038898
Change-Id: I4b39e7031416cb33b23d89aa36ff0f774eaa942f
Fixes: 74038898
Test: runtest frameworks-net, CTS tests pass

6 years agoMerge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 04:14:27 +0000 (04:14 +0000)]
Merge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev

6 years agoMerge "MediaPlayer2: clarify sync/async for API's" into pi-dev
Wei Jia [Tue, 6 Mar 2018 03:42:25 +0000 (03:42 +0000)]
Merge "MediaPlayer2: clarify sync/async for API's" into pi-dev

6 years agoMerge "Check mMediaProvider for null" into pi-dev
Jerry Zhang [Tue, 6 Mar 2018 03:34:50 +0000 (03:34 +0000)]
Merge "Check mMediaProvider for null" into pi-dev
am: cefe0c6518

Change-Id: I8c901d37c99d1e144c7b2cdf2d66531eee02bb3c

6 years agoMerge "Bluetooth: Use enums for adapter connection states" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 03:33:42 +0000 (03:33 +0000)]
Merge "Bluetooth: Use enums for adapter connection states" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Tue, 6 Mar 2018 03:29:14 +0000 (03:29 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: f7995d280c  -s ours

Change-Id: I707bc618a85429e55a5ec60b4a430fe952e65fc2

6 years agoMerge "Destroy fill UI when app dies." into pi-dev
Felipe Leme [Tue, 6 Mar 2018 02:51:22 +0000 (02:51 +0000)]
Merge "Destroy fill UI when app dies." into pi-dev

6 years agoAccounts: Fix TokenCache maps access
Andreas Gampe [Tue, 6 Mar 2018 02:25:18 +0000 (18:25 -0800)]
Accounts: Fix TokenCache maps access

Found by Errorprone.

Bug: 73288226
Test: mmma frameworks/base/services
Change-Id: I203745415cbad6fad6f72008fc5632086d2a4505

6 years agoDo not allow ScrimView backgrounds
Lucas Dupin [Sat, 3 Mar 2018 00:01:10 +0000 (16:01 -0800)]
Do not allow ScrimView backgrounds

An external agent is setting the background of the ScrimView.
This causes washed out lock screen and AOD flickering.

It's not clear what's doing this so I'm adding a Log.wtf and keeping the
backbround from being set.

PS: also formatted the xml and removed an unused method

Change-Id: I65dce9ce2b097b572c78605e0524b3854f46457f
Fixes: 71527665
Fixes: 68877998
Test: manually add a ripple to packages/SystemUI/res/layout/super_status_bar.xml
(cherry picked from commit c2aa8d2a2d6e696423206c6a03ef76ba095e14bd)

6 years agoMerge "Minor cleanups to NetworkStats interface tracking."
Treehugger Robot [Tue, 6 Mar 2018 02:18:39 +0000 (02:18 +0000)]
Merge "Minor cleanups to NetworkStats interface tracking."

6 years agoMerge "Add an app-ops check when registering for location"
Hall Liu [Tue, 6 Mar 2018 02:14:45 +0000 (02:14 +0000)]
Merge "Add an app-ops check when registering for location"

6 years agoFail if the interface is not available when starting
Erik Kline [Fri, 2 Mar 2018 07:51:13 +0000 (16:51 +0900)]
Fail if the interface is not available when starting

Addresses a long-standing TODO.  Now, when calling IpClient's
startProvisioning(), the interface has to be available (i.e.
InterfaceParams#getByName() must return non-null).

Also:
    - add a test
    - refactor for testability
    - delete some constructors no longer used
    - properly handle passed-in null IpClient.Callback
    - some more IpManager -> IpClient renaming
    - permit recording metrics before starting a provisioning
      attempt (logging immediate errors) without Log.wtf().

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks/opt/net/wifi/tests/wifitests/runtests.sh passes
    - runtest frameworks-net passes
    - basic WiFi IpClient connections works fine
Bug: 62476366
Bug: 73487570
Merged-In: I68e5e24122dc31e730cdbe8d75e33847e6332da4
Merged-In: Ifd27f5d908947cd7b4e1b8d54f9fa87e43ebb11b
Merged-In: Ief3c8e1652f69af0276fe35946ae1bf6e6b1b57e
Change-Id: Ic83ad2a65637277dcb273feb27b2d1bb7a11eb2b
(cherry picked from commit b152cd0aa4f333b721615bb17773b35a989245fb)

6 years agoPower profile audio & video support
Mike Ma [Sat, 3 Mar 2018 00:57:31 +0000 (16:57 -0800)]
Power profile audio & video support

Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4

6 years agoMerge "Adjust recents onboarding logic" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 02:03:02 +0000 (02:03 +0000)]
Merge "Adjust recents onboarding logic" into pi-dev

6 years agoMerge "Check mMediaProvider for null" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 01:59:14 +0000 (01:59 +0000)]
Merge "Check mMediaProvider for null" into pi-dev

6 years agoMerge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev
Jack He [Tue, 6 Mar 2018 01:46:00 +0000 (01:46 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev
am: 4a3dd2ba58

Change-Id: I048b234c483a74428fdc5ce4c9ded9e2995ae931

6 years agoBluetooth: Use enums for adapter connection states
Jack He [Fri, 2 Mar 2018 21:11:27 +0000 (13:11 -0800)]
Bluetooth: Use enums for adapter connection states

Bug: 69478930
Test: make, no user visible change
Change-Id: I999d0c445fe3b24aca72961c40c3428901542bc1
(cherry picked from commit ee81f9915041875a8c9b6b71a39cb0508f6d7b22)

6 years agoMerge "Revert "Allow restoring of apps that rotated key"" into pi-dev
Fyodor Kupolov [Tue, 6 Mar 2018 01:25:42 +0000 (01:25 +0000)]
Merge "Revert "Allow restoring of apps that rotated key"" into pi-dev
am: d97a0f1ac5

Change-Id: Ide1400a320ec6f3d5428fdfffae613d15319afe3

6 years agoMerge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 01:23:57 +0000 (01:23 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev

6 years agoConnectivity: Fix map access
Andreas Gampe [Tue, 6 Mar 2018 01:23:07 +0000 (17:23 -0800)]
Connectivity: Fix map access

Found by Errorprone.

Bug: 73288226
Test: mmma frameworks/base/services
Change-Id: I63edad58dbc909c1e772bde85a1b9dd98c551fb1