Commit Graph

250877 Commits

Author SHA1 Message Date
Salvador Martinez
cfa4ad4e1e Added error handling to settings suggestions list am: 18bf581c77
am: 2cb851e5c9

Change-Id: I5f28a0c854597a576791be97fd1ab0c87183d65d
2016-08-24 18:32:09 +00:00
Salvador Martinez
2cb851e5c9 Added error handling to settings suggestions list
am: 18bf581c77

Change-Id: Id946b2b75b9adc4c70fa4537da4ac509a6ab5c66
2016-08-24 18:27:56 +00:00
Alan Viverette
709f0f3e15 Merge "Ensure the layer drawable callback is set when loading from theme" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Alan Viverette
20109a689d Merge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Alan Viverette
16b8941dba Merge "Clean up VideoView, SurfaceView constructors" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Alan Viverette
4e32b47c48 Merge "Constrain input hour and minute to valid range" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Alan Viverette
52306705c1 Merge "Override LinearLayout's onLayout pass in AlertDialogLayout" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Chen Xu
d90b69ffb1 Merge "redact PII only for non-null value and apply SHA-1" into nyc-mr1-dev 2016-08-24 18:08:22 +00:00
Doris Ling
d5f9642488 Merge "Add metrics logging for Settings -> Help & Feedback" into nyc-mr1-dev 2016-08-24 18:01:28 +00:00
Alan Viverette
6c1e7451b3 Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev am: 462f29f77f
am: f9489216eb

Change-Id: If2389e3de3f5b511ed0ac7cee1025ec2d31cbabc
2016-08-24 17:43:45 +00:00
Alan Viverette
992ef58a33 Avoid potential re-entry as a result of child mutation am: 66b3a0d1aa
am: 70ccc698ec

Change-Id: Ia85253ba6ce6bece037717b7d87955dcac4e9f81
2016-08-24 17:43:43 +00:00
Alan Viverette
f9489216eb Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev
am: 462f29f77f

Change-Id: Iefb3d33a407aa719c988217b136187378617da8f
2016-08-24 17:37:53 +00:00
Alan Viverette
70ccc698ec Avoid potential re-entry as a result of child mutation
am: 66b3a0d1aa

Change-Id: I1fa6619145a6aaceb4c743d378fbc5b198da6cdd
2016-08-24 17:37:50 +00:00
TreeHugger Robot
462f29f77f Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev 2016-08-24 17:27:09 +00:00
Tony Mantler
97231323b7 Merge "Fix AsyncTask to handle exceptions in doInBackground" into nyc-mr1-dev 2016-08-24 17:00:04 +00:00
Salvador Martinez
18bf581c77 Added error handling to settings suggestions list
The suggestions list in the summary page of the
settings app could sometimes cause a crash due to
an uncaught exception. Tis fixed now.

Bug: 30656840
Change-Id: If79f53e6a8c17a81653228d613797e94c473d410
(cherry picked from commit 60d92b3b83)
2016-08-24 16:43:22 +00:00
Alan Viverette
11a84b8429 Ensure the layer drawable callback is set when loading from theme
Previously we would skip setting the changing configurations and callback
if the drawable had been loaded post-inflation from a theme attribute.

Bug: 30756548
Change-Id: Ia5457723ae8a62506a7562299d3fe78ec21f8030
2016-08-24 12:35:47 -04:00
Alan Viverette
1bb8f51e76 Override LinearLayout's onLayout pass in AlertDialogLayout
LinearLayout sets up internal state during onLayout that's missing when
we override onMeasure. Avoid calling super.onMeasure() by re-implementing
onLayout without the internal state dependencies.

Bug: 30494039
Change-Id: I1149517a2fe5f5afdb4125db5e7f573588fea740
2016-08-24 12:26:27 -04:00
Tenghui Zhu
3512b0001a Merge "Add an new internal DrawableContainer to handle animation scale == 0 case." into nyc-mr1-dev 2016-08-24 16:22:38 +00:00
Rubin Xu
4d826638ab Merge "Set DeviceLockedForUser state synchronously" into nyc-mr1-dev 2016-08-24 14:23:44 +00:00
Jaewan Kim
473c683ca6 Merge "MediaSessionService: Leave log for media key events" into nyc-mr1-dev 2016-08-24 05:34:29 +00:00
Sungsoo Lim
c23c2771de Merge "ExifInterface: Make saveAttributes throw an exception before change" into nyc-mr1-dev 2016-08-24 01:53:22 +00:00
TreeHugger Robot
e846b18d33 Merge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev 2016-08-24 01:47:20 +00:00
TreeHugger Robot
6e370d35fe Merge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev 2016-08-24 01:32:11 +00:00
Jaewan Kim
5e1476ecd7 MediaSessionService: Leave log for media key events
Bug: 30212915
Change-Id: I6eb523bbbce2292b6b51d538d82ef4d0a8ba23b3
2016-08-24 10:24:59 +09:00
TreeHugger Robot
5a10360d7e Merge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev 2016-08-24 01:21:07 +00:00
Winson
675c5d8e5a Fixing issue with toasts not showing for guest users.
Bug: 30001278
Change-Id: I43269da8a6c41f4fec5923aafe5a624ec75ba651
2016-08-23 17:22:32 -07:00
TreeHugger Robot
f50ff35cea Merge "use directory timestamp during OTA" into nyc-mr1-dev 2016-08-24 00:09:20 +00:00
TreeHugger Robot
ee36020457 Merge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev 2016-08-24 00:04:42 +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
8664df3d76 Merge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev 2016-08-23 23:44:06 +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
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
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
50ff32c17f Merge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev 2016-08-23 21:19:05 +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
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
0b3cf692f6 Merge "Add installer app check in PM.deletePackage." into nyc-mr1-dev 2016-08-23 19:40:00 +00:00