Commit Graph

56347 Commits

Author SHA1 Message Date
Abhijith Shastry
f7c39a6219 Merge "Updates to BlockedNumberContract from API review." into nyc-dev am: b7ed5b074d
am: 401a811c29

* commit '401a811c297c5fdedefb8521616fcdf741cd1ed0':
  Updates to BlockedNumberContract from API review.
2016-03-01 00:26:08 +00:00
Abhijith Shastry
401a811c29 Merge "Updates to BlockedNumberContract from API review." into nyc-dev
am: b7ed5b074d

* commit 'b7ed5b074d59a188c25a44a113a0d49dec24d876':
  Updates to BlockedNumberContract from API review.
2016-03-01 00:19:30 +00:00
Jeff Sharkey
3541354007 Merge "Parcelable classes should always be final." into nyc-dev am: 753c347efd
am: 620ef3f226

* commit '620ef3f22654676cd37df23db059a71e0607d6a9':
  Parcelable classes should always be final.
2016-03-01 00:12:20 +00:00
Jeff Sharkey
620ef3f226 Merge "Parcelable classes should always be final." into nyc-dev
am: 753c347efd

* commit '753c347efd0a03ee0187e9c98c9978e43104c257':
  Parcelable classes should always be final.
2016-03-01 00:08:21 +00:00
Abhijith Shastry
b7ed5b074d Merge "Updates to BlockedNumberContract from API review." into nyc-dev 2016-03-01 00:08:01 +00:00
Jeff Sharkey
753c347efd Merge "Parcelable classes should always be final." into nyc-dev 2016-03-01 00:02:43 +00:00
Jeff Sharkey
50d1c044b5 Parcelable classes should always be final.
Also hide ConnectivityMetricsEvent which isn't being used yet.

Bug: 27415331
Change-Id: Iacdccddda504f3f669185f807b4f35b8dc2b0212
2016-02-29 16:46:09 -07:00
Abhijith Shastry
575a9492bb Updates to BlockedNumberContract from API review.
Javadoc updates are also included.

BUG: 27364137
Change-Id: Id99b5c0fadd2a62a33217b44c7f30dd2f3beb9be
2016-02-29 15:44:05 -08:00
Colin Cross
414c529a4f Merge "Add dumpsys meminfo --unreachable" into nyc-dev 2016-02-29 22:19:40 +00:00
Yohei Yukawa
a72299f660 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev am: b7480c2bd6
am: eb764b8954

* commit 'eb764b8954821e7345e7d3469d94ebf30955bd12':
  Revert "InputConnectionWrapper never supports null target."
2016-02-29 22:04:22 +00:00
Yohei Yukawa
eb764b8954 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev
am: b7480c2bd6

* commit 'b7480c2bd6722fcb3e47d9e2f92389170abc9712':
  Revert "InputConnectionWrapper never supports null target."
2016-02-29 21:55:56 +00:00
Yohei Yukawa
b7480c2bd6 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev 2016-02-29 21:49:42 +00:00
Andrii Kulian
df8cd7dc9d Merge "Reset pointer icon when view is not present" into nyc-dev am: 6cf85afcb1
am: 3737049fa7

* commit '3737049fa7454d4327250a41ef2b399ae6bf24f5':
  Reset pointer icon when view is not present
2016-02-29 21:41:19 +00:00
Andrii Kulian
3737049fa7 Merge "Reset pointer icon when view is not present" into nyc-dev
am: 6cf85afcb1

* commit '6cf85afcb1e0e410e8e168c999e40fad3797d6ab':
  Reset pointer icon when view is not present
2016-02-29 21:39:34 +00:00
Andrii Kulian
6cf85afcb1 Merge "Reset pointer icon when view is not present" into nyc-dev 2016-02-29 21:36:08 +00:00
Yohei Yukawa
abc4b8f035 Revert "InputConnectionWrapper never supports null target."
This reverts commit 90bd36363c.

Seems that the semantics of InputConnectionWrapper#setTarget() is more
complicated than I thought.  At least the following cases have worked
fine.

  case 1:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(null, false);
    wrapper.SetTarget(ic);
    ...

  case 2:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(null, true);
    wrapper.SetTarget(ic);
    ...

  case 3:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(ic, true);
    wrapper.SetTarget(null);
    wrapper.SetTarget(ic2);
    ...

The previous code did not intended to break existing code.  Let's revert
it we decide how to deal with above cases.

Bug: 27407697
Change-Id: I8bc84d484ab0b27a02e74f11110430f70646e69a
2016-02-29 13:35:59 -08:00
Yohei Yukawa
33fbb2cae4 Merge "InputConnectionWrapper never supports null target." into nyc-dev am: 82197c33a2
am: 1bfce67fd4

* commit '1bfce67fd444ad51acac2f3dc7c1ef5bcced9d1f':
  InputConnectionWrapper never supports null target.
2016-02-29 21:35:26 +00:00
Yohei Yukawa
1bfce67fd4 Merge "InputConnectionWrapper never supports null target." into nyc-dev
am: 82197c33a2

* commit '82197c33a23a130acd93dcf54e70138a7e7ba970':
  InputConnectionWrapper never supports null target.
2016-02-29 21:25:29 +00:00
Yohei Yukawa
82197c33a2 Merge "InputConnectionWrapper never supports null target." into nyc-dev 2016-02-29 21:13:10 +00:00
Alan Viverette
07bc48fae3 Merge "Use asset cookie in XML block cache key" into nyc-dev am: 89dea902c1
am: 993b8abe02

* commit '993b8abe02bd36c60c46999d7f82748abaccce20':
  Use asset cookie in XML block cache key
2016-02-29 21:09:57 +00:00
Alan Viverette
993b8abe02 Merge "Use asset cookie in XML block cache key" into nyc-dev
am: 89dea902c1

* commit '89dea902c184a981392ceca90d28a7b5986952fc':
  Use asset cookie in XML block cache key
2016-02-29 21:06:22 +00:00
Yohei Yukawa
90bd36363c InputConnectionWrapper never supports null target.
This CL makes it clear that InputConnectionWrapper does not support null
target.  In other words, the semantics of null InputConnection can never
be emulated by a non-null InputConnectionWrapper.

This is particularly problematic when app developers are just forwarding
the return value of super.onCreateInputConnection() to
InputConnectionWrapper or its subclass, because there are many chance
that super.onCreateInputConnection() starts returning null, e.g. when:
  A. the application is extending a Framework class, and the Framework
     class is updated by OTA.
  B. the application is extending system WebView, and the WebView is
     updated.
  C. the application is extending a 3rd party library, and the app
     developer creates a new build with a new version of the 3rd party
     library.

To make it easy to catch these kind of bugs, this CL lets the
constructor of InputMethodWrapper throw NullPointerException when target
is null.  Bugs like crbug.com/571229 should be caught by developers
more easily.

Bug: 27407697
Change-Id: I83875bea886d4784f9507c930050efc29708d9db
2016-02-29 12:45:49 -08:00
Alan Viverette
89dea902c1 Merge "Use asset cookie in XML block cache key" into nyc-dev 2016-02-29 20:12:38 +00:00
Ruben Brunk
3211b9070d Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev am: b77f9ec93a
am: 0cbe76be29

* commit '0cbe76be29380cf61cc57a79021f21749751f4d4':
  Revert "DO NOT SUBMIT: Hide VR features for preview."
2016-02-29 20:03:17 +00:00
Ruben Brunk
0cbe76be29 Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev
am: b77f9ec93a

* commit 'b77f9ec93a11841aacb72d4fecd1bf56f6253254':
  Revert "DO NOT SUBMIT: Hide VR features for preview."
2016-02-29 19:55:40 +00:00
Ruben Brunk
a6b7e44185 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev am: 8ccb68af89
am: 420d9dae55

* commit '420d9dae551fa540876a69e747f70edd803f60c4':
  DO NOT SUBMIT: Hide VR features for preview.
2016-02-29 19:55:39 +00:00
Ruben Brunk
b77f9ec93a Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev 2016-02-29 19:50:37 +00:00
Ruben Brunk
e5d76e8276 Revert "DO NOT SUBMIT: Hide VR features for preview."
This reverts commit cfa66a2a45.

Change-Id: Ibf36092205b14c29935d1f28be5f5b5f64b1d16c
2016-02-29 19:50:15 +00:00
Ruben Brunk
420d9dae55 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev
am: 8ccb68af89

* commit '8ccb68af89c68e32b908652436acfa339e034bcc':
  DO NOT SUBMIT: Hide VR features for preview.
2016-02-29 19:50:03 +00:00
Ruben Brunk
8ccb68af89 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev 2016-02-29 19:43:55 +00:00
Polina Bondarenko
ce0aad5f99 Merge "Removed IAE from HardwarePropertiesManager." into nyc-dev am: 0097077396
am: 0710ca4270

* commit '0710ca42701377e38c5751d4535bd6869495aead':
  Removed IAE from HardwarePropertiesManager.
2016-02-29 18:49:20 +00:00
Polina Bondarenko
0710ca4270 Merge "Removed IAE from HardwarePropertiesManager." into nyc-dev
am: 0097077396

* commit '00970773960de9f81dafcc7e864f3e278fe53662':
  Removed IAE from HardwarePropertiesManager.
2016-02-29 18:41:48 +00:00
Andrii Kulian
33c1bc586c Reset pointer icon when view is not present
Sometimes pointer change request is delivered after view is detached from its
ViewRootImpl. E.g. when popup is present click outside to close it.

Bug: 27292939
Change-Id: I925728af334a1e1ae53f7e530d639e50b0c37f2b
2016-02-29 10:38:59 -08:00
Jeff Sharkey
9bb3fea97e Merge "Sigh, someone is pushing 2MB through StopInfo." into nyc-dev am: 341de33e3c
am: 6a7a297e61

* commit '6a7a297e61604521067b43f24d78852dd51bd7f3':
  Sigh, someone is pushing 2MB through StopInfo.
2016-02-29 18:35:45 +00:00
Jeff Sharkey
6a7a297e61 Merge "Sigh, someone is pushing 2MB through StopInfo." into nyc-dev
am: 341de33e3c

* commit '341de33e3c9a8a8685d99602690e95ccb64b77a2':
  Sigh, someone is pushing 2MB through StopInfo.
2016-02-29 18:34:10 +00:00
Polina Bondarenko
0097077396 Merge "Removed IAE from HardwarePropertiesManager." into nyc-dev 2016-02-29 18:34:01 +00:00
Jeff Sharkey
341de33e3c Merge "Sigh, someone is pushing 2MB through StopInfo." into nyc-dev 2016-02-29 18:30:40 +00:00
Jeff Sharkey
369f509d56 Sigh, someone is pushing 2MB through StopInfo.
Bug: 27401092
Change-Id: Ib27a56ecc63662ce2d6210890ac65eca09fac9d6
2016-02-29 11:29:37 -07:00
Aurimas Liutikas
0bb2d31d99 Merge "Fix crash when restoring SearchView." into nyc-dev am: 0a04ab2418
am: 52628bc847

* commit '52628bc847732868f1ed0ec65a738f873c1ef15a':
  Fix crash when restoring SearchView.
2016-02-29 18:26:20 +00:00
Aurimas Liutikas
52628bc847 Merge "Fix crash when restoring SearchView." into nyc-dev
am: 0a04ab2418

* commit '0a04ab241867bd4e268ffdddf37dede3b5570b0b':
  Fix crash when restoring SearchView.
2016-02-29 18:23:13 +00:00
Aurimas Liutikas
0a04ab2418 Merge "Fix crash when restoring SearchView." into nyc-dev 2016-02-29 18:21:10 +00:00
Alan Viverette
5c64b957dd Use asset cookie in XML block cache key
Ensure we're using file paths from the correct package. Also cleans up
synchronization to avoid synchronizing on local variables which, while
not an issue in the current implementation, is generally unsafe.

Bug: 27313689
Change-Id: Ib8550909e7b02ea88d19ce2fc43756a16f9664ab
2016-02-28 15:16:05 -05:00
Jeff Sharkey
e8bd6c7a3f Merge "When system server goes down, crash apps more." into nyc-dev am: 004bf6ade3
am: 917fe2f8a5

* commit '917fe2f8a540fbc181a8647851a8b660da860286':
  When system server goes down, crash apps more.
2016-02-28 00:27:09 +00:00
Jeff Sharkey
917fe2f8a5 Merge "When system server goes down, crash apps more." into nyc-dev
am: 004bf6ade3

* commit '004bf6ade3e7e400c896541cce0e513eef179738':
  When system server goes down, crash apps more.
2016-02-28 00:24:21 +00:00
Jeff Sharkey
f8880561e6 When system server goes down, crash apps more.
Similar to first patch, but now using new "rethrowFromSystemServer()"
method which internally translates DeadObjectException into
DeadSystemException.  New logic over in Log.printlns() now
suppresses the DeadSystemException stack traces, since they're
misleading and just added pressure to the precious log buffer space.

Add some extra RuntimeInit checks to suppress logging-about-logging
when the system server is dead.

Bug: 27364859
Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
2016-02-27 17:17:01 -07:00
Adrian Roos
dba6211d2e Merge "Fix crash with decorated custom notifications" into nyc-dev am: 7006b01f5d
am: 8bef84a2f4

* commit '8bef84a2f44d2c7d25bc95b512ea8eac5623d076':
  Fix crash with decorated custom notifications
2016-02-27 02:37:44 +00:00
Adrian Roos
8bef84a2f4 Merge "Fix crash with decorated custom notifications" into nyc-dev
am: 7006b01f5d

* commit '7006b01f5d91c77c9f658d392fb2cc183bc504be':
  Fix crash with decorated custom notifications
2016-02-27 02:33:20 +00:00
Adrian Roos
7006b01f5d Merge "Fix crash with decorated custom notifications" into nyc-dev 2016-02-27 02:29:15 +00:00
Selim Cinek
f9b2864a1b Merge "Adapted the notficication style" into nyc-dev am: 9620d8652b
am: 4ff315113f

* commit '4ff315113f8a1d5755c411969406fa96fb98687e':
  Adapted the notficication style
2016-02-27 01:30:10 +00:00
Selim Cinek
4ff315113f Merge "Adapted the notficication style" into nyc-dev
am: 9620d8652b

* commit '9620d8652bacc84e179ff9a2548d7cb833887437':
  Adapted the notficication style
2016-02-27 01:24:32 +00:00