OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 23:07:30 +0000 (23:07 +0000)]
Merge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev

7 years agoMerge "Changing default value of config_use_sim_language_file to false." into nyc...
TreeHugger Robot [Wed, 24 Aug 2016 22:03:11 +0000 (22:03 +0000)]
Merge "Changing default value of config_use_sim_language_file to false." into nyc-mr1-dev

7 years agoMerge "Use correct UID checks and proper database lookup" into nyc-mr1-dev
Svetoslav Ganov [Wed, 24 Aug 2016 21:57:15 +0000 (21:57 +0000)]
Merge "Use correct UID checks and proper database lookup" into nyc-mr1-dev

7 years agoUse correct UID checks and proper database lookup
Svetoslav Ganov [Wed, 24 Aug 2016 21:40:16 +0000 (14:40 -0700)]
Use correct UID checks and proper database lookup

bug:31056110
bug:31050549
bug:28163381

Change-Id: I726645ae0d2456a5b4d38005fe78523332758842

7 years agoDirectReply: Fix bugs when replying from HUNs
Adrian Roos [Tue, 23 Aug 2016 16:23:01 +0000 (18:23 +0200)]
DirectReply: Fix bugs when replying from HUNs

Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772

7 years agoMerge "Do not print misleading debug messages in some scenarios." into nyc-mr1-dev
Jack Yu [Wed, 24 Aug 2016 20:24:41 +0000 (20:24 +0000)]
Merge "Do not print misleading debug messages in some scenarios." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE: Don't create DocumentInfo instances in background." into nyc...
TreeHugger Robot [Wed, 24 Aug 2016 19:49:34 +0000 (19:49 +0000)]
Merge "DO NOT MERGE: Don't create DocumentInfo instances in background." into nyc-mr1-dev

7 years agoChanging default value of config_use_sim_language_file to false.
Amit Mahajan [Wed, 24 Aug 2016 18:45:35 +0000 (11:45 -0700)]
Changing default value of config_use_sim_language_file to false.

Bug: 30150341
Change-Id: If0183ce0bfa4f872d991e5aed562eeb948ed86c8

7 years agoMerge "Added error handling to settings suggestions list" into nyc-dev am: ed004e2958
Salvador Martinez [Wed, 24 Aug 2016 18:32:11 +0000 (18:32 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-dev am: ed004e2958
am: e9c519e049

Change-Id: Ie99c9e7d6747866efb03484dbbeec89d4dc6d74b

7 years agoAdded error handling to settings suggestions list am: 18bf581c77
Salvador Martinez [Wed, 24 Aug 2016 18:32:09 +0000 (18:32 +0000)]
Added error handling to settings suggestions list am: 18bf581c77
am: 2cb851e5c9

Change-Id: I5f28a0c854597a576791be97fd1ab0c87183d65d

7 years agoMerge "Added error handling to settings suggestions list" into nyc-dev
Salvador Martinez [Wed, 24 Aug 2016 18:28:00 +0000 (18:28 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-dev
am: ed004e2958

Change-Id: I674216ef4471444c86b202896b8ce055c54eb584

7 years agoAdded error handling to settings suggestions list
Salvador Martinez [Wed, 24 Aug 2016 18:27:56 +0000 (18:27 +0000)]
Added error handling to settings suggestions list
am: 18bf581c77

Change-Id: Id946b2b75b9adc4c70fa4537da4ac509a6ab5c66

7 years agoMerge "Added error handling to settings suggestions list" into nyc-dev
Salvador Martinez [Wed, 24 Aug 2016 18:17:38 +0000 (18:17 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-dev

7 years agoMerge "Ensure the layer drawable callback is set when loading from theme" into nyc...
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Ensure the layer drawable callback is set when loading from theme" into nyc-mr1-dev

7 years agoMerge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into...
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into nyc-mr1-dev

7 years agoMerge "Clean up VideoView, SurfaceView constructors" into nyc-mr1-dev
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Clean up VideoView, SurfaceView constructors" into nyc-mr1-dev

7 years agoMerge "Constrain input hour and minute to valid range" into nyc-mr1-dev
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Constrain input hour and minute to valid range" into nyc-mr1-dev

7 years agoMerge "Override LinearLayout's onLayout pass in AlertDialogLayout" into nyc-mr1-dev
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Override LinearLayout's onLayout pass in AlertDialogLayout" into nyc-mr1-dev

7 years agoMerge "redact PII only for non-null value and apply SHA-1" into nyc-mr1-dev
Chen Xu [Wed, 24 Aug 2016 18:08:19 +0000 (18:08 +0000)]
Merge "redact PII only for non-null value and apply SHA-1" into nyc-mr1-dev

7 years agoMerge "Add metrics logging for Settings -> Help & Feedback" into nyc-mr1-dev
Doris Ling [Wed, 24 Aug 2016 18:01:26 +0000 (18:01 +0000)]
Merge "Add metrics logging for Settings -> Help & Feedback" into nyc-mr1-dev

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-dev am: 462f2...
Alan Viverette [Wed, 24 Aug 2016 17:43:45 +0000 (17:43 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev am: 462f29f77f
am: f9489216eb

Change-Id: If2389e3de3f5b511ed0ac7cee1025ec2d31cbabc

7 years agoAvoid potential re-entry as a result of child mutation am: 66b3a0d1aa
Alan Viverette [Wed, 24 Aug 2016 17:43:43 +0000 (17:43 +0000)]
Avoid potential re-entry as a result of child mutation am: 66b3a0d1aa
am: 70ccc698ec

Change-Id: Ia85253ba6ce6bece037717b7d87955dcac4e9f81

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-dev
Alan Viverette [Wed, 24 Aug 2016 17:37:53 +0000 (17:37 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev
am: 462f29f77f

Change-Id: Iefb3d33a407aa719c988217b136187378617da8f

7 years agoAvoid potential re-entry as a result of child mutation
Alan Viverette [Wed, 24 Aug 2016 17:37:50 +0000 (17:37 +0000)]
Avoid potential re-entry as a result of child mutation
am: 66b3a0d1aa

Change-Id: I1fa6619145a6aaceb4c743d378fbc5b198da6cdd

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-dev
TreeHugger Robot [Wed, 24 Aug 2016 17:27:07 +0000 (17:27 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev

7 years agoMerge "Fix AsyncTask to handle exceptions in doInBackground" into nyc-mr1-dev
Tony Mantler [Wed, 24 Aug 2016 17:00:02 +0000 (17:00 +0000)]
Merge "Fix AsyncTask to handle exceptions in doInBackground" into nyc-mr1-dev

7 years agoAdded error handling to settings suggestions list
Salvador Martinez [Thu, 4 Aug 2016 20:37:52 +0000 (13:37 -0700)]
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 60d92b3b8390e33e069f343d6a425ab07c498d3d)

7 years agoEnsure the layer drawable callback is set when loading from theme
Alan Viverette [Wed, 24 Aug 2016 16:35:47 +0000 (12:35 -0400)]
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

7 years agoOverride LinearLayout's onLayout pass in AlertDialogLayout
Alan Viverette [Wed, 24 Aug 2016 16:26:27 +0000 (12:26 -0400)]
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

7 years agoMerge "Add an new internal DrawableContainer to handle animation scale == 0 case...
Tenghui Zhu [Wed, 24 Aug 2016 16:22:32 +0000 (16:22 +0000)]
Merge "Add an new internal DrawableContainer to handle animation scale == 0 case." into nyc-mr1-dev

7 years agoMerge "Set DeviceLockedForUser state synchronously" into nyc-mr1-dev
Rubin Xu [Wed, 24 Aug 2016 14:23:42 +0000 (14:23 +0000)]
Merge "Set DeviceLockedForUser state synchronously" into nyc-mr1-dev

7 years agoMerge "MediaSessionService: Leave log for media key events" into nyc-mr1-dev
Jaewan Kim [Wed, 24 Aug 2016 05:34:26 +0000 (05:34 +0000)]
Merge "MediaSessionService: Leave log for media key events" into nyc-mr1-dev

7 years agoMerge "ExifInterface: Make saveAttributes throw an exception before change" into...
Sungsoo Lim [Wed, 24 Aug 2016 01:53:19 +0000 (01:53 +0000)]
Merge "ExifInterface: Make saveAttributes throw an exception before change" into nyc-mr1-dev

7 years agoMerge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 01:47:18 +0000 (01:47 +0000)]
Merge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev

7 years agoDO NOT MERGE: Don't create DocumentInfo instances in background.
Steve McKay [Tue, 23 Aug 2016 22:35:53 +0000 (15:35 -0700)]
DO NOT MERGE: Don't create DocumentInfo instances in background.

Cursor access is not threadsafe resulting in operations on incorrect files.

Bug: 30082168
Change-Id: Ib36d5b7acdee9463b6ebd2553172e5ecb4d70857

7 years agoMerge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 01:32:09 +0000 (01:32 +0000)]
Merge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev

7 years agoMediaSessionService: Leave log for media key events
Jaewan Kim [Tue, 19 Jul 2016 13:25:39 +0000 (22:25 +0900)]
MediaSessionService: Leave log for media key events

Bug: 30212915
Change-Id: I6eb523bbbce2292b6b51d538d82ef4d0a8ba23b3

7 years agoMerge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 01:21:05 +0000 (01:21 +0000)]
Merge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev

7 years agoFixing issue with toasts not showing for guest users.
Winson [Wed, 24 Aug 2016 00:12:22 +0000 (17:12 -0700)]
Fixing issue with toasts not showing for guest users.

Bug: 30001278
Change-Id: I43269da8a6c41f4fec5923aafe5a624ec75ba651

7 years agoMerge "use directory timestamp during OTA" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 00:09:18 +0000 (00:09 +0000)]
Merge "use directory timestamp during OTA" into nyc-mr1-dev

7 years agoMerge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 00:04:40 +0000 (00:04 +0000)]
Merge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev

7 years agoBump up preloading recents on boot up to user unlocked.
Winson [Tue, 9 Aug 2016 21:51:24 +0000 (14:51 -0700)]
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

7 years agoMerge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev
Makoto Onuki [Tue, 23 Aug 2016 23:44:03 +0000 (23:44 +0000)]
Merge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev

7 years agoMerge "Only sync adapters with access can see an account - framework" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 23:26:47 +0000 (23:26 +0000)]
Merge "Only sync adapters with access can see an account - framework" into nyc-mr1-dev

7 years agoDo not print misleading debug messages in some scenarios.
Jack Yu [Tue, 23 Aug 2016 23:09:36 +0000 (16:09 -0700)]
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

7 years agoMerge "Added error handling to settings suggestions list" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 22:52:31 +0000 (22:52 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-mr1-dev

7 years agouse directory timestamp during OTA
Todd Kennedy [Tue, 23 Aug 2016 22:38:26 +0000 (15:38 -0700)]
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"

7 years agoImprove logging for NightDisplayService/TwilightService
Justin Klaassen [Tue, 23 Aug 2016 19:04:42 +0000 (12:04 -0700)]
Improve logging for NightDisplayService/TwilightService

Bug: 31037341
Change-Id: Id6e5ea55f2fed93f1afdd0f61028e3329c8a43c3
(cherry picked from commit 7fba39209065eeee8fc8e8e98c44c5fcc1ca275d)

7 years agoMerge "Update light mode when battery saver changes" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 22:20:38 +0000 (22:20 +0000)]
Merge "Update light mode when battery saver changes" into nyc-mr1-dev

7 years agoAdd metrics logging for Settings -> Help & Feedback
Doris Ling [Mon, 8 Aug 2016 23:17:43 +0000 (16:17 -0700)]
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

7 years agoOnly sync adapters with access can see an account - framework
Svetoslav Ganov [Tue, 12 Jul 2016 02:32:30 +0000 (19:32 -0700)]
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

7 years agoMerge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev
Amith Yamasani [Tue, 23 Aug 2016 21:19:03 +0000 (21:19 +0000)]
Merge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev

7 years agoMerge "Do not scan system apps unless after OTA" into nyc-mr1-dev
Makoto Onuki [Tue, 23 Aug 2016 20:52:41 +0000 (20:52 +0000)]
Merge "Do not scan system apps unless after OTA" into nyc-mr1-dev

7 years agoRemove swipe-up gesture from Tuner
Jorim Jaggi [Mon, 22 Aug 2016 23:06:01 +0000 (16:06 -0700)]
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

7 years agoDon't use fullscreen theme for forced resizable info activity
Jorim Jaggi [Mon, 22 Aug 2016 23:16:43 +0000 (16:16 -0700)]
Don't use fullscreen theme for forced resizable info activity

Change-Id: I74b5443645dd532ff597d4a1773bbd5a38d71192
Fixes: 29278265

7 years agoUpdate light mode when battery saver changes
Jorim Jaggi [Tue, 23 Aug 2016 20:28:04 +0000 (13:28 -0700)]
Update light mode when battery saver changes

Change-Id: I56b309222782d823d80a66c87d30eefed2ce5dc7
Fixes: 30150232

7 years agoMerge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when...
Adam Seaton [Tue, 23 Aug 2016 20:16:34 +0000 (20:16 +0000)]
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

7 years agoDO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connec...
Tyler Gunn [Tue, 23 Aug 2016 20:16:29 +0000 (20:16 +0000)]
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

7 years agoMerge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev
Adrian Roos [Tue, 23 Aug 2016 20:16:23 +0000 (20:16 +0000)]
Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev
am: e1f32de996

Change-Id: If4171cbb2247cb8bc8f0e4e92f94724bf9ba238e

7 years agoAmbient: Pulse for every noisy notification exactly once
Adrian Roos [Tue, 23 Aug 2016 20:16:17 +0000 (20:16 +0000)]
Ambient: Pulse for every noisy notification exactly once
am: 97de2b2666

Change-Id: I4ae78e6f4ec4d3652f7f6eefc0cd72d3e881ea89

7 years agoMerge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when...
Adam Seaton [Tue, 23 Aug 2016 20:07:26 +0000 (20:07 +0000)]
Merge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held." into nyc-dr1-dev

7 years agoMerge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 20:07:10 +0000 (20:07 +0000)]
Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-dr1-dev

7 years agoMerge "Add installer app check in PM.deletePackage." into nyc-mr1-dev
Sudheer Shanka [Tue, 23 Aug 2016 19:39:58 +0000 (19:39 +0000)]
Merge "Add installer app check in PM.deletePackage." into nyc-mr1-dev

7 years agoOnly allow focused window to select seamless rotation.
Robert Carr [Tue, 23 Aug 2016 19:31:27 +0000 (19:31 +0000)]
Only allow focused window to select seamless rotation.
am: 066d94f6df

Change-Id: I22360bd2d0182276c68ed3e300073edf390ffcfa

7 years agoDon't complain about sender of MASTER_CLEAR
Amith Yamasani [Tue, 23 Aug 2016 19:26:25 +0000 (12:26 -0700)]
Don't complain about sender of MASTER_CLEAR

Make an exception for MASTER_CLEAR broadcast when checking for
non-protected broadcasts being sent by system uid; Settings app in
this case.

Change-Id: I296404faf2be03601f8f937b96d3e2f70c0e816d
Fixes: 30891377

7 years agoDO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connec...
Tyler Gunn [Wed, 17 Aug 2016 20:48:27 +0000 (13:48 -0700)]
DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held.

Note: This is different than the existing EVENT_ON_HOLD_TONE_START
and EVENT_ON_HOLD_TONE_END events, which trigger playing a hold tone for
remotely held calls.  Those events also take into account whether the call
is foreground/background; it is left as a future exercise to clean that
up.

Bug: 30349182
Change-Id: I919365d243ae3b9fe56454c7a2b9d5805b2c03a2
(cherry picked from commit b5ed860de71fe165af63b4255da25d0295abaa69)

7 years agoMerge "Made background updater more robust to state changes" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 18:55:45 +0000 (18:55 +0000)]
Merge "Made background updater more robust to state changes" into nyc-mr1-dev

7 years agoMerge "Avoid weird expand animation when a notification is updated" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 18:53:20 +0000 (18:53 +0000)]
Merge "Avoid weird expand animation when a notification is updated" into nyc-mr1-dev

7 years agoNo need to check package name
Todd Kennedy [Tue, 23 Aug 2016 17:39:01 +0000 (17:39 +0000)]
No need to check package name
am: ef8d8ea24a

Change-Id: Idd8b189070e3e5920cd1b9d12a8ba282de44d11a

7 years agoOnly allow focused window to select seamless rotation.
Robert Carr [Mon, 22 Aug 2016 20:32:34 +0000 (13:32 -0700)]
Only allow focused window to select seamless rotation.

We require apps to opt in to seamless rotation. If a dialog or some such
has popped up above them, the dialog may not be prepared to rotate
seamlessly and we should just fall back to the old behavior for now.

Bug: 30968345
Change-Id: Ib9a7352ed84d41076bdd162bf38d151b053a307e
(cherry picked from commit 828ec3dc518bfeff9cb9205e40652419e9c59443)

7 years agoDO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support am: 3275a3a5a5...
Julius D'souza [Tue, 23 Aug 2016 17:11:39 +0000 (17:11 +0000)]
DO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support am: 3275a3a5a5  -s ours am: d5bf4039a9  -s ours am: b2507eb7b7  -s ours
am: 027f685296  -s ours

Change-Id: Ibc3e2a639ecc8a9b49d899ae6298761dabbd2032

7 years agoMerge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-dr1-dev
Sailesh Nepal [Tue, 23 Aug 2016 17:11:35 +0000 (17:11 +0000)]
Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-dr1-dev
am: 74de00a62c

Change-Id: Ibf1283af6133ccd43f75f361fe9a821e87668773

7 years agoAdd carrier regex config values for VisualVoicemailSmsFilter
Ta-wei Yen [Tue, 23 Aug 2016 17:11:27 +0000 (17:11 +0000)]
Add carrier regex config values for VisualVoicemailSmsFilter
am: 9a107a2df0

Change-Id: Ie71269986f671ee8d773665107e5504f905da769

7 years agoNo need to check package name
Todd Kennedy [Mon, 22 Aug 2016 22:44:00 +0000 (15:44 -0700)]
No need to check package name

Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4
Fixes: 30958291
(cherry picked from commit afb5269ad6a507a3230b519b3156ac0bcc5fc3a0)

7 years agoDO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support am: 3275a3a5a5...
Julius D'souza [Tue, 23 Aug 2016 17:08:33 +0000 (17:08 +0000)]
DO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support am: 3275a3a5a5  -s ours am: d5bf4039a9  -s ours
am: b2507eb7b7  -s ours

Change-Id: I73d049d6855b9cd9420a194bda7079adc2283bb0

7 years agoMerge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-dr1-dev
Sailesh Nepal [Tue, 23 Aug 2016 17:00:30 +0000 (17:00 +0000)]
Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-dr1-dev

7 years agoDO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support am: 3275a3a5a5...
Julius D'souza [Tue, 23 Aug 2016 16:52:24 +0000 (16:52 +0000)]
DO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support am: 3275a3a5a5  -s ours
am: d5bf4039a9  -s ours

Change-Id: I4f1a0acabe5d5385af086791b906ff6f45424e59

7 years agoDO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support
Julius D'souza [Tue, 23 Aug 2016 16:45:41 +0000 (16:45 +0000)]
DO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support
am: 3275a3a5a5  -s ours

Change-Id: Iaae7763a4d744ad8a63538750c5ed3efe38161d5

7 years agoMerge "AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set" into nyc...
TreeHugger Robot [Tue, 23 Aug 2016 16:39:44 +0000 (16:39 +0000)]
Merge "AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set" into nyc-mr1-dev

7 years agoMerge "Ambient: Pulse for every noisy notification exactly once" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 16:38:17 +0000 (16:38 +0000)]
Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-mr1-dev

7 years agoMerge "add workaround for annotations dependency conflict with espresso" into nyc...
Scott Main [Tue, 23 Aug 2016 15:56:15 +0000 (15:56 +0000)]
Merge "add workaround for annotations dependency conflict with espresso" into nyc-dev am: 77917a835f
am: f8a0cb2964

Change-Id: Ifff17568fd5ac67443fa7cfbbb0526f0b16b3c34

7 years agoadd workaround for annotations dependency conflict with espresso am: eee3518d11
smain@google.com [Tue, 23 Aug 2016 15:56:14 +0000 (15:56 +0000)]
add workaround for annotations dependency conflict with espresso am: eee3518d11
am: 349edcf169

Change-Id: I178c7bc7c2639559e8b4848f1a2af0bcdffcc849

7 years agoAmbient: Pulse for every noisy notification exactly once
Adrian Roos [Mon, 22 Aug 2016 13:31:38 +0000 (15:31 +0200)]
Ambient: Pulse for every noisy notification exactly once

Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875

7 years agoMerge "add workaround for annotations dependency conflict with espresso" into nyc-dev
Scott Main [Tue, 23 Aug 2016 15:47:18 +0000 (15:47 +0000)]
Merge "add workaround for annotations dependency conflict with espresso" into nyc-dev
am: 77917a835f

Change-Id: Ibc54a5b58aad47a49bf5cb5a69ae3ddf461ccd15

7 years agoadd workaround for annotations dependency conflict with espresso
smain@google.com [Tue, 23 Aug 2016 15:47:15 +0000 (15:47 +0000)]
add workaround for annotations dependency conflict with espresso
am: eee3518d11

Change-Id: I05f1b9063433e060427f627c46aab64972fe45cf

7 years agoAdd carrier regex config values for VisualVoicemailSmsFilter
Ta-wei Yen [Fri, 19 Aug 2016 18:43:15 +0000 (11:43 -0700)]
Add carrier regex config values for VisualVoicemailSmsFilter

Verizon requires all SMS that starts with "//VZWVVM" to be treated
as a VVM SMS.

EXTRA_VOICEMAIL_SMS_MESSAGE_BODY is also added to VociemailContract
to send the message body of a SMS that matches the carrier regex but
is not parsable.

Bug: 30954955
Change-Id: Ib5449164a5290b132648cc28b1e1d3d9ddd5fea0
(cherry picked from commit ad31603b80e13e914ff4c3a41b5c04558d04d3ca)

7 years agoMerge "add workaround for annotations dependency conflict with espresso" into nyc-dev
Scott Main [Tue, 23 Aug 2016 15:42:01 +0000 (15:42 +0000)]
Merge "add workaround for annotations dependency conflict with espresso" into nyc-dev

7 years agoMerge "Documentation warning against short-lived Contexts" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 14:07:11 +0000 (14:07 +0000)]
Merge "Documentation warning against short-lived Contexts" into nyc-mr1-dev

7 years agoMerge "Handle null packageName in PendingIntentRecord" into nyc-mr1-dev
Rubin Xu [Tue, 23 Aug 2016 13:00:33 +0000 (13:00 +0000)]
Merge "Handle null packageName in PendingIntentRecord" into nyc-mr1-dev

7 years agoMerge "Not longer need MANAGE_DEVICE_ADMINS permission." into nyc-mr1-dev
Rubin Xu [Tue, 23 Aug 2016 12:59:16 +0000 (12:59 +0000)]
Merge "Not longer need MANAGE_DEVICE_ADMINS permission." into nyc-mr1-dev

7 years agoMerge "Force application context for KeyChain bindings" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 12:49:56 +0000 (12:49 +0000)]
Merge "Force application context for KeyChain bindings" into nyc-mr1-dev

7 years agoDocumentation warning against short-lived Contexts
Robin Lee [Fri, 12 Aug 2016 11:46:28 +0000 (12:46 +0100)]
Documentation warning against short-lived Contexts

It's better to use an Application Context rather than hoping the
activity won't be destroyed in another thread (because it will).

Change-Id: I9bf842d0d7dbedcc509a4a314d23a9a6cfca4d48
Fix: 29873669

7 years agoAppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set
Adrian Roos [Tue, 23 Aug 2016 12:26:39 +0000 (14:26 +0200)]
AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set

Change-Id: Ie6013013ff4e23e51e471e97d15e113cc759657e
Fixes: 30929056

7 years agoAmbient: Pulse for every noisy notification exactly once
Adrian Roos [Mon, 22 Aug 2016 13:31:38 +0000 (15:31 +0200)]
Ambient: Pulse for every noisy notification exactly once

Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875

7 years agoMerge "HIC: Improve AccelerationClassifier" into nyc-dr1-dev
Adrian Roos [Tue, 23 Aug 2016 10:30:19 +0000 (10:30 +0000)]
Merge "HIC: Improve AccelerationClassifier" into nyc-dr1-dev
am: 06165f534f

Change-Id: I9bf58eefc326cd4ce67f38b8467d49e17be409d2

7 years agoHIC: Improve AccelerationClassifier
Adrian Roos [Tue, 23 Aug 2016 10:30:18 +0000 (10:30 +0000)]
HIC: Improve AccelerationClassifier
am: 4dc14b231e

Change-Id: I8bec656ec5cea3ec94b0bb0baada236162106df5

7 years agoMerge "HIC: Improve AccelerationClassifier" into nyc-dr1-dev
Adrian Roos [Tue, 23 Aug 2016 10:22:22 +0000 (10:22 +0000)]
Merge "HIC: Improve AccelerationClassifier" into nyc-dr1-dev

7 years agoRefactor NetworkNotificationManager.
Lorenzo Colitti [Tue, 23 Aug 2016 09:37:52 +0000 (09:37 +0000)]
Refactor NetworkNotificationManager.
am: 0b59906768

Change-Id: I0084400264ccfc352f50e58acda9b8e056dbf766

7 years agoMove notification code out of ConnectivityService.
Lorenzo Colitti [Tue, 23 Aug 2016 09:37:12 +0000 (09:37 +0000)]
Move notification code out of ConnectivityService.
am: f3ae2eeae4

Change-Id: I06cf2f70bc466c7cf03db246ec49f728b6881300

7 years agoRefactor NetworkNotificationManager.
Lorenzo Colitti [Mon, 22 Aug 2016 13:36:19 +0000 (22:36 +0900)]
Refactor NetworkNotificationManager.

1. Move from deprecated network types to transport types.
2. Rename and simplify (by passing in a NetworkAgentInfo object)
   the call signature of the method that displays notifications.
3. Add a method to clear notification, and unindent lots of code.
4. Move the legacy DcTracker-issued notification code to
   NetworkNotificationManager.

Bug: 31025214
Change-Id: Ie49c60126d0ed5bac620bc47e84fe038791b2d6c