Commit Graph

246497 Commits

Author SHA1 Message Date
Hugo Benichi
25bf8f5d56 Various fixes in IpReachability event logging
- fold IpReachabilityMonitor* classes into a single IpReachabilityEvent.
- only log an event for NUD_FAILED Netlink answers.
- distinguish between NUD_FAILED with or without lost of provisioning.
- do not record host ip addresses.
- record interface name instead of interface index when losing
  provisioning.

- also return an error code when probeNeighbor fails, and log this error
  code in IpReachability events.

Bug: 28204408
Change-Id: I5f0def0ab1ace7e467a0c69b3b82d07ef2252307
2016-04-21 09:18:50 +09:00
Philip P. Moltmann
50a871857d Merge "Print API for N: Fix docs and change interfaces as requested." into nyc-dev 2016-04-21 00:17:48 +00:00
TreeHugger Robot
1fa356289e Merge "Disallow changing stacks if top activity" into nyc-dev 2016-04-21 00:11:50 +00:00
Vladislav Kaznacheev
1a5cc60b39 Merge "Add JavaDoc for View.updateDragShadow" into nyc-dev
am: 2860936

* commit '28609360cfe25446ab5b0ba165af363378b3d805':
  Add JavaDoc for View.updateDragShadow

Change-Id: I9aa23cafbeedf21e2cbca4e84adc0b424f7cfec0
2016-04-21 00:11:28 +00:00
Robert Carr
63278b4ebe Merge "Prevent recents from closing while moving PiP to fullscreen." into nyc-dev
am: abadeba

* commit 'abadeba99afbb1d80a38b396407822c96c7e3706':
  Prevent recents from closing while moving PiP to fullscreen.

Change-Id: I97fa47524a1c78aa637fee4d6a086dec966698e7
2016-04-21 00:11:27 +00:00
Suprabh Shukla
2537c274e1 Merge "Removing disk access from startActivity thread" into nyc-dev
am: 6c0ead9

* commit '6c0ead993e48f6e260972171b1187ef77b6094fb':
  Removing disk access from startActivity thread

Change-Id: I7f62940ac1b51109f8804cc92c56dcd2b755340f
2016-04-21 00:03:13 +00:00
Eino-Ville Talvala
896a1a42f7 Merge "Camera2: Ignore exception on double-completed capture sequences." into nyc-dev
am: 5856779

* commit '5856779c3a3e00e256cdf5cb571a85975d781cf4':
  Camera2: Ignore exception on double-completed capture sequences.

Change-Id: Ie22c0bbdc83cba529bf521ebaef3349a5e22b976
2016-04-21 00:03:11 +00:00
TreeHugger Robot
28609360cf Merge "Add JavaDoc for View.updateDragShadow" into nyc-dev 2016-04-21 00:02:08 +00:00
Rob Carr
abadeba99a Merge "Prevent recents from closing while moving PiP to fullscreen." into nyc-dev 2016-04-21 00:00:09 +00:00
Yohei Yukawa
46ac35d09b Accept null subtype in InputMethodSubtypeHandle.
There are two types of IMEs:
 A. IMEs that have one or more subtypes
 B. IMEs that have no subtype

The initial implementation to update hardware keyboard layout per
subtype change of layout (See Bug 25752812) has supported IMEs in the
category A only, and IMEs in the category B are just ignored in both
system and Settings app.

In order to support IMEs in the category B, InputMethodSubtypeHandle and
related methods need to accept null InputMethodSubtype. Technically
this is a straightforward change, because in InputMethodManagerService
we have already used InputMethodUtils.NOT_A_SUBTYPE_ID for those IMEs in
the category B.  We also need to update Setting App, which will be done
by a different CL [1].

  [1]: I46b9c5b018f08e3eaa4614a0893db0be91652f3c

Bug: 28182650
Change-Id: Ia013784a594ad3beaf30976d047f5ac0fa8185be
2016-04-20 16:59:45 -07:00
TreeHugger Robot
6c0ead993e Merge "Removing disk access from startActivity thread" into nyc-dev 2016-04-20 23:58:03 +00:00
Eino-Ville Talvala
5856779c3a Merge "Camera2: Ignore exception on double-completed capture sequences." into nyc-dev 2016-04-20 23:55:11 +00:00
Jim Miller
b5383455b6 Fix missing permission check when saving pattern/password
Fixes bug 28163930

Change-Id: Ic98ef20933b352159b88fdef331e83e9ef6e1f20
2016-04-20 16:54:18 -07:00
Jorim Jaggi
7b4583974c Fix IME adjust in SysUI
- Make sure scale is correct.
- Adjust interpolator to match WindowManager.

Bug: 28175599
Change-Id: Ica94b3dbac2fcc6e4b8a75faa311fb7861071ccc
2016-04-20 23:51:42 +00:00
Shreyas Basarge
b0c83ec062 Fix logspam by JobInfo
Print interval clamp message
only for periodic jobs having
period/flex less than the minimum value.

Bug: 28296128
Change-Id: Id0d7c3b56048582a490bb8214eca491ec2bbdc93
2016-04-21 00:44:58 +01:00
Adrian Roos
e93ff33338 Merge "Fix inline reply clobbering when narrowly missing send button" into nyc-dev
am: 75fe7d5

* commit '75fe7d5d791d8372af9d2e11a50287e6119a9780':
  Fix inline reply clobbering when narrowly missing send button

Change-Id: I61f9303383937030750edd95eee11862b59e8447
2016-04-20 23:44:54 +00:00
Eric Laurent
9656df2b2e AudioManager: fix isBluetoothA2dpOn()
Test all A2DP type variants when checking if an A2DP device is connected
in isBluetoothA2dpOn().

Bug: 28286051
Change-Id: I756d632b12d584d8a27cc1890e758d8accff7120
2016-04-20 16:42:28 -07:00
TreeHugger Robot
75fe7d5d79 Merge "Fix inline reply clobbering when narrowly missing send button" into nyc-dev 2016-04-20 23:39:52 +00:00
Wale Ogunwale
1f19261527 Exclude IME dialogs from tap outside task bounds funcationality
We don't want tapping on these windows to cause a change in app
focus.

Bug: 28184155
Change-Id: Ibd4ca15b2154c2e83a11f4a2a3edb4356cbfbfed
2016-04-20 16:33:36 -07:00
Felipe Leme
10dcbecd8c Merge "Set BugreportProgressService to run on foreground." into nyc-dev
am: 3053c3f

* commit '3053c3f2a94b24ceeed9c46cb84045c285d3523b':
  Set BugreportProgressService to run on foreground.

Change-Id: Ib5b92dfcaf3dca5710abc19f261fed8017fcae1f
2016-04-20 23:33:28 +00:00
TreeHugger Robot
3053c3f2a9 Merge "Set BugreportProgressService to run on foreground." into nyc-dev 2016-04-20 23:23:11 +00:00
Cheryl Potter
b8f834d7a8 Merge "docs: Small edits to Vector Asset Studio Support Library support b/28199128" into mnc-mr-docs
am: 0a67c6a

* commit '0a67c6abd579605f2b11b92072d4e7552f70c7e5':
  docs: Small edits to Vector Asset Studio Support Library support b/28199128

Change-Id: Idb825df3824d43663b7824b1689abbdcf0279bdc
2016-04-20 23:04:36 +00:00
Adam Lesinski
4892e3e1d9 Merge "ResourcesManager: Throw exception if failed to load asset path" into nyc-dev
am: 1362ae0

* commit '1362ae062a196c8450a0b649dd0c5af66d1f05a1':
  ResourcesManager: Throw exception if failed to load asset path

Change-Id: I01276ec237130b9d49bc46a9e2b7b29e08aa5922
2016-04-20 22:56:11 +00:00
Cheryl Potter
0a67c6abd5 Merge "docs: Small edits to Vector Asset Studio Support Library support b/28199128" into mnc-mr-docs 2016-04-20 22:54:49 +00:00
Adrian Roos
70dcf8392c A11y: Fix battery icon and clock descriptions
Now announces charging state on the battery icon
and AM/PM on the clock.

Change-Id: Ib8d249e60b555834e5e224287ea332178ce7c165
Fixes: 27552350
2016-04-20 15:51:59 -07:00
Adam Lesinski
1362ae062a Merge "ResourcesManager: Throw exception if failed to load asset path" into nyc-dev 2016-04-20 22:46:05 +00:00
Joe Onorato
5719028766 If a crash dialog can't be shown, just kill the process.
scheduleCrash() calls into the app process to ask it to nicely show
the crash dialog. If that call fails, rather than just silently
stopping, kill the process right away. It might be out of control.

This also adds an additional check for killedByAm to the flow there
so if the activity manager already has killed it, the dialog won't
be shown.

Bug: 28196243
Change-Id: I979f01074e5890640e7b06e29eeb0d6c38803569
2016-04-20 15:40:18 -07:00
Jorim Jaggi
4ad9856eb8 Disallow changing stacks if top activity
When we attach an activity to an existing
task, and that task is already on top,
disallow changing stacks altogether even
if launch stack id is set.

Bug: 28026847
Change-Id: Ie70f0585a29dc1b85a5093624fede32110be3c76
2016-04-20 22:39:12 +00:00
Lifu Tang
77422649f1 Merge "Added defensive code to prevent system crash" into nyc-dev
am: a381455

* commit 'a381455472a814c8dbd98fcb4312f46ed1373c88':
  Added defensive code to prevent system crash

Change-Id: I7a48940b04b3033ab2c5e0f370098749e4fdd8fd
2016-04-20 22:30:53 +00:00
Lifu Tang
4eb3607eb8 Merge "Fixed bug in upgrading GpsMeasurement" into nyc-dev
am: e1b5171

* commit 'e1b51715bdd1d59913ef4cb83071ef8eaac968de':
  Fixed bug in upgrading GpsMeasurement

Change-Id: I89d094509612073a7e7e046db48f896a653d42a9
2016-04-20 22:30:52 +00:00
Suprabh Shukla
dc4b80dde4 Removing disk access from startActivity thread
Code was checking whether the directory for recent_images existed in
many places unnecessarily causing StrictMode violations. Moved the
code to only attempt to check and create the directory before
actually writing to disk.

Bug: b/28195831
Change-Id: I05f77a10f1dafc8cc0b1836b62352d56549ac1ee
2016-04-20 15:27:42 -07:00
Lifu Tang
a381455472 Merge "Added defensive code to prevent system crash" into nyc-dev 2016-04-20 22:19:19 +00:00
Lifu Tang
e1b51715bd Merge "Fixed bug in upgrading GpsMeasurement" into nyc-dev 2016-04-20 22:19:05 +00:00
Christopher Tate
a767ce6a86 Merge "Don\'t back up wallpapers that we\'ve been told not to" into nyc-dev
am: 665189f

* commit '665189f92646d34bf02082120cba3c62aa718770':
  Don't back up wallpapers that we've been told not to

Change-Id: I60eb02a9b1ab8da966d964c62a6dccf52d873e94
2016-04-20 22:13:08 +00:00
Christopher Tate
e3e398f196 resolve merge conflicts of 44e07e0 to mnc-dev am: 825b713 am: 8c635e7 am: 343600c am: b965ced -s ours
am: 129c01a

* commit '129c01af82df8560f9db9c990651e54689e55274':
  Kill the real/isolated uid group, not the ApplicationInfo uid

Change-Id: I52a5a34af6acb17d63ae43ac999609de6994be88
2016-04-20 22:13:07 +00:00
Chris Tate
665189f926 Merge "Don't back up wallpapers that we've been told not to" into nyc-dev 2016-04-20 22:10:40 +00:00
Christopher Tate
129c01af82 resolve merge conflicts of 44e07e0 to mnc-dev am: 825b713 am: 8c635e7 am: 343600c
am: b965ced  -s ours

* commit 'b965ced011bdd7a3ec5450f93d1c58b889514f11':
  Kill the real/isolated uid group, not the ApplicationInfo uid

Change-Id: Idf9a9824d411ca2b178fadda040f46864bc96a58
2016-04-20 22:09:28 +00:00
Eino-Ville Talvala
7e71896561 Camera2: Ignore exception on double-completed capture sequences.
As a workaround for b/27870771, convert fatal exception into a
warning.

Duplicate calls to finishPendingSequence with the same sequenceId
are seen in user crash reports, but with no further context and
inability to reproduce after testing various hypothesis, just
warn about it happening.

Bug: 27870771
Change-Id: Icd7d408887e04b94092689ce61809d6c664d8e3a
2016-04-20 15:05:40 -07:00
Alex Light
20ed24fc0c Make fake libart for misbehaving apps be loaded.
Bug: 27775991
Change-Id: Ie4eba211e876ec0643ce6ecf6a110f3cb5e0f57e
2016-04-20 15:02:36 -07:00
Christopher Tate
b965ced011 resolve merge conflicts of 44e07e0 to mnc-dev am: 825b713 am: 8c635e7
am: 343600c

* commit '343600c3ecff31826e50d40821927e446adb9b0a':
  Kill the real/isolated uid group, not the ApplicationInfo uid

Change-Id: I68dbf8f280672ec9770b6c57b9a17313f448e14a
2016-04-20 21:48:43 +00:00
Ta-wei Yen
3f9306fe84 Rename _BOOLEAN visual voicemail config keys to _BOOL
Bug:28294644
Change-Id: I1a512008c7e42041f87416782c023348f5dd8693
2016-04-20 14:46:20 -07:00
Felipe Leme
69c53e65b9 Set BugreportProgressService to run on foreground.
BugreportProgressService do not persist the user-provided
information (like details and screenshot paths), so if it's killed by
the framework, that info is lost.

Running it as foreground mitigates the changes of it being killed.

BUG: 27431998
BUG: 28291423
Change-Id: I2f58507beb38309628f2f19d3f7f950d07eca16f
2016-04-20 14:43:37 -07:00
Robert Carr
55db403c76 Merge "Do not prematurely update position while bounds animating." into nyc-dev
am: 5a6c58e

* commit '5a6c58e00202ed83cd60a02cd6a79da65598b655':
  Do not prematurely update position while bounds animating.

Change-Id: I7ad0d28dbe7e4224c7ce50fb6996ccec98d7fd4b
2016-04-20 21:43:21 +00:00
Jim Miller
3978135639 Merge "Fix bug where fingerprint for wrong userId was attempted to be removed." into nyc-dev
am: 54c4374

* commit '54c4374b4a67fdfbda936e7f4a8a9538e16c3557':
  Fix bug where fingerprint for wrong userId was attempted to be removed.

Change-Id: Ib762515ea86e8dc9eb475f1a3f0eb472da6447c4
2016-04-20 21:43:19 +00:00
Christopher Tate
343600c3ec resolve merge conflicts of 44e07e0 to mnc-dev am: 825b713
am: 8c635e7

* commit '8c635e73c698302ce6661f227c274164972f048e':
  Kill the real/isolated uid group, not the ApplicationInfo uid

Change-Id: Iae6fe5af0a8e0f27e8b45a56aecc2d722d7c3bc3
2016-04-20 21:43:17 +00:00
Adam Lesinski
76a267bc26 BatteryStatsHelper: Include screen on baseline power draw
Calculate the baseline power usage for the device when it is in suspend and idle.
The device is drawing POWER_CPU_IDLE power at its lowest power state.
The device is drawing POWER_CPU_IDLE + POWER_CPU_AWAKE power when a wakelock is held.
The device is drawing POWER_CPU_IDLE + POWER_CPU_AWAKE + POWER_SCREEN_ON when the screen is on.

Bug:27533512
Change-Id: Idcb587390bc8159fcbd6625cca4cb1aca19976d6
2016-04-20 14:40:38 -07:00
Vladislav Kaznacheev
ea4d221c42 Add JavaDoc for View.updateDragShadow
Bug: 28296402
Change-Id: I2aec5ab9932c3177cb08dbf1210abfd949e0dab7
2016-04-20 14:40:32 -07:00
Rob Carr
5a6c58e002 Merge "Do not prematurely update position while bounds animating." into nyc-dev 2016-04-20 21:37:12 +00:00
Christopher Tate
8c635e73c6 resolve merge conflicts of 44e07e0 to mnc-dev
am: 825b713

* commit '825b7134699fbaaa16423c52b7b424d4a9afefb1':
  Kill the real/isolated uid group, not the ApplicationInfo uid

Change-Id: I0c120c8dbf76857985ebea04eadca81fa6470cb2
2016-04-20 21:35:50 +00:00
Christopher Tate
d7faf53605 Don't back up wallpapers that we've been told not to
In addition, now that the full uncropped wallpaper image is being
backed up, we now handle that via the full-data backup path instead
of key/value.  Restore still knows about legacy data that gets
delivered via the older key/value mechanism.

This change also has the effect of removing the size limitations
around wallpaper restore acceptance.  Any size source imagery is
valid, as crop & scale are rerun in a device-appropriate way
after the restore.

Bug 25453848
Bug 25727875

Change-Id: Idc64a2eaab97a8ecc9d2b8ca5dc011f29cab324d
2016-04-20 14:34:07 -07:00