OSDN Git Service
Jorim Jaggi [Thu, 3 Aug 2017 14:59:44 +0000 (16:59 +0200)]
Fix issue when launching Camera
Imagine the following: HostPhotoActivity is above CameraActivity,
in the same task, and not visible. Now, we launch the Camera again
with STILL_IMAGE_CAPTURE, which launches a Trampoline activity
in the same task, which later starts CameraActivity with
CLEAR_TASK. However, in the meantime, since Trampoline activity is
translucent (r.fullscreen == false), we make HostPhotoActivity
visible. Now, since we bring the task to the front, we also create
a snapshot starting window, for which mViewVisibility == VISIBLE
always.
When the previous activity has finished pausing we make
HostPhotoActivity's starting window visible because of the
following:
- TrampolineActivity is on top of HostPhotoActivity, but in AM
sense it's "translucent",
- TrampolineActivity hasn't managed to start CameraActivity
yet.
- HostPhotoActivity.hasContentToDisplay returns true so when
we set the Dummy animation we set the transformation.alpha=1,
making the starting window visible.
We also need to fix a that HostPhotoActivity's starting window
can't affect SystemUI visibiltiy yet.
Test: Above flow
Test: go/wm-smoke
Change-Id: I4a62aaafab4d40e975bc86b53abd0c55c84911c2
Fixes:
64270512
TreeHugger Robot [Tue, 15 Aug 2017 08:48:02 +0000 (08:48 +0000)]
Merge "Revert "Default-disable tethering offload"" into oc-mr1-dev
Lorenzo Colitti [Tue, 15 Aug 2017 06:47:24 +0000 (06:47 +0000)]
Merge changes Ifbd1e8d9,I1e017b6f into oc-mr1-dev
* changes:
Pass data usage limits to tethering offload code.
Don't time out when fetching tether offload stats.
TreeHugger Robot [Tue, 15 Aug 2017 05:55:08 +0000 (05:55 +0000)]
Merge "media: handle AVC constrained profiles" into oc-mr1-dev
Erik Kline [Mon, 14 Aug 2017 07:12:16 +0000 (07:12 +0000)]
Revert "Default-disable tethering offload"
This reverts commit
d09189112fcdcbbfd275d97e4e61fdbbffb0985e.
Bug:
29337859
Bug:
63250751
Test: builds, boots
Test: "dumpsys connectivity tethering" shows offload enabled
Test: wifi tethering continues to work
Change-Id: Ie3ef33f39ea20308ca50500139af3924c8831364
Lorenzo Colitti [Fri, 11 Aug 2017 04:47:49 +0000 (13:47 +0900)]
Pass data usage limits to tethering offload code.
(cherry picked from commit
50b60fc34dcf879007b5ab6e9b67f806e5a57215)
Bug:
29337859
Bug:
32163131
Test: builds
Test: OffloadControllerTest passes
Change-Id: Ifbd1e8d9057aa12b956e3b4501c32aa6bcf420bd
Lorenzo Colitti [Mon, 14 Aug 2017 04:07:42 +0000 (13:07 +0900)]
Don't time out when fetching tether offload stats.
Currently, fetching tethering offload stats has a 1000ms timeout,
after which we return stats of zero. However, returning zero is
invalid and will cause various parts of the network stats
accounting code to complain that statistics are moving backwards,
causing at least a log.wtf, and possibly a crash.
This CL removes the timeout entirely.
An alternative would have been to keep the timeout and return
null if the stats fetch failed. However, this complicates the
code, and if the HAL is persistently slow, could cause no stats
to be counted, ever. Given the impact of such behaviour on users'
data plans it is likely better to block until the stats are
collected.
(cherry picked from commit
fef69a126793c83aa0d99a8c597037c3a29929c0)
Bug:
29337859
Bug:
32163131
Test: builds
Test: OffloadControllerTest passes
Change-Id: I1e017b6fef2d8a02a7edbf35bed3e4402f447ab9
sunjian [Tue, 15 Aug 2017 01:23:09 +0000 (01:23 +0000)]
Fix Android O: AccountManager API not working in managed profile.
am:
9ae597b6f2
Change-Id: I4c346731e3b85cce5dd6b6c13b1312c420a60b34
TreeHugger Robot [Mon, 14 Aug 2017 23:30:00 +0000 (23:30 +0000)]
Merge "Fix CustomDescription so it allows multiple transformations per view id." into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 23:24:46 +0000 (23:24 +0000)]
Merge "Don't modify cached permission info" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 23:18:45 +0000 (23:18 +0000)]
Merge "Change protection level from ephemeral to instant" into oc-mr1-dev
sunjian [Mon, 14 Aug 2017 22:45:04 +0000 (15:45 -0700)]
Fix Android O: AccountManager API not working in managed profile.
Bug:
64577509
Test: NONE
Change-Id: I25650b2002d392ef9b7f4f4732106b22bc0eaae2
TreeHugger Robot [Mon, 14 Aug 2017 22:52:25 +0000 (22:52 +0000)]
Merge "Hide internal value" into oc-mr1-dev
Android Build Merger (Role) [Mon, 14 Aug 2017 22:29:24 +0000 (22:29 +0000)]
Merge "Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev am:
21f3489653" into oc-mr1-dev
Lei Yu [Mon, 14 Aug 2017 22:28:26 +0000 (22:28 +0000)]
Merge "Write currentDuration into Parcel" into oc-mr1-dev
Jean-Michel Trivi [Mon, 14 Aug 2017 22:25:43 +0000 (22:25 +0000)]
Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev
am:
21f3489653
Change-Id: I3352c141d9fe8b940e9d222c043a39376244b1cb
Lajos Molnar [Mon, 14 Aug 2017 22:11:58 +0000 (15:11 -0700)]
media: handle AVC constrained profiles
Bug:
64691727
Change-Id: I71b21c0951babccc9b4521bd5c26d35a6d62b426
TreeHugger Robot [Mon, 14 Aug 2017 22:13:32 +0000 (22:13 +0000)]
Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 21:51:42 +0000 (21:51 +0000)]
Merge "Always invoke callback" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 21:51:08 +0000 (21:51 +0000)]
Merge "Remove using package name" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 21:17:46 +0000 (21:17 +0000)]
Merge "WebView: switch to OMR1 FactoryProvider" into oc-mr1-dev
Fyodor Kupolov [Mon, 14 Aug 2017 20:55:13 +0000 (20:55 +0000)]
Merge "Log timings for shutdown stages" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 20:52:26 +0000 (20:52 +0000)]
Merge "Make SQLiteDirectCursorDriver @TestApi" into oc-mr1-dev
Svetoslav Ganov [Tue, 8 Aug 2017 22:28:24 +0000 (15:28 -0700)]
Don't modify cached permission info
Test: manual
bug:
64454312
Change-Id: Ie2f61da8a145e71164205ec7c26c20d9d512447d
TreeHugger Robot [Mon, 14 Aug 2017 18:49:14 +0000 (18:49 +0000)]
Merge "Ensure CallId is not null when connection creation is complete." into oc-mr1-dev
Nate Fischer [Wed, 9 Aug 2017 06:22:47 +0000 (23:22 -0700)]
WebView: switch to OMR1 FactoryProvider
We now fetch the *ForOMR1 class instead of *ForO, which enables
OMR1-specific code in the WebView APK.
Bug:
63687088
Test: N/A
Change-Id: Ia36a00cd26aff8b87d7aeae859c72cb2fb364d2c
Fyodor Kupolov [Fri, 11 Aug 2017 00:00:43 +0000 (17:00 -0700)]
Log timings for shutdown stages
Renamed BootTimingsTraceLog to TimingsTraceLog. It is now used for
boot and shutdown logging.
Added measurements for main stages of shutdown in the system server:
ShutdownTiming: SendShutdownBroadcast took to complete: 734ms
ShutdownTiming: ShutdownActivityManager took to complete: 203ms
ShutdownTiming: ShutdownPackageManager took to complete: 17ms
ShutdownTiming: ShutdownBt took to complete: 533ms
ShutdownTiming: ShutdownRadio took to complete: 534ms
ShutdownTiming: ShutdownNfc took to complete: 1536ms
ShutdownTiming: ShutdownRadios took to complete: 1538ms
ShutdownTiming: ShutdownStorageManager took to complete: 906ms
ShutdownTiming: SystemServerShutdown took to complete: 3918ms
Bug:
64569080
Test: shutdown/reboot and check logs
Change-Id: I636c045852cd1ed6be1c58af6608f70e95756389
TreeHugger Robot [Mon, 14 Aug 2017 18:04:10 +0000 (18:04 +0000)]
Merge "Always show global actions on the right" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 17:42:09 +0000 (17:42 +0000)]
Merge "Switch battery saver to sentence case" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 17:34:54 +0000 (17:34 +0000)]
Merge "Make sure network tests pass with airplane mode on" into oc-mr1-dev
Bryan Eyler [Mon, 14 Aug 2017 17:30:44 +0000 (17:30 +0000)]
Merge "Use first letter of user for icons." into oc-mr1-dev
Mathieu Chartier [Mon, 14 Aug 2017 16:53:12 +0000 (16:53 +0000)]
Merge "Add frameworks base config and move text blobs there" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 16:50:50 +0000 (16:50 +0000)]
Merge "Add permission checks to getActiveScorerPackage()." into oc-mr1-dev
Tyler Gunn [Sat, 17 Jun 2017 03:20:34 +0000 (20:20 -0700)]
Ensure CallId is not null when connection creation is complete.
When calling "get" on the mConnectoinById map, a null callId will result
in an NPE.
In findConnectionForAction, defaulting to returning the "null" connection
which is the same behavior as if it isn't found.
In notifyCreateConnectionComplete, specifically checking if the callId
is null and skipping the onCreateConnectionComplete callback.
This scenario is possible if the connection is remove from the
ConnectionService before the connection complete callback comes back from
Telecom.
Test: Manual
Fixes:
62588734
Change-Id: Ie610c51155ed417e0f916000fe20e4484bdb6603
Jason Monk [Mon, 14 Aug 2017 15:15:07 +0000 (11:15 -0400)]
Always show global actions on the right
It should be aligned with the physical power buttons.
Test: visual
Change-Id: Icec9fe00fdce42d0bf347691ab7629c4ca38df78
Fixes:
63846903
Jason Monk [Mon, 14 Aug 2017 15:04:42 +0000 (11:04 -0400)]
Make sure network tests pass with airplane mode on
Test: runtest systemui
Change-Id: I0cc619d28b6802c0791c5880651ce1f91ea83f35
Fixes:
38023097
Jason Monk [Mon, 14 Aug 2017 14:50:25 +0000 (10:50 -0400)]
Switch battery saver to sentence case
Test: strings
Change-Id: I01bc6f3621758dc155347946b8a15c885c695b2c
Fixes:
27844148
TreeHugger Robot [Mon, 14 Aug 2017 14:43:50 +0000 (14:43 +0000)]
Merge "FRP: Add migration for upgrading from a version without FRP credential" into oc-mr1-dev
Bill Yi [Mon, 14 Aug 2017 13:36:36 +0000 (13:36 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into oc-mr1-dev
Bill Yi [Mon, 14 Aug 2017 13:35:56 +0000 (13:35 +0000)]
Revert "Import translations. DO NOT MERGE"
This reverts commit
4a4ff70ab2eaadf6ff2673db7a2454d54526d451.
Change-Id: I27cd5204cc25e664b2722815f9efcfa0fde6b48b
Bill Yi [Mon, 14 Aug 2017 13:31:57 +0000 (13:31 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into oc-mr1-dev
Bill Yi [Mon, 14 Aug 2017 13:30:57 +0000 (13:30 +0000)]
Revert "Import translations. DO NOT MERGE"
This reverts commit
24a1e22eb8d821175c2d636bc0e02509408b2050.
Change-Id: Ib2fd9e19b362357652566487ae8e84a9ef993b4b
Michal Karpinski [Fri, 11 Aug 2017 09:45:58 +0000 (10:45 +0100)]
Add extra about SDK version that system restore happened from
to ACTION_SETTING_RESTORED intent
Test: manual (system restore from N-MR1 and O)
Bug:
64232609
Change-Id: I142df7acb11309bc4f5f185e45a1f91f86d0334a
Andrii Kulian [Mon, 14 Aug 2017 06:56:10 +0000 (06:56 +0000)]
Use fullscreen flag to define visibility of the background
am:
b60e1c037a
Change-Id: I1f8ee7304335585b5005bd3ed2be4f77b28093c7
Andrii Kulian [Fri, 11 Aug 2017 23:39:53 +0000 (16:39 -0700)]
Use fullscreen flag to define visibility of the background
Use fullscreen state provided by AM as a more reliable
source of truth to check if activity window hides other
windows behind.
Bug:
64615361
Test: Open Play Newsstand, click on article, go to and from Recents.
Change-Id: Ibc40a4241ed131f74da47c0d22833d2c3994cbe0
TreeHugger Robot [Sat, 12 Aug 2017 19:51:30 +0000 (19:51 +0000)]
Merge "Someone is still using these APIs." into oc-mr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 18:55:03 +0000 (18:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
Jeff Sharkey [Sat, 12 Aug 2017 05:24:01 +0000 (23:24 -0600)]
Someone is still using these APIs.
Which is totally lame.
Change-Id: Iaabfc1f5ac69ed99e714e89344bde116c340c376
TreeHugger Robot [Sat, 12 Aug 2017 18:16:09 +0000 (18:16 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 17:07:56 +0000 (17:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Sat, 12 Aug 2017 16:53:44 +0000 (16:53 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am:
d8330556b3 -s ours
Change-Id: Ib0241e17096194d42aed1d31cabf1ab7dde44719
Bill Yi [Sat, 12 Aug 2017 16:49:12 +0000 (16:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am:
e916c1a05f -s ours
Change-Id: I0cd5c2cac5190abf33d2dc56ebaf4259d358caad
TreeHugger Robot [Sat, 12 Aug 2017 16:38:11 +0000 (16:38 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 16:36:25 +0000 (16:36 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 16:31:03 +0000 (16:31 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Sat, 12 Aug 2017 14:49:46 +0000 (07:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2b2f1d8419e704a0ce8064158ec3e26b79b45d2f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Sat, 12 Aug 2017 14:17:15 +0000 (07:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia4d8ddb6e113bbe2cccf4dc6d2a1c69cc0ea7746
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Sat, 12 Aug 2017 06:38:55 +0000 (23:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia29eec5aefc2e6751d5d97421e99aa0594b032cf
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Andrii Kulian [Sat, 12 Aug 2017 06:17:29 +0000 (06:17 +0000)]
Merge "Update background crop animation threshold" into oc-dr1-dev
am:
79e11e4429
Change-Id: Ica3d6afccce4fce1ca1431b3bbb6e7a2b952771d
Bill Yi [Sat, 12 Aug 2017 06:17:19 +0000 (23:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7837d78bd145f55471ea2b0ba11890f0f3a2552c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Sat, 12 Aug 2017 06:09:06 +0000 (06:09 +0000)]
Merge "Update background crop animation threshold" into oc-dr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 05:59:17 +0000 (05:59 +0000)]
Merge "Catch exception when notifying Settings changes." into oc-mr1-dev
Ian Pedowitz [Sat, 12 Aug 2017 05:38:37 +0000 (05:38 +0000)]
Merge changes from topic 'b/
64606807' into oc-dr1-dev
am:
8193291ca3 -s ours
Change-Id: I4b4b8117db913ac797abb99b92ae5430193866e6
TreeHugger Robot [Sat, 12 Aug 2017 05:30:30 +0000 (05:30 +0000)]
Merge changes from topic 'b/
64606807' into oc-dr1-dev
* changes:
Revert "Add (disabled) time zone update system server impl"
Revert "Time zone update API classes"
Neil Fuller [Sat, 12 Aug 2017 04:00:23 +0000 (04:00 +0000)]
Merge "Move DISABLE_INPUT_DEVICE permission" into oc-dr1-dev
am:
a031b0d6a1 -s ours
Change-Id: I3971f4e7d4d21630d7055d74207f08813b26d875
TreeHugger Robot [Sat, 12 Aug 2017 03:50:02 +0000 (03:50 +0000)]
Merge "Move DISABLE_INPUT_DEVICE permission" into oc-dr1-dev
Bill Yi [Sat, 12 Aug 2017 03:38:57 +0000 (20:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I58564c4ab4d58645ebe02e0e2a5e77290bac74fc
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Android Build Merger (Role) [Sat, 12 Aug 2017 03:22:35 +0000 (03:22 +0000)]
Merge "Move USE_COLORIZED_NOTIFICATIONS to com.android. am:
708a1ca16a -s ours" into oc-mr1-dev
Jeff Sharkey [Sat, 12 Aug 2017 03:21:01 +0000 (03:21 +0000)]
Merge "Remove a bunch of deprecated @SystemApi." into oc-mr1-dev
Dan Sandler [Sat, 12 Aug 2017 03:19:18 +0000 (03:19 +0000)]
Move USE_COLORIZED_NOTIFICATIONS to com.android.
am:
708a1ca16a -s ours
Change-Id: Id56b3821e6f0166812da2f75c8d41d7a14a0f814
Bill Yi [Sat, 12 Aug 2017 03:08:11 +0000 (20:08 -0700)]
Import translations. DO NOT MERGE
Change-Id: I72735292fa691c29db26ff02e46390d01e222fb6
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Dan Sandler [Sat, 12 Aug 2017 00:30:24 +0000 (20:30 -0400)]
Move USE_COLORIZED_NOTIFICATIONS to com.android.
It's @hidden, but CTS needs it to be out of the android.*
namespace too.
Fixes:
64613274
Test: Grab the cts binaries(android-cts.zip) from OC Release
Test: Extract and from android-cts/tools directory, launch ./cts-tradefed
Test: On the DUT with CL cherrypicked, run the below(will run this test on both abi's):
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered doesn't fail for android namespace:android.permission.TRIGGER_TIME_ZONE_RULES_CHECK
Change-Id: I753c2cc19111f9ed39e7fc3e006aab096c733ddc
Merged-In: I2046ae17b9e89ac0a83e182b91422fd242bc7557
Neil Fuller [Sat, 12 Aug 2017 00:09:41 +0000 (01:09 +0100)]
Move DISABLE_INPUT_DEVICE permission
Move DISABLE_INPUT_DEVICE permission out of the
reserved android namespace until the next API
version. It appears to be mostly unused.
Fixes:
64615722
Test: Grab the cts binaries(android-cts.zip) from OC Release
Test: Extract and from android-cts/tools directory, launch ./cts-tradefed
Test: On the DUT with CL cherrypicked, run the below(will run this test on both abi's):
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered doesn't fail for android namespace:android.permission.TRIGGER_TIME_ZONE_RULES_CHECK
Change-Id: If77fd9e5c0eede418fa14a37e5e895fee5667576
Merged-In: Ic98af7e3953da63c3c49bfd38d8cfd0ff0646869
Jean-Michel Trivi [Sat, 12 Aug 2017 01:28:20 +0000 (18:28 -0700)]
Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets
In the broadcast of Intent.ACTION_HEADSET_PLUG:
- restore setting "microphone" to 0 for line and headphone as
the input bit is never set for those devices
- for USB_HEADSET: there is no input bit for this device, so:
* when observing change for DEVICE_OUT, check status of DEVICE_IN
* when observing change for DEVICE_IN, only send the intent
if DEVICE_OUT is available.
Test: test broadcast and extras for Intent.ACTION_HEADSET_PLUG
Bug:
64250808
Change-Id: I0913933d03e21189bb552f60ae5dd35ffe28ddca
Ian Pedowitz [Fri, 11 Aug 2017 22:12:00 +0000 (15:12 -0700)]
Revert "Add (disabled) time zone update system server impl"
This reverts commit
328532ab13768a6303231b670708d750c4d7aa5f.
Fixes:
64606807
Test: Grab the cts binaries(android-cts.zip) from OC Release
Test: Extract and from android-cts/tools directory, launch ./cts-tradefed
Test: On the DUT with CL cherrypicked, run the below(will run this test on both abi's):
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered doesn't fail for android namespace:android.permission.TRIGGER_TIME_ZONE_RULES_CHECK
Change-Id: Iab0fd111803ae9e7615a3b2c825bbe8d84e29edf
Merged-In: I2600dd4bee22a571b9eb7303733591b60d1a8b2a
Ian Pedowitz [Fri, 11 Aug 2017 21:23:17 +0000 (14:23 -0700)]
Revert "Time zone update API classes"
This reverts commit
fe6ec56cce981731be7d0bc0e61a0411d0a0d2cf.
Fixes:
64606807
Test: Grab the cts binaries(android-cts.zip) from OC Release
Test: Extract and from android-cts/tools directory, launch ./cts-tradefed
Test: On the DUT with CL cherrypicked, run the below(will run this test on both abi's):
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered doesn't fail for android namespace:android.permission.TRIGGER_TIME_ZONE_RULES_CHECK
Change-Id: I238e2b6fa7ce60e6a8cbfebcd13e5e4c596834af
Merged-In: I31b55e88072dd73055cb3d8cf252be6eac920322
Andrii Kulian [Sat, 12 Aug 2017 01:01:11 +0000 (18:01 -0700)]
Update background crop animation threshold
Empiric value for animation epsilon covers only the last
frame of the animation, which is not enough in some case.
This CL makes it a little bigger to cover two last frames.
The change is visually indistinguishable for user.
Bug:
63156733
Test: Go to/from recents with letterboxed app.
Change-Id: I42423527688dcb2dc157ae16bbe5b6de7eee3449
TreeHugger Robot [Sat, 12 Aug 2017 00:16:43 +0000 (00:16 +0000)]
Merge "Rename API to match StorageStats." into oc-mr1-dev
Tomasz Wasilczyk [Sat, 12 Aug 2017 00:16:01 +0000 (00:16 +0000)]
Merge "Implement region guessing." into oc-mr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 00:11:56 +0000 (00:11 +0000)]
Merge "Only destroy the storage area that had trouble." into oc-mr1-dev
Adrian Roos [Fri, 11 Aug 2017 23:54:50 +0000 (23:54 +0000)]
Merge "AOD: Fix navbar flicker when transitioning to AOD" into oc-dr1-dev
am:
1cbfe74fc2
Change-Id: I6b5c4ce303455e592ecb0e6c6bfcd238fbd8a7ef
TreeHugger Robot [Fri, 11 Aug 2017 23:43:11 +0000 (23:43 +0000)]
Merge "AOD: Fix navbar flicker when transitioning to AOD" into oc-dr1-dev
Andrii Kulian [Fri, 11 Aug 2017 23:39:59 +0000 (23:39 +0000)]
Merge "Don't animate black background on cold launch from launcher" into oc-dr1-dev
am:
cff260adfc
Change-Id: Iad8a5b4524d70801eeb7b4abb14626b3ae127e32
Andrii Kulian [Fri, 11 Aug 2017 23:31:44 +0000 (23:31 +0000)]
Merge "Don't animate black background on cold launch from launcher" into oc-dr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 23:27:16 +0000 (23:27 +0000)]
Merge "Removing non-preferred activity from resolution set should not disrupt the preferred resolution" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 23:20:07 +0000 (23:20 +0000)]
Merge "@hide new API" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 22:47:53 +0000 (22:47 +0000)]
Merge "Camera2: Legacy: Add onRequestQueueEmpty callback" into oc-mr1-dev
Makoto Onuki [Fri, 11 Aug 2017 22:36:24 +0000 (22:36 +0000)]
Merge "WTF when device has no persistent periodic syncs..." into oc-dr1-dev
am:
7b0dec4142
Change-Id: I5498e5a3796a463501917874772be335785e1ca4
Jason Monk [Fri, 11 Aug 2017 22:29:00 +0000 (22:29 +0000)]
Merge "Change default temp threshold to use shutdown temp" into oc-dr1-dev
am:
84626a4e3d
Change-Id: I4c3c5be04aaa1eee409ea706b387370cedf5b15b
Mathieu Chartier [Fri, 11 Aug 2017 21:35:46 +0000 (14:35 -0700)]
Add frameworks base config and move text blobs there
Bug:
64259751
Test: clean oat files && make and flash
Change-Id: I7c898d69e66257fe0a7827ebbab1fcff4aa6473e
Todd Kennedy [Fri, 2 Jun 2017 14:53:44 +0000 (07:53 -0700)]
Hide internal value
Change-Id: I208b46fa3901e3fe9c1157d75898996024854f2f
Fixes:
62264034
Test: Manual
Todd Kennedy [Fri, 2 Jun 2017 17:29:22 +0000 (10:29 -0700)]
Change protection level from ephemeral to instant
Change-Id: If4b01e5f0728f1d1d7e6903b362dcbedc67a9b3f
Fixes:
62264194
Test: Manual. install an instant app and see that it still works
Todd Kennedy [Fri, 11 Aug 2017 21:58:27 +0000 (14:58 -0700)]
Remove using package name
Change-Id: I2fd38654d3694784ef39ac8b78f8970adf5627fc
Fixes:
63597788
Test: manual
TreeHugger Robot [Fri, 11 Aug 2017 21:56:59 +0000 (21:56 +0000)]
Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 21:49:22 +0000 (21:49 +0000)]
Merge "Fix a bug that SurfaceView loses transformation" into oc-mr1-dev
Android Build Merger (Role) [Fri, 11 Aug 2017 21:48:29 +0000 (21:48 +0000)]
Merge "Merge "docs: corrected grammar mistake in Class Overview" into oc-dev am:
dc12cb1fb2 am:
f125024688" into oc-mr1-dev
Jeff Sharkey [Fri, 11 Aug 2017 21:45:58 +0000 (15:45 -0600)]
Only destroy the storage area that had trouble.
Consider the case where CE failed to prepare; we'd destroy both DE
and CE, but then only recreate CE. This change makes sure we only
destroy something we're willing to recreate.
Bug:
62338545
Test: builds, boots
Change-Id: I566791b59b35a30db70b0de3acfe624b239bf5d2
Cindy Kuang [Fri, 11 Aug 2017 21:42:58 +0000 (21:42 +0000)]
Merge "docs: corrected grammar mistake in Class Overview" into oc-dev am:
dc12cb1fb2
am:
f125024688
Change-Id: If510d503dc91c2bfd6a7a282dbf7210cbc7f2698
Android Build Merger (Role) [Fri, 11 Aug 2017 21:40:57 +0000 (21:40 +0000)]
Merge "Merge "docs: replaced "i.e." to fix formatting error" into oc-dev am:
0580ac8a65 am:
07f5257b19" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 21:38:41 +0000 (21:38 +0000)]
Merge "Change PiP menu activity title to prevent duplicate announcement." into oc-mr1-dev