Commit Graph

252839 Commits

Author SHA1 Message Date
Alan Viverette
66b3a0d1aa Avoid potential re-entry as a result of child mutation
Don't set the callback until we're all done making changes.

Bug: 30902893
Change-Id: Ia1560692a83ecb2c50f5e77fa4d1e8155a78a204
(cherry picked from commit b46ba3b2b0)
2016-08-22 20:00:30 +00:00
TreeHugger Robot
156d897f2e Merge "telephony/roam: Do not show roaming icon for Videotron SIM camped on Canada network" into nyc-mr1-dev 2016-08-22 19:44:35 +00:00
Sanket Padawe
914354f334 Merge "Fix roam icon issues in Austria" into nyc-mr1-dev 2016-08-22 19:10:23 +00:00
Dirk Dougherty
79d9e9df2e Doc change: intl page updates for final n release.
am: e816f1f542

Change-Id: I15a51ee5bdb78d6d2394a95e27cc6ddca5034960
2016-08-22 18:57:53 +00:00
Julius D'souza
3275a3a5a5 DO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support
Bug: 18572096

Change-Id: Ie0ff1990b8f4a3d435328834871f04a6e2bd5e97
2016-08-22 11:40:03 -07:00
fionaxu
d0a7649f53 redact PII only for non-null value and apply SHA-1
Bug: 30073833
Change-Id: Iec311ba27dfd07c52df4a05cf89a566994f66ba9
2016-08-22 11:36:16 -07:00
Teng-Hui Zhu
d64255f61d Update the javaDoc for VectorDrawable and AnimatedVectorDrawable
b/30269243

Change-Id: I139a3fcac95c41a667fa06aa3223b812caad6243
(cherry picked from commit c224417511)
2016-08-22 18:32:09 +00:00
Fan Zhang
c10db985f3 Update navup button content description when it's menu.
Bug: 30090247
Change-Id: I2ff9529a3dd5f197f2d142ef2993d5d8e90b5645
(cherry picked from commit df915bbbb9)
2016-08-22 18:32:00 +00:00
Kevin Gabayan
52745e12a9 DO NOT MERGE ANYWHERE: Restore AnyMotionDetector angle threshold of 0.1 degree on Wear
Bug: 26385112

This threshold has previously been 0.1 degrees and somehow has taken
on the phone threshold of 2.0 degrees, likely by over-merging.

Change-Id: I6201cfa74b7901a958a1cd9d7d35a5b6f56d9870
2016-08-22 11:29:50 -07:00
Chris Tate
56ce19099d Merge "Fix wallpaper backup eligibility test" into nyc-dr1-dev 2016-08-22 18:28:06 +00:00
Sungmin Choi
fd80d5482a telephony/roam: Do not show roaming icon for Videotron SIM camped on Canada network
Canada Videotron roaming requirement
Bug: 29842007
Change-Id: I5cbbab906ef7e3f3f7e34fadf58c1c730d4440fe
2016-08-22 11:16:56 -07:00
TreeHugger Robot
f9f8e82045 Merge "Make sure surface control is really valid before giving it to client" into nyc-mr1-dev 2016-08-22 18:04:27 +00:00
Raph Levien
e7ab3e1650 Merge "Update lint check to accommodate new emoji sequences" into nyc-mr1-dev 2016-08-22 17:54:46 +00:00
Adam Powell
64e1ba4398 Only dispatch window visibility aggregation for targetSdk >= N
Some existing apps treat drawable visibility notifications as a signal
to crossfade from a placeholder to the new image for the purposes of
scrolling onscreen via a recycling collection view or similar. Since
dispatchVisibilityAggregated is now called for window visibility
changes and ImageView informs its drawable of the visiblity change,
the extra call triggers a repeat fade-in in some existing apps when
you return them to visibility.

These apps should pay attention to the second parameter of
Drawable#setVisible, which signals that animations should not restart
in response to a visibility change. Updating to targetSdkVersion=24+
will enable the new behavior.

Bug 30216207

Change-Id: I27ce9f09bc7544863f7f7980c273650949db21cc
2016-08-22 17:47:09 +00:00
Randy Pan
dd056b9422 Merge "Deprecate QNS network disable reason BAD_LINK" into nyc-mr1-dev 2016-08-22 17:23:48 +00:00
Makoto Onuki
8b47748b9c Merge "Off-load unlocking users onto a worker thread" into nyc-mr1-dev 2016-08-22 17:15:03 +00:00
Chong Zhang
7581cddf25 Make sure surface control is really valid before giving it to client
Checking mSurfaceControl!=null is not enough to ensure the surface is
valid. tryStartExitingAnimation() could destroy/save the surface before
app is stopped, if it decided the surface is no longer needed.

Use WSA.hasSurface() to check if the surface control is really valid.

bug: 30766796
Change-Id: I7724f1929d4ebc3f9a7a3b19eec638d7a7d7b910
2016-08-22 09:44:35 -07:00
Raph Levien
0790ac68bc Update lint check to accommodate new emoji sequences
These are not yet ready for updating in the unicode data, so we patch
them in code until they are.

Bug: 30594617
Change-Id: Ib4c8568aa4840341474eb0c0c95674d640473f4d
(cherry picked from commit 2b8b819fee)
2016-08-22 16:26:24 +00:00
TreeHugger Robot
a6ec65edab Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 15:56:32 +00:00
TreeHugger Robot
8aea3746cd Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 15:56:11 +00:00
TreeHugger Robot
c341e0b571 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 15:55:48 +00:00
TreeHugger Robot
7a944b3e5c Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 15:55:26 +00:00
Adrian Roos
4dc14b231e HIC: Improve AccelerationClassifier
Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184
(cherry picked from commit 6b312a09fc)
2016-08-22 13:41:39 +00:00
Dirk Dougherty
e816f1f542 Doc change: intl page updates for final n release.
Change-Id: I11445717cf49438ba5a04b50245209161740d4b0
2016-08-22 01:13:59 -07:00
Adam Seaton
051d6b74eb Merge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Prevent FIFO threads from creating more FIFO threads." into nyc-dr1-dev 2016-08-22 04:39:01 +00:00
Adam Seaton
ad1008d089 Merge "DO NOT MERGE ANYWHERE:AudioSystem: Verify audio port array information" into nyc-dr1-dev 2016-08-22 04:29:18 +00:00
Erik Kline
e845cf22c1 Merge "Ensure known good state when starting." into nyc-mr1-dev 2016-08-22 02:55:41 +00:00
Daichi Hirono
b7573e93cd Set Root.FLAG_LOCAL_ONLY for MTP roots.
The flag indicate whether the root needs network access or not. MTP
should be LOCAL_ONLY root.

Bug: 30867267

Change-Id: Ia272d4a389cc1ca628d7b963caa37f3dbb6747e3
(cherry picked from commit 83c679e722)
2016-08-22 01:24:53 +00:00
Adam Seaton
0f1e7ab1d3 Merge "DO NOT MERGE ANYWHERE:Fix NPE during Activity transition using wrong Activity." into nyc-dr1-dev 2016-08-21 21:18:05 +00:00
Sailesh Nepal
5647c93e9e Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev 2016-08-21 13:40:02 +00:00
Tim Murray
d72b26085c DO NOT MERGE ANYWHERE (nyc-dr1-dev) Prevent FIFO threads from creating more FIFO threads.
SCHED_FIFO threads shouldn't be able to arbitrarily create more
SCHED_FIFO threads.

bug 30898724

Change-Id: I3704b47b88b573313e9b1610556648c8595d4108
(cherry picked from commit 38ee337f45)
2016-08-20 23:48:24 +00:00
Andy Hung
05a1df9967 DO NOT MERGE ANYWHERE:AudioSystem: Verify audio port array information
Bug: 30737845
Change-Id: Id092086862bc527fccc5e9f34c8a3ab16167ae92
(cherry picked from commit 737d9fb181)
2016-08-20 22:52:28 +00:00
George Mount
c9373e5505 DO NOT MERGE ANYWHERE:Fix NPE during Activity transition using wrong Activity.
Bug 30786309

If the Activity used in makeSceneTransitionAnimation isn't
the same one used in the startActivity call, a NullPointerException
could be thrown.

Change-Id: Id21c54fcf99b353feab62f7fc160997ed06e7d23
(cherry picked from commit 3289bfa289)
(cherry picked from commit a3edbf6a5d)
2016-08-20 22:37:45 +00:00
Todd Kennedy
bab7c28e5e DO NOT MERGE ANYWHERE: Release mPackages lock earlier
We cannot hold mPackages when calling into generatePackageDexopts().
This method takes Package Manager's mInstallLock. By holding mPackages,
we have lock inversion and hilarity ensues.

Change-Id: Ia11a158677051e3511702f38cde6780e75b256fb
Fixes: 30927731
(cherry picked from commit a8d4f48997)
2016-08-20 22:30:18 +00:00
Sanket Padawe
0cc68dbf29 If Vodafone Italy sim is in Spain consider it as roaming on Spain nw.
+ When Vodafone Italy sim (mccmnc = 22210) is roaming in Spain on any
  network, consider it to be roaming.

Bug: 29493858
Change-Id: I7ab1576012ab72a96e366c0ff1bcdf894a9e64de
2016-08-20 11:03:06 -07:00
Sungmin Choi
f8912fc489 Fix roam icon issues in Austria
Bug: 30026376
Bug: 30026566
Change-Id: I08aaaa9e461009bc6d10f80ca3a9dc3940a98728
2016-08-20 10:13:31 -07:00
Dirk Dougherty
b78a9bc5fe Doc change: updates for final N landing page and related resources.
am: b0ca00431f

Change-Id: Ie9aee46ce91c20c520ff6e96431e3fb7dcb6bbf1
2016-08-20 06:02:10 +00:00
Felipe Leme
7d13fe76be Merge "DO NOT MERGE ANYWHERE" into nyc-mr1-dev
am: 1ae521df6a  -s ours

Change-Id: Ia6895c898e6757d51e8c7a2e2bfe9351a2413198
2016-08-20 03:50:45 +00:00
Felipe Leme
d1804677b7 DO NOT MERGE ANYWHERE
am: a11d02477e  -s ours

Change-Id: I1f87807080dd9888a80e694c95421b2b0ee7c3f2
2016-08-20 03:50:43 +00:00
TreeHugger Robot
1ae521df6a Merge "DO NOT MERGE ANYWHERE" into nyc-mr1-dev 2016-08-20 03:25:36 +00:00
Dirk Dougherty
b0ca00431f Doc change: updates for final N landing page and related resources.
Change-Id: Ieeb3dd74a889d6c0118e4ca8575abdaddcde7e73
2016-08-19 19:38:47 -07:00
Bill Yi
f71553f601 Import translations. DO NOT MERGE
Change-Id: Ia17ddfff5af4a429ba213f34a5298fdf43b584d5
Auto-generated-cl: translation import
2016-08-19 18:36:00 -07:00
Bill Yi
8ac0dbea72 Import translations. DO NOT MERGE
Change-Id: I70e3e40079070238efae9b6b7aa8625395d5b9da
Auto-generated-cl: translation import
2016-08-19 18:33:08 -07:00
Bill Yi
225d865289 Import translations. DO NOT MERGE
Change-Id: I6533c97bd143d63e3ddaa5ef7d86edcbe1dbb611
Auto-generated-cl: translation import
2016-08-19 18:06:27 -07:00
Bill Yi
653c88ed61 Import translations. DO NOT MERGE
Change-Id: I454be35982766518b1292b8b62d6f613205ca02e
Auto-generated-cl: translation import
2016-08-19 17:38:54 -07:00
Nick Vaccaro
7510fbbcd0 Fix some potential power-draining race conditions
Fixed some race conditions around wakelock and sensor control, which
if hit, would have left a sensor enabled when thought to be disabled
or possibly released a wakelock it didn't intend to release.

Bug: 30262052
Change-Id: Ieae26b2a2a7731ad299cd2c2426676295ffa768e
2016-08-19 17:26:58 -07:00
Shunta Sato
13825ea1af Merge "DO NOT MERGE: Don't delete source file when a move opration is canceled" into nyc-mr1-dev
am: d4f39096dd

Change-Id: I63d68d3e3c208ceefbc1254bfdec3bc7c3f41550
2016-08-20 00:25:06 +00:00
Shunta Sato
4024460305 DO NOT MERGE: Don't delete source file when a move opration is canceled
am: 682d370390

Change-Id: I22b980489abe69675fe05d166576dfdbd1bd5c64
2016-08-20 00:25:03 +00:00
TreeHugger Robot
d4f39096dd Merge "DO NOT MERGE: Don't delete source file when a move opration is canceled" into nyc-mr1-dev 2016-08-20 00:19:47 +00:00
Christopher Tate
f7d1b5de6e Fix wallpaper backup eligibility test
Bug 30970354
Bug 30938483

Change-Id: I3c933a80505238897ceb8e89c228ed48ee5a9d0e
2016-08-19 16:40:09 -07:00