OSDN Git Service
Janis Danisevskis [Fri, 9 Jun 2017 00:53:34 +0000 (17:53 -0700)]
Refurbish granting mechanism
Keystore stores key blobs in with filenames that include the symbolic
name and the uid of the owner. This behaviour should have been
completely opaque to the user keystore. However, the granting mechanism,
by which an app can allow another app to use one of its keys, leaked the
internal structure in that the grantee had to specify the key name with
the granter's uid prefix in order to use the granted key. This in turn
collided with prefix handling in other parts of the framework.
This patch refurbishes the granting mechanism such that keystore can
choose a name for the grant. It uses the original symbolic key name as
prefix and appends _KEYSTOREGRANT_<grant_no> where the grant_no is
chosen as first free slot starting from 0. Each uid has its own grant_no
space.
This changes the grant call such that it now returns a string, which is
the alias name of the newly created grant. The string is empty if the
grant operation failed.
As before apps can still mask granted keys by importing a key with the
exact same name including the added suffix. But everybody deserves the
right to shoot themselves in the foot if they really want to.
Bug:
37264540
Bug:
62237038
Test: run cts-dev --module CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement
because it grants a key
Merged-In: I047512ba345c25e6e691e78f7a37fc3f97b95d32
Change-Id: I047512ba345c25e6e691e78f7a37fc3f97b95d32
TreeHugger Robot [Fri, 21 Jul 2017 15:30:42 +0000 (15:30 +0000)]
Merge "Add new bucket above high brightness for "sunlight"." into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 14:53:44 +0000 (14:53 +0000)]
Merge "Add config to force display to transition to off after doze" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 14:53:44 +0000 (14:53 +0000)]
Merge "Flicker free screen-on from AOD" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 09:28:52 +0000 (09:28 +0000)]
Merge "Fixing TaskPersisterTest" into oc-dr1-dev
Adrian Roos [Wed, 19 Jul 2017 16:08:07 +0000 (18:08 +0200)]
Flicker free screen-on from AOD
When pulsing from AOD, we force the display OFF first. This allows
us to transition smoothly from AOD.
Also, we add a scrim transition for whenever we are waking up from
dozing. This relies on I4f3a863709a970f0fc8682c0a0c3547886e1fd0f
which forces the DOZE -> ON transition through OFF first.
Also fixes the WAKE_AND_UNLOCK transition that happens when waking
up with the fingerprint sensor.
Also fix an issue where KeyguardViewMediator's mWakeAndUnlocking
was cleared in onScreenTurnedOff; this should have been added to
the wakefulness lifecycle instead and now that the AOD -> ON transtion
dispatches the screen off callback it broke the fingerprint unlock
transition.
Fixes:
35849781
Fixes:
63887857
Fixes:
63783651
Fixes:
63727166
Test: AOD, receive notification; AOD, unlock with fingerprint; AOD, wake to lockscreen. Verify that everything is flicker-free.
Change-Id: I7d539db80a1c7e9216cf4c5c1e6d314c1893f12d
TreeHugger Robot [Fri, 21 Jul 2017 05:03:15 +0000 (05:03 +0000)]
Merge "Handle an edge case that can reset settings provider data" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 05:01:38 +0000 (05:01 +0000)]
Merge "NFC DTA Integration" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 02:30:17 +0000 (02:30 +0000)]
Merge "Don't set AccessPoint with WifiInfo.INVALID_RSSI" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 00:56:42 +0000 (00:56 +0000)]
Merge "Do not clear scores during stopTracking." into oc-dr1-dev
Winson Chung [Fri, 21 Jul 2017 00:03:27 +0000 (00:03 +0000)]
Merge "Apply static offset to PiP IME adjustment." into oc-dr1-dev
Love Khanna [Wed, 17 May 2017 10:22:16 +0000 (15:52 +0530)]
NFC DTA Integration
Bug:
63903843
Test: compiles.
Change-Id: I07cbb321ffbdbe9d93d632c8a56f3bc53218e592
Amith Yamasani [Wed, 19 Jul 2017 23:49:52 +0000 (16:49 -0700)]
Handle an edge case that can reset settings provider data
If the AtomicFile does the rename and fails when writing the
original, make sure we can at least use the backup on reboot.
Bug:
63753300
Test: Stop shell, move settings_global.xml to backup, start shell.
Change-Id: I2049b48af05161bb2c68717a71c1700a95150a6c
Amit Mahajan [Thu, 20 Jul 2017 20:47:17 +0000 (20:47 +0000)]
Merge "Add new column user_editable to Carriers table in telephony db." into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 20:27:35 +0000 (20:27 +0000)]
Merge "Clipping the last notification if it's in the shelf" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 20:13:30 +0000 (20:13 +0000)]
Merge "Update alignment for gear / snooze icons to shift when expanded" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 20:05:44 +0000 (20:05 +0000)]
Merge "Keyguard: Fix date and alarm clock letter spacing" into oc-dr1-dev
Glen Kuhne [Wed, 19 Jul 2017 21:53:34 +0000 (14:53 -0700)]
Don't set AccessPoint with WifiInfo.INVALID_RSSI
This stops the RSSI of an AccessPoint object being updated from WifiInfo
for the current network, when that WifiInfo does not have a valid RSSI.
This occurs when attempting to connect to a network, and the connection
has not yet been established.
Fixes a UI bug where the signal strength would appear to be zero when
attempting to connect to something, or after failing to.
Bug:
63487286
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
Test: Manual. Attempt to connect to network with bad PSK. Observe Signal
strength does not get set to zero.
Change-Id: Ia5343fb6f0935134e6a4f82034de164342fe55d4
TreeHugger Robot [Thu, 20 Jul 2017 19:09:42 +0000 (19:09 +0000)]
Merge "Fixed a bug where shelf notifications were interactable" into oc-dr1-dev
Lucas Dupin [Thu, 20 Jul 2017 18:36:50 +0000 (18:36 +0000)]
Merge "Choose correct icon shade of grey" into oc-dr1-dev
Rob Carr [Thu, 20 Jul 2017 18:32:31 +0000 (18:32 +0000)]
Merge "Fix incorrect SV calculation in non-RT codepath." into oc-dr1-dev
Lucas Dupin [Tue, 18 Jul 2017 19:15:41 +0000 (12:15 -0700)]
Choose correct icon shade of grey
Status bar icons should pick colors from icon themes instead
of lock screen text colors.
Test: Visual
Change-Id: I0460ec38c8193f6311a47b4774357d8d3347a8d2
Fixes:
63618424
Rob Carr [Thu, 20 Jul 2017 18:23:25 +0000 (18:23 +0000)]
Merge "Fix flicker when transiting activities without animation." into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 18:18:37 +0000 (18:18 +0000)]
Merge "Fixes issue where notification jumps when user is dragging and its updated" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 18:04:02 +0000 (18:04 +0000)]
Merge "Fix sound rate limiting issue" into oc-dr1-dev
Selim Cinek [Thu, 20 Jul 2017 17:47:48 +0000 (10:47 -0700)]
Clipping the last notification if it's in the shelf
Before we were only clipping it to the bottom on the shelf,
but if we're already fully in the shelf (and made visible again
by another clause) then we still need to clip to the top.
Test: manual, observe normal clipping for last item
Change-Id: Ie1bc7afb78534bd89d771808eba8e02251d3a3cc
Fixes:
63264213
Adrian Roos [Thu, 20 Jul 2017 17:38:28 +0000 (19:38 +0200)]
Keyguard: Fix date and alarm clock letter spacing
These used to be all-caps, but now that they are not
the letters are spaced too far apart.
Adjusting to mach the ownerText.
Change-Id: Icacc0c2018793e834dcaa316156215ec7d7ecf40
Fixes:
63891134
Test: visual
Michael Wright [Thu, 20 Jul 2017 17:27:17 +0000 (18:27 +0100)]
Add new bucket above high brightness for "sunlight".
Being in direct sunlight can cause the screen to look like it's
"strobing", so we want to tell the kernel when we think we're in this
state so it can configure the display to avoid this effect.
Bug:
63820596
Test: TBD
Change-Id: Ie0b7a8d45d080231748337507d1037ab45950aed
Michael Wright [Thu, 20 Jul 2017 17:18:33 +0000 (18:18 +0100)]
Add config to force display to transition to off after doze
Some display hardware can't do the transition from doze display states
to the on display state cleanly, so in order to hide any janky-ness of
the transition we force the display off and cover the screen with a
black surface. This lets us keep the screen black until SystemUI and the
display are both ready.
Bug:
63531607
Test: manual
Change-Id: I66bd483e5f01e1dbd5069465aa122828af5f1903
Adrian Roos [Thu, 20 Jul 2017 16:02:55 +0000 (16:02 +0000)]
Merge "AOD: Prevent animations and rotations while going to sleep" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 15:52:35 +0000 (15:52 +0000)]
Merge "Fix owner info to be center-aligned" into oc-dr1-dev
Geoffrey Pitsch [Thu, 20 Jul 2017 15:33:41 +0000 (15:33 +0000)]
Merge "Allow apps to downgrade importance in createNotificationChannel" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 15:28:05 +0000 (15:28 +0000)]
Merge "AOD: Hide owner info on ambient display" into oc-dr1-dev
Benjamin Miller [Thu, 20 Jul 2017 14:05:31 +0000 (14:05 +0000)]
Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev
am:
baa85250d4
Change-Id: I553b5b775cbdb42020405dfcc1b18032d4777597
Benjamin Miller [Thu, 20 Jul 2017 13:58:15 +0000 (13:58 +0000)]
Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev
Adrian Roos [Wed, 19 Jul 2017 10:25:34 +0000 (12:25 +0200)]
AOD: Prevent animations and rotations while going to sleep
A recent change allowed animations while the screen is
turning on, but not fully turned on; this allows rotations
while the device is going to sleep though. To prevent that,
we now disallow animations if the device is going to sleep too.
In addition, we also prevent the rotation animation when the screen
is not fully on or non-interactive.
Change-Id: I9b84f68a02a07067e48b11c008bcaf4bcb7c41a0
Fixes:
63760853
Test: Turn phone to landscape on an app that can rotate. Press power button. Verify AOD shows without a rotation; go/wm-smoke
Julia Reynolds [Thu, 20 Jul 2017 13:19:20 +0000 (09:19 -0400)]
Fix sound rate limiting issue
Don't count notifications that were muted by some other criteria
(like dnd or group alerting) against an app
Test: runtest systemui-notification
Change-Id: I9c94d342400306c2618c458e2ad530cd9373b3b8
Fixes:
63819441
Adrian Roos [Thu, 20 Jul 2017 13:14:25 +0000 (15:14 +0200)]
AOD: Hide owner info on ambient display
Change-Id: Iea27b111b4025e2ad4b9cd0139f18f1653ca17dc
Fixes:
63800919
Test: Set a dark wallpaper, set owner info; go to AOD, verify that owner info is not visible.
Adrian Roos [Tue, 18 Jul 2017 13:50:41 +0000 (15:50 +0200)]
Keyguard: only show after screen fully turned off
Fixes an issue where the keyguard was displayed before the screen
was turned off fully, causing the AOD screen to briefly show during
the screen off animation.
Change-Id: Idc4621995bd67c1db255fab5a8de60d3aeef5d18
Fixes:
63526727
Test: Turn screen off. Make sure the AOD clock is not visible
Adrian Roos [Tue, 18 Jul 2017 13:10:39 +0000 (15:10 +0200)]
StatusBar: Switch status bar to using the new lifecycles
Also removes some now unneeded cruft from StatusBarKeyguardViewManager.
Bug:
62446740
Test: Try unlocking phone with fingerprint and regularly from all kinds of states (AOD1, AOD2, non-AOD ambient display)
Change-Id: I3560615ce77f0c2ad9944832baaa568c300af9bb
Adrian Roos [Thu, 20 Jul 2017 11:22:39 +0000 (11:22 +0000)]
Merge "Keyguard: Factor out Screen and Wakefulness lifecycles" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 10:20:21 +0000 (10:20 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 09:53:20 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 09:48:53 +0000 (09:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Wale Ogunwale [Tue, 18 Jul 2017 13:33:01 +0000 (06:33 -0700)]
Don't move stack to bottom when creating task at bottom
When creating a task, only move the parents of the task if we are creating
the task at the top of the stack. i.e. creating the task at the top of its
stack will move the stack forward and creating the task at the bottom of
the stack shouldn't move the stack backwards. Creating a task at the bottom
is used for things like restoring a task from recents to use for other things
and for background user, so shouldn't affect visibility of its parent stack.
Change-Id: Ifcaf7c5a95294631dff675ac5c7d87f059b1792a
Fixes:
62352722
Test: go/wm-smoke
(cherry picked from commit
1f5b92fd53ad0193235ae3e6cbc54a4120ac2457)
Bill Yi [Thu, 20 Jul 2017 04:48:02 +0000 (21:48 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2ed6f707aa5196125419a43b85be6b9644364c24
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Thu, 20 Jul 2017 04:24:50 +0000 (04:24 +0000)]
Merge "Revert disabling of eSIM wipes/retains." into oc-dr1-dev
Philip Quinn [Wed, 19 Jul 2017 06:23:41 +0000 (23:23 -0700)]
Ping the StatusBar about power key events.
Bug:
63183852
Test: runtest systemui
Change-Id: I5d8209396e3e761b404c1071a7004f34c6e6c927
TreeHugger Robot [Thu, 20 Jul 2017 03:49:56 +0000 (03:49 +0000)]
Merge "WifiInfo - document packet counters and rates" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 02:37:56 +0000 (02:37 +0000)]
Merge "Fix format of subsystem power stats" into oc-dr1-dev
Suprabh Shukla [Thu, 20 Jul 2017 01:44:18 +0000 (18:44 -0700)]
Fixing TaskPersisterTest
Test: runtest -x
tests/servicestests/src/com/android/server/am/TaskPersisterTest.java
Fixes:
63865929
Change-Id: Ia8e6e7622e3298ffb4efa054617e17aaa7b044fb
Philip Quinn [Wed, 19 Jul 2017 08:15:56 +0000 (01:15 -0700)]
Expose KeyguardMonitor.isOccluded().
Bug:
63806767
Test: runtest systemui
Change-Id: I36b96974c7a27e31ddbc3e8cdddf2516cce87b21
Bill Yi [Thu, 20 Jul 2017 01:13:39 +0000 (18:13 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6f4be8da1bf25632b93d9ece8ae01dedeba2e568
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Christine Franks [Thu, 20 Jul 2017 01:04:51 +0000 (01:04 +0000)]
Merge "Add config_demoModePackage to symbols" into oc-dr1-dev
TreeHugger Robot [Thu, 20 Jul 2017 00:46:05 +0000 (00:46 +0000)]
Merge "proto: add system message descriptor for Wi-Fi wrong password notification" into oc-dr1-dev
Selim Cinek [Thu, 20 Jul 2017 00:39:20 +0000 (17:39 -0700)]
Fixed a bug where shelf notifications were interactable
Even if the notifications were clipped fully they were still
interactable and could be expanded into the shelf.
This could lead to weird scrolling positions and other things.
Test: manual, try expanding when qs is expanded
Change-Id: I764a20ba83b19ca9c9c2cb311a5abb9d272c6feb
Fixes:
62476893
TreeHugger Robot [Thu, 20 Jul 2017 00:18:20 +0000 (00:18 +0000)]
Merge "MediaRouter: Introduce and use getFallbackRoute method" into oc-dr1-dev
Christine Franks [Wed, 19 Jul 2017 22:41:34 +0000 (15:41 -0700)]
Add config_demoModePackage to symbols
Bug:
62712426
Test: make -j100
Change-Id: I95a398a74d273d0aa7639989a367e902b305fa6c
Jeff Davidson [Wed, 19 Jul 2017 23:55:45 +0000 (16:55 -0700)]
Revert disabling of eSIM wipes/retains.
This is a revert of change I414a16cde11e76ccc390e7a63a6803f5b402fe78.
As an additional safety latch, we bypass all logic (either wipe or
retain) if the eSIM has never been provisioned. An unprovisioned eSIM
cannot possibly have profiles - indeed, we don't show the "Wipe eSIM"
checkbox in this case - so there's no reason to tell the LPA to retain
them.
Bug:
63693573
Test: TreeHugger + factory reset local test
Change-Id: I1fea50db317388e81823bf1bd0977ffe787a05e0
TreeHugger Robot [Thu, 20 Jul 2017 00:00:46 +0000 (00:00 +0000)]
Merge "Fix snooze not dismissing when it should" into oc-dr1-dev
Seigo Nonaka [Wed, 19 Jul 2017 23:54:11 +0000 (23:54 +0000)]
Merge "Fix race condition of removing surface." into oc-dr1-dev
Selim Cinek [Wed, 19 Jul 2017 23:41:44 +0000 (23:41 +0000)]
Merge "Reducing bitmap sizes in notifications" into oc-dr1-dev
Lucas Dupin [Wed, 19 Jul 2017 23:32:04 +0000 (23:32 +0000)]
Merge "Smoother system bars color transition" into oc-dr1-dev
Ahmed ElArabawy [Sat, 8 Jul 2017 00:48:13 +0000 (17:48 -0700)]
Fix format of subsystem power stats
The Subsystem power stats string in batteryStats dumpsys has an extra
newline that is causing PowerBug to skip the line when parsing the
history information.
Also, the string for subsystem power stats is missing a heading title
and has some redundant text
This commit fixes these format errors so powerbug can read and parse that
line successfully
Bug:
63447034
Test: Manual testing + Read the bugreport by historian and verify output
Change-Id: Idf971823dd5f769e653b4788b00fc025593d0d3d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
Sungsoo Lim [Wed, 19 Jul 2017 22:41:02 +0000 (22:41 +0000)]
Merge "Type check before casting from CookieHandler to CookieManager" into oc-dr1-dev
TreeHugger Robot [Wed, 19 Jul 2017 22:40:32 +0000 (22:40 +0000)]
Merge "Select correct oat/odex when pinning the Camera APK" into oc-dr1-dev
Bill Yi [Wed, 19 Jul 2017 22:34:38 +0000 (15:34 -0700)]
Import translations. DO NOT MERGE
Change-Id: I33e4b0269d92dd0dcca49ac2ff9f752713683c2e
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Wed, 19 Jul 2017 22:02:09 +0000 (22:02 +0000)]
Merge "Add Configuration to APF Policy" into oc-dr1-dev
Mady Mellor [Wed, 19 Jul 2017 17:52:47 +0000 (10:52 -0700)]
Fix snooze not dismissing when it should
Simply check whether the guts is a leavebehind, if it is allow it to
be dismissed.
Test: manual - snooze a notification, touch outside note that it disappears
- show notification controls on a notification that will
be removed, note that the controls remain, once 'done' is
hit the notification is removed
Bug:
63788509
Change-Id: I42c97239f4e3e17f2e69322c94bd8e8f9d7f0737
TreeHugger Robot [Wed, 19 Jul 2017 18:40:38 +0000 (18:40 +0000)]
Merge "Default gradient should be the dark version" into oc-dr1-dev
Sungsoo Lim [Mon, 17 Jul 2017 21:24:26 +0000 (14:24 -0700)]
Type check before casting from CookieHandler to CookieManager
CookieHandler.getDefault() doesn't always return CookieManager.
Bug:
63638018
Test: pass StreamingMediaPlayerTest#testHlsWithHeadersCookies
Test: manual with a test app
Change-Id: Ie7c19d38f779813f3fffb9abbcb3188a0fca3f45
Seigo Nonaka [Tue, 18 Jul 2017 03:22:44 +0000 (20:22 -0700)]
Fix race condition of removing surface.
mContainer.startingSurface can be replaced between posting
mRemoveStartingWindow and actually surface.remove() is called.
1. removeStartingWindow is called, then mRemoveStartingWindow is posted
to mHandler
2. transferStartingWindow is called, then mContainer.startingWindow is
replaced with new surface.
3. mHandler pops the callback and surface.remove() is called.
Here the remove is only called for replaced surface and never called for
older surface.
To fix this issue, surely removes the surface when the
removeStartingWindow is called.
Bug:
63156080
Bug:
63784898
Test: Watch /proc/<pid>/fd
Change-Id: I55e2c1b8fba32b3a19603e6ad4743f07576abd48
Selim Cinek [Tue, 11 Jul 2017 11:19:59 +0000 (13:19 +0200)]
Reducing bitmap sizes in notifications
Bitmap sizes could be arbitrary large when they were sent
over to the system. We're now reducing them to reasonable
sizes.s
Also fixed that notification bitmaps were not put into
ashmem anymore since it got lost in a refactor.
Test: code inspection
Bug:
62319200
Merged-In: I87db7656e749666b9eab1f67fd497f155c407e18
Change-Id: I87db7656e749666b9eab1f67fd497f155c407e18
TreeHugger Robot [Wed, 19 Jul 2017 18:01:26 +0000 (18:01 +0000)]
Merge "Always reevaluate whether to show the notification for USB_DEVICE_* intents" into oc-dr1-dev
Adrian Roos [Fri, 14 Jul 2017 12:53:39 +0000 (14:53 +0200)]
Keyguard: Factor out Screen and Wakefulness lifecycles
Test: runtest systemui
Bug:
62446740
Change-Id: Ife34c1f4299b152a6352445adc8c9fc3c757e87c
Geoffrey Pitsch [Wed, 19 Jul 2017 15:28:42 +0000 (11:28 -0400)]
Fix owner info to be center-aligned
Broken when removing it from the RelativeLayout
Change-Id: I3959378edae15962212a74f8e2d36327b6f7e476
Fixes:
63800919
Test: manual
TreeHugger Robot [Wed, 19 Jul 2017 15:21:32 +0000 (15:21 +0000)]
Merge ""Block notifications screen off" setting is used" into oc-dr1-dev
TreeHugger Robot [Wed, 19 Jul 2017 14:19:54 +0000 (14:19 +0000)]
Merge "Fixes for increased usage of light navigation bar" into oc-dr1-dev
Christine Franks [Wed, 19 Jul 2017 13:59:22 +0000 (13:59 +0000)]
Merge "Add new configuration values for demo mode" into oc-dr1-dev
TreeHugger Robot [Wed, 19 Jul 2017 13:11:26 +0000 (13:11 +0000)]
Merge "Add log when we are trying to dismiss keyguard" into oc-dr1-dev
TreeHugger Robot [Wed, 19 Jul 2017 11:45:50 +0000 (11:45 +0000)]
Merge "Send app transition starting event at right time" into oc-dr1-dev
Jorim Jaggi [Mon, 17 Jul 2017 16:31:13 +0000 (18:31 +0200)]
Fix wrong nav bar animation when unlocking from AOD
Visibility of navigation bar was set too late. Set it earlier
such that it gets the right animation.
In addition to that, fixes a bug where Keyguard unlock animation
was terminated too early if there was already a scrim animation
pending.
Test: Wake-and-unlock from Aod
Bug:
63726451
Change-Id: I9a45fb27db68d56904c0fade40ea1173176beae8
Jorim Jaggi [Mon, 17 Jul 2017 14:46:00 +0000 (16:46 +0200)]
Fixes for increased usage of light navigation bar
- Fix an issue where IME doesn't really cover nav area but still
became window to deterine light navigation.
- Only invert nav bar icons when expanding the shade if the scrim
is dark.
- Fix logic such that status bar always becomes the window to
dermine light nav bar on lockscreen.
Test: Open shade with light nav
Test: Open Keyguard in landscape in all apps
Test: Unlock phone with light nav
Change-Id: If024a8b81942a6675243b703c0509cd88de8d932
Fixes:
63539478
Fixes:
63533427
Fixes:
63577858
Jorim Jaggi [Wed, 19 Jul 2017 10:17:37 +0000 (10:17 +0000)]
Merge "Fix threading issue with splash screens" into oc-dr1-dev
Jorim Jaggi [Tue, 18 Jul 2017 11:22:52 +0000 (13:22 +0200)]
Send app transition starting event at right time
Otherwise we are skipping an important section of the code that
might contain delays.
Test: Go to recents, check app transition delay in eventlog
Change-Id: Ie9ccc1dd37f1a0ffeb7c18a410a5148dbfb02ccf
Fixes:
63793419
Ricardo Loo [Wed, 19 Jul 2017 04:44:52 +0000 (04:44 +0000)]
Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev
am:
8e644a7510
Change-Id: Ib12f6abb1cd3bdc4701b13e607288fcaf48ce43e
Lucas Dupin [Wed, 19 Jul 2017 04:40:28 +0000 (21:40 -0700)]
Smoother system bars color transition
Easing out too fast makes the status bar feel like it's flashing.
Test: visual
Change-Id: I3c6fb528efd22d13f890024e73b76d2e50d71163
Fixes:
63629289
Ricardo Loo [Wed, 19 Jul 2017 04:36:42 +0000 (04:36 +0000)]
Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev
Chen Xu [Wed, 19 Jul 2017 03:06:01 +0000 (03:06 +0000)]
Merge "initial value for data_roaming based on carrier" into oc-dr1-dev
Phil Weaver [Wed, 19 Jul 2017 01:19:03 +0000 (01:19 +0000)]
Merge "Back-port fixes for b/
62196835" into nyc-mr1-dev am:
4a1dc3458d am:
a84f7a3028 am:
72c56fb84a -s ours
am:
ea6aaed42d
Change-Id: If720a3669b9d04ea115609bac0e1e60d5a7bc291
Phil Weaver [Wed, 19 Jul 2017 01:10:58 +0000 (01:10 +0000)]
Merge "Back-port fixes for b/
62196835" into nyc-mr1-dev am:
4a1dc3458d am:
a84f7a3028
am:
72c56fb84a -s ours
Change-Id: Ib0b35737306bce22a49bddeea0d7abdc8ecb1bc3
Phil Weaver [Wed, 19 Jul 2017 01:01:06 +0000 (01:01 +0000)]
Merge "Back-port fixes for b/
62196835" into nyc-mr1-dev am:
4a1dc3458d
am:
a84f7a3028
Change-Id: I1fedbee4642373e41c63c36ab83a0f4629c4a3d1
Android Build Merger (Role) [Wed, 19 Jul 2017 00:56:36 +0000 (00:56 +0000)]
Merge "Merge "Back-port fixes for b/
62196835" into mnc-dev am:
093c7a8e56 am:
0ddd7e4714 am:
9625d164e4 am:
996bc6bc12 -s ours am:
9e39e1e548 am:
afdcad0df3 am:
edbe4bd86a am:
2da30457c5 am:
d761dad216 am:
a81076b2e8" into oc-dr1-dev
TreeHugger Robot [Wed, 19 Jul 2017 00:55:42 +0000 (00:55 +0000)]
Merge "Put generated/compiled graphics code in getCodeCacheDir()" into oc-dr1-dev
Phil Weaver [Wed, 19 Jul 2017 00:53:13 +0000 (00:53 +0000)]
Merge "Back-port fixes for b/
62196835" into nyc-mr1-dev
am:
4a1dc3458d
Change-Id: Ibc50787c078b4d68de37f12d57d4b14990b5c768
Phil Weaver [Wed, 19 Jul 2017 00:52:23 +0000 (00:52 +0000)]
Merge "Back-port fixes for b/
62196835" into mnc-dev am:
093c7a8e56 am:
0ddd7e4714 am:
9625d164e4 am:
996bc6bc12 -s ours am:
9e39e1e548 am:
afdcad0df3 am:
edbe4bd86a am:
2da30457c5 am:
d761dad216
am:
a81076b2e8
Change-Id: I91ec75b1c21fc278c2bb723cf791cae1e94f52ec
Phil Weaver [Wed, 19 Jul 2017 00:46:42 +0000 (00:46 +0000)]
Merge "Back-port fixes for b/
62196835" into nyc-mr1-dev
Badhri Jagan Sridharan [Wed, 19 Jul 2017 00:29:10 +0000 (17:29 -0700)]
Always reevaluate whether to show the notification for USB_DEVICE_* intents
The decision whether to show or hide the "Usb supplying power.."
notification is based on two different broadcasts
1. USB_DEVICE_ATTACHED/DETACHED
2. USB_PORT_CHANGED
Depending on how long the port takes to enumerate, the required
intents might arrive in different order. Previously, it was assumed
that the ATTACHED broadcast would arrive before the PORT_CHANGED
broadcast and the code was aggressive to reduce the number of
times the decision to display/hide the notification is made.
This might cause the notification to be displayed in some instances
when it is not supposed to be displayed. This CL makes the usb service
to always reevaluate whenever USB_DEVICE_ATTACHED/DETACHED is
received.
Also, adding logs to print whenever the notification in enqueued/
dequeued.
Bug:
63785369
Test: Verified that the notification is displayed when connecting
to another pixel device and hidden when mouse or headset is
connected.
Change-Id: I30650a2d9923d01a1fce4b9450e65ec7f4e6557b
Phil Weaver [Wed, 19 Jul 2017 00:42:05 +0000 (00:42 +0000)]
Merge "Back-port fixes for b/
62196835" into mnc-dev am:
093c7a8e56 am:
0ddd7e4714 am:
9625d164e4 am:
996bc6bc12 -s ours am:
9e39e1e548 am:
afdcad0df3 am:
edbe4bd86a am:
2da30457c5
am:
d761dad216
Change-Id: Ib2704ba352764d6f48467c129b2a2d4129408da0
fionaxu [Fri, 23 Jun 2017 01:14:23 +0000 (18:14 -0700)]
initial value for data_roaming based on carrier
1. new carrier config for default data roaming value
to support carrier specific feature: turn on data_roaming by default.
Bug:
36193933
Test: manual test
Change-Id: Ie4f3a0714059e1a7257c84802db475c92c17e1b3