Commit Graph

327648 Commits

Author SHA1 Message Date
Bryce Lee
b845700dee Merge "Determine power hint behavior based on target activity." into oc-dr1-dev 2017-07-24 22:07:47 +00:00
Winson Chung
aa5937a366 Merge "Fixing occasional jump when launching certain apps from Recents." into oc-dr1-dev 2017-07-24 20:25:07 +00:00
Selim Cinek
106b5eefd2 Merge "Fixed an issue where the lock icon could be invisible" into oc-dr1-dev 2017-07-24 20:19:30 +00:00
TreeHugger Robot
9874ab69e5 Merge "DO NOT MERGE - Don't 'cmd vibrate' when on DND mode." into oc-dr1-dev 2017-07-24 20:08:31 +00:00
TreeHugger Robot
cf3b6afe01 Merge "Ignore "mLastHidden" state when deciding whether to turnScreenOn." into oc-dr1-dev 2017-07-24 20:04:02 +00:00
TreeHugger Robot
f5c3922645 Merge "Use new, lower brightness value for low brightness doze." into oc-dr1-dev 2017-07-24 15:16:24 +00:00
Christine Franks
173e721ab6 Merge "Remove reference to com.android.retaildemo" into oc-dr1-dev 2017-07-24 14:33:46 +00:00
Jorim Jaggi
6498f96283 Revert "Fix jank when switching themes"
This reverts commit e5d0b9dddb.

Fixes crashloop with lock pattern

Change-Id: I3721444c91e2be625c59ec3e6ba14f1080badc07
Fixes: 63980375
2017-07-24 15:53:42 +02:00
TreeHugger Robot
149ff697ff Merge "Remove non-safe mode boot vibration." into oc-dr1-dev 2017-07-24 12:46:25 +00:00
TreeHugger Robot
8650c7c0f1 Merge "Removing contents hidden string for public notifications" into oc-dr1-dev 2017-07-23 12:51:43 +00:00
TreeHugger Robot
51e35963ae Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-07-22 17:02:45 +00:00
TreeHugger Robot
69e41a4e9c Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-07-22 16:31:16 +00:00
TreeHugger Robot
86817456ff Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-07-22 16:21:57 +00:00
Bill Yi
19a8d0af26 Import translations. DO NOT MERGE
Change-Id: I1670c714954e5835f6c79f446c463ee18d72d17b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-22 02:47:35 -07:00
Bill Yi
af2a13f8b0 Import translations. DO NOT MERGE
Change-Id: Ida215c44df2fd5572b046d426bca7304947398bc
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-21 23:43:49 -07:00
TreeHugger Robot
a74f575ff9 Merge "Fix jank when switching themes" into oc-dr1-dev 2017-07-22 04:46:19 +00:00
Bill Yi
bb6d5c62cf Import translations. DO NOT MERGE
Change-Id: I8c164681df192fe74083e69adf301a0f312dc144
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-21 20:58:50 -07:00
TreeHugger Robot
1cc73a5773 Merge "Move icon resources into SettingsLib for phone buddy" into oc-dr1-dev 2017-07-22 03:31:53 +00:00
Christine Franks
8bcd61b6a5 Remove reference to com.android.retaildemo
Bug: 62712426
Test: runtest -c UserManagerTest frameworks-services
Change-Id: I26ca7e7dbf4ea44d2cb4a173072eac0037d75eca
2017-07-22 01:13:15 +00:00
TreeHugger Robot
5bbf44e715 Merge "Persist/pacel # of periodic syncs properly." into oc-dr1-dev 2017-07-22 00:45:24 +00:00
Matthew Fritze
ab8148f2f6 Move icon resources into SettingsLib for phone buddy
The external settings api needs to pass icons for
corresponding settings. The following signals didn't have
icons in Settings.
- Night display
- Location

Bug: 62706782
Test: make RunSettingsGoogleRoboTests
Change-Id: Ia2feaa9cfea7dbce165545e5b7d96ad0798b8e07
2017-07-21 17:39:58 -07:00
TreeHugger Robot
2337b3ba84 Merge "Batterystats: fix inappropriate bg timebase reset" into oc-dr1-dev 2017-07-22 00:35:10 +00:00
Selim Cinek
9a105318da Fixed an issue where the lock icon could be invisible
Because the state wasn't properly initialized after reinflation,
the lockicon could be invisible.
This also fixes an issue where we were leaking the view after reinflation.

Change-Id: Ic01e488319d8650fac07c35642a4bba62311c1e8
Fixes: 62411136
Test: manual, switch user twice, observe
2017-07-21 17:16:05 -07:00
TreeHugger Robot
ec996b381d Merge "Fix RemoteListenerHelper vs. HAL deadlock" into oc-dr1-dev 2017-07-22 00:12:10 +00:00
David Friedman
f20c492190 Merge "Docs: Updates guidance about using permissions when accessing OBB expansion files, Bug: 34273998 Test: Ran "make" to verify error-free building." into oc-dev
am: e4d0557334

Change-Id: I931088e43f29707e1ab5d9764a06adbbe5af1d7e
2017-07-21 23:11:16 +00:00
David Friedman
e4d0557334 Merge "Docs: Updates guidance about using permissions when accessing OBB expansion files, Bug: 34273998 Test: Ran "make" to verify error-free building." into oc-dev 2017-07-21 23:01:56 +00:00
TreeHugger Robot
689359914d Merge "Fix suggestion crash if parser fails to parse dismiss rule" into oc-dr1-dev 2017-07-21 22:59:13 +00:00
Makoto Onuki
fdc5723076 Persist/pacel # of periodic syncs properly.
(Note it shouldn't be persisting parceled data in the first place.  There's
already a bug filed for that.)

Bug 63935632
Test: manaul test

Change-Id: I5385caa6cd0663c7e13db0256b2c1027abe6c3a1
2017-07-21 15:30:35 -07:00
Bookatz
993a0be676 Batterystats: fix inappropriate bg timebase reset
Previously, the background timebases (of a Uid) were reset when the Uid
resets in the wrong place. This caused StopwatchTimer.reset() to have the timesbase's old value to keep
track of its mUpdateTime. The solution is to call TimeBase.init at the
start of Uid.reset(), instead of calling TimeBase.reset() at the end of
Uid.reset().

Bug: 62352334
Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
Change-Id: I23c886544e18f154fc226cc81c22c3ea70fb4c7e
2017-07-21 15:26:13 -07:00
Bryce Lee
28d8042bcd Determine power hint behavior based on target activity.
Previously, logic was added surrounding whether to trigger a power
hint based on the start activity. However, this activity is not
always relevant in the calling context.

This change adjusts the logic by passing the target activity into
the method.

Fixes: 63913311
Test: press home button while on home and ensure power hint not
      triggered.

Change-Id: I71ffcae7adbc2c55ef5b2994f4c55688d0aa0ca5
2017-07-21 14:49:32 -07:00
Wyatt Riley
aa420d5e14 Fix RemoteListenerHelper vs. HAL deadlock
Releasing lock before calling into HAL.

Fixes: 62776535
Bug: 63264577
Test: Build, GNSS location & GnssMeasurement toggling
Reproed issue with test sleep code without fix and passed with.

Change-Id: I44e183e98edd972619a068bbcc95468e9a9cdee1
2017-07-21 14:47:57 -07:00
TreeHugger Robot
cdcbbeccb7 Merge "Update icons in the volume rocker" into oc-dr1-dev 2017-07-21 20:25:09 +00:00
Fan Zhang
15ea628204 Fix suggestion crash if parser fails to parse dismiss rule
We store a index value in shared pref to figure out when a suggestion
should be displayed next time. However the rule can change due to
various reasons. When the index and the rule itself go out of sync, we
should not crash.

Merged-In: Id3ea88b6d321434e20ac0cd3e2670524c237e24e
Change-Id: Ied4a0359f9bc22ee94ec79c0591d2671a9c31b86
Fix: 63908636
Test: robotests
2017-07-21 12:57:14 -07:00
Christine Franks
484115b77d Merge "DO NOT MERGE - Remove RetailDemoModeService" into oc-dr1-dev 2017-07-21 18:53:16 +00:00
Albert Chaulk
c48e304bbf Merge "Add modified API to send more information to VrCore" into oc-dr1-dev 2017-07-21 18:22:38 +00:00
TreeHugger Robot
672f578fd1 Merge "Ensure backup doesn't reuse ack tokens nearby in time" into oc-dr1-dev 2017-07-21 18:18:07 +00:00
Michael Wright
33d6c08aa6 Remove non-safe mode boot vibration.
Ding, dong the BZZZT is dead.

Bug: 22414771
Test: manual
Change-Id: I011a9b475a6497db6e9440647d6d5c60dcf171b7
2017-07-21 19:11:24 +01:00
Lucas Dupin
53ddffdf3a Merge "Shutdown scrim opacity at 95%" into oc-dr1-dev 2017-07-21 16:34:33 +00:00
Jorim Jaggi
089d45de8f Merge "Fix snapshots for dialogs" into oc-dr1-dev 2017-07-21 16:10:52 +00:00
Christine Franks
b7c929977c DO NOT MERGE - Remove RetailDemoModeService
Bug: 62712426
Test: make -j100
Change-Id: I483f2e3518a48fbc833562e71c3acd17ad565881
Merged-In: I483f2e3518a48fbc833562e71c3acd17ad565881
2017-07-21 15:51:32 +00:00
TreeHugger Robot
5898d52184 Merge "Add new bucket above high brightness for "sunlight"." into oc-dr1-dev 2017-07-21 15:30:42 +00:00
TreeHugger Robot
cb423e42b3 Merge "Add config to force display to transition to off after doze" into oc-dr1-dev 2017-07-21 14:53:44 +00:00
TreeHugger Robot
5f62026b4e Merge "Flicker free screen-on from AOD" into oc-dr1-dev 2017-07-21 14:53:44 +00:00
Jorim Jaggi
e6c6ecb2b0 Fix snapshots for dialogs
When taking a snapshot, always include the full stack bounds.

When showing a snapshot starting window, use the SystemUI flags
from the top fullscreen window in the task - this is the same way
as we do it when the real windows are going to be visible.

Test: Revoke contacts permissions, launch contacts, go to recents,
go back.
Test: go/wm-smoke
Fixes: 63268663

Change-Id: If8d9701f6d34abd56116ed04fe27fe82688e506a
2017-07-21 13:39:19 +02:00
TreeHugger Robot
928aad3e4d Merge "Fixing TaskPersisterTest" into oc-dr1-dev 2017-07-21 09:28:52 +00:00
Adrian Roos
e4cb6c8a31 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
2017-07-21 11:20:26 +02:00
Lucas Dupin
e5d0b9dddb Fix jank when switching themes
Turning overlays on and off takes time,
it also doesn't allow us to have fine control
over which view is using which theme.
Lock screen colors are now driven by themes.

Change-Id: I4b5db6234cafebbe8eaa952781c038370a11488b
Fixes: 63751714
Test: Visual. Set wallpapers, unlock.
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/ColorExtractorTest.java
Test: systrace
2017-07-20 22:44:36 -07:00
TreeHugger Robot
6b4f0bb6fe Merge "Handle an edge case that can reset settings provider data" into oc-dr1-dev 2017-07-21 05:03:15 +00:00
TreeHugger Robot
f8469ccf17 Merge "NFC DTA Integration" into oc-dr1-dev 2017-07-21 05:01:38 +00:00
TreeHugger Robot
860f185c66 Merge "Don't set AccessPoint with WifiInfo.INVALID_RSSI" into oc-dr1-dev 2017-07-21 02:30:17 +00:00