Commit Graph

252839 Commits

Author SHA1 Message Date
Todd Kennedy
d2247b0724 Merge "use directory timestamp during OTA" into nyc-mr1-dev
am: f50ff35cea

Change-Id: I83f00ad2efd14e778224df6c13ef2c4afdd05d35
2016-08-24 00:14:41 +00:00
Todd Kennedy
9366047713 use directory timestamp during OTA
am: 095d4125be

Change-Id: I9c429b193f808181d2cec02c0caeda07058a35db
2016-08-24 00:14:37 +00:00
TreeHugger Robot
f50ff35cea Merge "use directory timestamp during OTA" into nyc-mr1-dev 2016-08-24 00:09:20 +00:00
Justin Klaassen
d64ec9b709 Merge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev
am: ee36020457

Change-Id: Ic0348ec624d4e0d5be427fce1cbc300a3d3a93b3
2016-08-24 00:09:02 +00:00
Justin Klaassen
33b64cba51 Improve logging for NightDisplayService/TwilightService
am: ec8837ae26

Change-Id: Id92024b32a49713bc45159dc9347397c359d9711
2016-08-24 00:09:00 +00:00
TreeHugger Robot
ee36020457 Merge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev 2016-08-24 00:04:42 +00:00
Winson
3174f2931b Bump up preloading recents on boot up to user unlocked.
am: c3eedd972d

Change-Id: Id7a6f3a04d98672219d7f9995665258a138de8e0
2016-08-23 23:58:33 +00:00
Winson
c3eedd972d Bump up preloading recents on boot up to user unlocked.
- To fix b/29320695, we moved the initial recents preloading to boot 
  completed.  However, that event happens fairly late in the boot 
  sequence, and preloading can instead be done in response to user 
  unlocked.

Bug: 29879478
Change-Id: I881bd9c4c3b91d73df4947bfd2cc55eb6e615d15
2016-08-23 23:53:41 +00:00
Makoto Onuki
311484cc4e Merge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev
am: 8664df3d76

Change-Id: I7abfe83f44599ff546034816e92b01a40a9f7a29
2016-08-23 23:51:09 +00:00
Makoto Onuki
d76622fbc1 Backporting shortcut manager test utils to mr1
am: a49bafad6b

Change-Id: I6d60195dcfa8d98a8b58ae5485761811ffe34152
2016-08-23 23:50:28 +00:00
Makoto Onuki
8664df3d76 Merge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev 2016-08-23 23:44:06 +00:00
Svetoslav Ganov
909bb94eb2 Merge "Only sync adapters with access can see an account - framework" into nyc-mr1-dev
am: 0f7fe17983

Change-Id: I9c141ec863c27db114bddd5e1ee7398ec7e69091
2016-08-23 23:35:24 +00:00
Svetoslav Ganov
721402e75a Only sync adapters with access can see an account - framework
am: 5cb2973495

Change-Id: I615f02c04578fa23f182a3591419139071114aef
2016-08-23 23:35:13 +00:00
TreeHugger Robot
0f7fe17983 Merge "Only sync adapters with access can see an account - framework" into nyc-mr1-dev 2016-08-23 23:26:51 +00:00
David Christie
a2399b45e2 resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev
Change-Id: Ic44c577ef364bf81dd1e30b50c71718d4910eb10
2016-08-23 16:19:51 -07:00
Jack Yu
bfd1d6ed49 Do not print misleading debug messages in some scenarios.
When the mobile network is not active, querying the network
information might trigger the misleading debug messages. Added
some condition checks to prevent this.

bug: 30850733
Change-Id: Ice6d548a56f98bac7fe2ca6a06148350b505533d
2016-08-23 16:09:36 -07:00
Salvador Martinez
1941584197 Merge "Added error handling to settings suggestions list" into nyc-mr1-dev
am: 621dcdf9cd

Change-Id: Icdb19bcdbf888341e59afe3992d5a04030ed0ac7
2016-08-23 23:02:03 +00:00
Salvador Martinez
a6e6feffe6 Added error handling to settings suggestions list
am: 2197e8d6f5

Change-Id: I93d2f5363f702dbec76f34f5e121d3d3c9e01ac5
2016-08-23 23:01:32 +00:00
TreeHugger Robot
621dcdf9cd Merge "Added error handling to settings suggestions list" into nyc-mr1-dev 2016-08-23 22:52:33 +00:00
Todd Kennedy
095d4125be use directory timestamp during OTA
Previously the timestamp was generated using the directory and not the
APK [see b/29575840 and b/29610181 as to why that's bad]. In MR1, the
timestamp was generated using the most recent time of any of the APK
files.

The timestamp discrepancy causes problems during OTA to N MR1. Most
apps are incorrectly marked as "changed" which means a full parse and
verification pass on all packages. This can be a very lengthy process.

Bug: 30930797
Change-Id: Iaef7b318e1c1effbd74d996f88cbf3d6e77736cd
Test: manually updated the platform and noticed that existing packages were marked as "not changed"
2016-08-23 15:47:02 -07:00
Adam Powell
2fe301db75 Focus behavior for scroll containers in watch mode
Change default scrolling containers not to request a reveal (parent
scroll) on focus, and to be focusable in touch mode. This helps watch
devices with other input mechanisms that rely on view focus.

Since there's no attribute for the reveal on focus hint, set that in
code. Set focusable in touch mode on the default styles for
ScrollView/HorizontalScrollView. AbsListView already sets this
historically anyway.

Change-Id: I74760f6d523874127da6f6134f0461cc59ce189a
2016-08-23 18:36:04 -04:00
Jorim Jaggi
594a4918f8 Merge "Update light mode when battery saver changes" into nyc-mr1-dev
am: 891411aaa5

Change-Id: I90f2dc2ab69c60f31c3b88a128fa7542de9d9780
2016-08-23 22:29:16 +00:00
Jorim Jaggi
c9be359ad4 Update light mode when battery saver changes
am: 244a43ee6f

Change-Id: Ifb0238a6690d06ec4abd7aa600763cfb6f607dc5
2016-08-23 22:29:14 +00:00
Justin Klaassen
ec8837ae26 Improve logging for NightDisplayService/TwilightService
Bug: 31037341
Change-Id: Id6e5ea55f2fed93f1afdd0f61028e3329c8a43c3
(cherry picked from commit 7fba392090)
2016-08-23 22:23:49 +00:00
TreeHugger Robot
891411aaa5 Merge "Update light mode when battery saver changes" into nyc-mr1-dev 2016-08-23 22:20:40 +00:00
Doris Ling
319c806cc0 Add metrics logging for Settings -> Help & Feedback
Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.

Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281
2016-08-23 14:49:15 -07:00
Svetoslav Ganov
5cb2973495 Only sync adapters with access can see an account - framework
It was possible for a sync adapter without accounts access to
see the account which it is supposed to sync which can be used to
identify the user. This change ensures that only sync adapters
with account access can run (which results in seeing the account),
otherwise we involve the user to approve access only to this account.

A sync adapter can access an account if one of these is true:
 - it is signed as the authenticator for this account
 - has the GET_ACCOUNTS permission
 - has an auth token for the account
 - it is a preinstalled app (system or privileged)

The main thing we need to figure out is if the extra prompts
for giving access to a sync adapter to the account create too
much friction.

bug:28163381

Change-Id: Ie083bb681b5a2aed81ca5f6a062193a175fad77e
2016-08-23 21:43:27 +00:00
Amith Yamasani
4b62110262 Merge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev
am: 50ff32c17f

Change-Id: I37f7e13d7974b32cb5487c78f492a6518ef9d4dc
2016-08-23 21:22:50 +00:00
Amith Yamasani
8b2adb1ee1 Don't complain about sender of MASTER_CLEAR
am: d8a55f6dd8

Change-Id: I4b66478a5c275bec2e47262c7cf8396c0f8d061e
2016-08-23 21:22:48 +00:00
Amith Yamasani
50ff32c17f Merge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev 2016-08-23 21:19:05 +00:00
Patrick Tjin
60c17395a6 BootReceiver: Report correct headers for last messages
BootReceiver was using current build information when reporting
various versions. This was causing A/B devices to report the
wrong build information when reporting crashes since rebooting
a A/B device with a pending OTA would automatically apply the
OTA. (the problem was not seen on devices without A/B due to
booting through recovery to apply the OTA)

Bug: 30594862
Change-Id: I6f52081142e338c822c9135cba48a1f88f4d4bdb
2016-08-23 14:07:10 -07:00
Andrew Rossignol
09bd81cdfe Remove the incognito start page resource.
Bug: 28215770
Change-Id: Ibf0c67b6e995434bf4a5178e294e950f7f486125
2016-08-23 14:01:48 -07:00
Makoto Onuki
52e87790d2 Merge "Do not scan system apps unless after OTA" into nyc-mr1-dev
am: 85c10342c1

Change-Id: Ic40a7b4c794029861ae1a1608c3022b9577e02c5
2016-08-23 20:59:10 +00:00
Makoto Onuki
140f6f5b8c Do not scan system apps unless after OTA
am: 3366328245

Change-Id: I6e901e26f61cd4bad8ba2a1b927f34d141b0423d
2016-08-23 20:59:07 +00:00
Makoto Onuki
85c10342c1 Merge "Do not scan system apps unless after OTA" into nyc-mr1-dev 2016-08-23 20:52:43 +00:00
Jorim Jaggi
3793aff806 Remove swipe-up gesture from Tuner
We can't do it anymore with the slippery flag, so remove the entry
in the tuner.

We'll clean up the code in master.

Change-Id: Ib3dee0c947e7925b5847f2edc4801495c659dfa5
Fixes: 30891575
2016-08-23 20:49:18 +00:00
Jorim Jaggi
3f09052eb9 Don't use fullscreen theme for forced resizable info activity
Change-Id: I74b5443645dd532ff597d4a1773bbd5a38d71192
Fixes: 29278265
2016-08-23 20:40:10 +00:00
Jorim Jaggi
244a43ee6f Update light mode when battery saver changes
Change-Id: I56b309222782d823d80a66c87d30eefed2ce5dc7
Fixes: 30150232
2016-08-23 13:28:04 -07:00
Adam Seaton
9ea799541e Merge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held." into nyc-dr1-dev am: 09c77dd2b1 -s ours
am: 2c7e4d2345  -s ours

Change-Id: Ife8b19d67eebd5834c3c6348d34dfd5262fe104c
2016-08-23 20:23:38 +00:00
Tyler Gunn
ef59ba5472 DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held. am: d697c5dc9b -s ours
am: 9ea9bc0213  -s ours

Change-Id: I9dd9d03cccd3bd1f60d3af2517ec4f5f343d144d
2016-08-23 20:23:37 +00:00
Adrian Roos
bd38788af6 Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev am: e1f32de996
am: a9b9b42e85

Change-Id: Ia17771722f5f8c516029d47b54c0a41b3fa11f46
2016-08-23 20:23:35 +00:00
Adrian Roos
7e30202cb9 Ambient: Pulse for every noisy notification exactly once am: 97de2b2666
am: 7de22aa782

Change-Id: Iac8dd0a375a319683767ae81752cf8f7c01b856a
2016-08-23 20:23:34 +00:00
Adam Seaton
2c7e4d2345 Merge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held." into nyc-dr1-dev
am: 09c77dd2b1  -s ours

Change-Id: I97b120256a68cc2038b72fc13d14ca01729f3199
2016-08-23 20:16:34 +00:00
Tyler Gunn
9ea9bc0213 DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held.
am: d697c5dc9b  -s ours

Change-Id: Id959d48b4c4fa5af883c42cc6fbe052cca10f367
2016-08-23 20:16:29 +00:00
Adrian Roos
a9b9b42e85 Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev
am: e1f32de996

Change-Id: If4171cbb2247cb8bc8f0e4e92f94724bf9ba238e
2016-08-23 20:16:23 +00:00
Adrian Roos
7de22aa782 Ambient: Pulse for every noisy notification exactly once
am: 97de2b2666

Change-Id: I4ae78e6f4ec4d3652f7f6eefc0cd72d3e881ea89
2016-08-23 20:16:17 +00:00
Adam Seaton
09c77dd2b1 Merge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held." into nyc-dr1-dev 2016-08-23 20:07:28 +00:00
TreeHugger Robot
e1f32de996 Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev 2016-08-23 20:07:12 +00:00
Sudheer Shanka
5a59c37ff6 Merge "Add installer app check in PM.deletePackage." into nyc-mr1-dev
am: 0b3cf692f6

Change-Id: I7011ea44c43862c4f78333509ec4d9418e4f0e77
2016-08-23 19:55:57 +00:00
Sudheer Shanka
d7b7a88f64 Add installer app check in PM.deletePackage.
am: 72de4ddb46

Change-Id: I89a3068721f9682692fb455baae376db2690204c
2016-08-23 19:55:53 +00:00