126843 Commits

Author SHA1 Message Date
Ashok Bhat
f5df700e6c AArch64: Make frameworks/base code more portable
Changes in this patch include

[x] Use %zu for size_t, %zd for ssize_t

[x] Some minor changes have been done to conform with
    standard JNI practice (e.g. use of jint instead of int
    in JNI function prototypes)

Change-Id: Id1aaa7894a7d0b85ac7ecd7b2bfd8cc40374261f
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
2014-03-27 12:30:42 +00:00
Jorim Jaggi
5c2d84675b Move legacy notification processing to Notification.Builder
Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
2014-03-27 12:08:55 +01:00
Scott Main
afd8b17fa1 am 68d43e27: am b5e754dd: am 8ea583a7: am f9943d0e: Merge "add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29" into klp-docs
* commit '68d43e275efae8f7b83388ea6fdebbcf5cd1504f':
  add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29
2014-03-27 09:37:47 +00:00
Scott Main
68d43e275e am b5e754dd: am 8ea583a7: am f9943d0e: Merge "add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29" into klp-docs
* commit 'b5e754dd4d8accd0c1500008aa1a6dbf178d33d7':
  add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29
2014-03-27 09:31:08 +00:00
Scott Main
b5e754dd4d am 8ea583a7: am f9943d0e: Merge "add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29" into klp-docs
* commit '8ea583a71aef2f21f833c003a948ca7b1dc32915':
  add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29
2014-03-27 09:24:46 +00:00
Scott Main
8ea583a71a am f9943d0e: Merge "add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29" into klp-docs
* commit 'f9943d0ecf4d3360064a4cec0b1ffd6767db5612':
  add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29
2014-03-27 09:15:18 +00:00
Yevgen Pronenko
0fd4c656d0 Do not show Home behind full screen activity
When ensureActivitiesVisibleLocked goes through foreground activity
stack and reaches non-fullscreen activity, it sets showHomeBehindStack
variable to true.

If there is a fullscreen activity behind, showHomeBehindStack remains
unchanged, which causes Home application to be displayed anyway.
In this case user will see a fullscreen activity and Home activity
simultaneously.

To fix the issue we set showHomeBehindStack to false when we reach
fullscreen activity in the activity stack.

This was made visible by the following commit:
446ef1de8d373c1b017df8d19ebf9a47811fb402

Change-Id: I535c1283a4e26f5cf606375b837d4b7195324af0
2014-03-27 07:54:37 +01:00
Scott Main
f9943d0ecf Merge "add the JD docs for the Android Wear docs (delte the HTML versions) This depends on the following CL that makes this all work with template changes: I848f442b3bc66ee2fb87db8200df370d13762d29" into klp-docs 2014-03-27 06:24:15 +00:00
Dan Sandler
a55734aaed Introduce CATEGORY_NOTIFICATION_PREFERENCES.
Allows applications to advertise to the system an Activity
where the user can configure the app's notifications. Will
be used by the Settings app.

Change-Id: Iafe7de79e20046d5655fda3f3a3cba9f5db059c4
2014-03-27 00:34:44 -04:00
Scott Main
b6cb5762d1 am ef179563: am e0c66e73: am 74b821dc: am 09131844: add viewport width override to each landing page and fix link on homepage
* commit 'ef17956363c5d2d1b89edd3d6bbe538fe4e516f3':
  add viewport width override to each landing page and fix link on homepage
2014-03-27 03:39:26 +00:00
Scott Main
ef17956363 am e0c66e73: am 74b821dc: am 09131844: add viewport width override to each landing page and fix link on homepage
* commit 'e0c66e73b45f228a87086257a9aa7c13361f8b18':
  add viewport width override to each landing page and fix link on homepage
2014-03-27 03:32:41 +00:00
Scott Main
e0c66e73b4 am 74b821dc: am 09131844: add viewport width override to each landing page and fix link on homepage
* commit '74b821dce313307584b1abecc2fa8d4da826ff65':
  add viewport width override to each landing page and fix link on homepage
2014-03-27 03:26:45 +00:00
Scott Main
74b821dce3 am 09131844: add viewport width override to each landing page and fix link on homepage
* commit '0913184499e76996baf047ecbcbd2b79e2c92643':
  add viewport width override to each landing page and fix link on homepage
2014-03-27 03:20:34 +00:00
Scott Main
0913184499 add viewport width override to each landing page and fix link on homepage
Change-Id: I54cfd2e5a0f127d26644e126d41c5044729af9c5
2014-03-26 20:10:34 -07:00
Scott Main
039d44114e add the JD docs for the Android Wear docs (delte the HTML versions)
This depends on the following CL that makes this all work with template changes:
I848f442b3bc66ee2fb87db8200df370d13762d29

Change-Id: I6b17db774de6fa8be0bf944516a44ba73b10cabb
2014-03-26 19:23:38 -07:00
John Spurlock
4f0db5e23a Remove obsolete MultiWaveView
Change-Id: Ic878221c873d29577928aed2669f967851307e4d
2014-03-26 21:52:03 -04:00
Alan Viverette
a5df8067ec Make quantum text styles public
Change-Id: I6deab6eb712d0910cddf1e8daeddf4737d39ba58
2014-03-26 18:41:14 -07:00
Dianne Hackborn
27832b0e88 Fix build.
And prevent it from breaking again like this.

Change-Id: I68ca200714420ead41bdaa96fe320260ecddb426
2014-03-26 18:12:10 -07:00
Adam Lesinski
e824026554 Fix a race in NotificationManager with Listeners
After being bound to, a NotificationListenerService could
make a call into NotificationManagerService before having been
added to the list of active services.

Bug: 13644375
Change-Id: I4ed920d165f46d009f91e28ca13c3926563cd110
2014-03-26 17:52:54 -07:00
Alan Viverette
2c5d6d742a Merge "Separate ripple animation logic, remove RevealDrawable" 2014-03-27 00:31:53 +00:00
Matt Casey
a0149568f2 Merge "Update doc for ACTION_HEADSET_PLUG to mention explicit register." 2014-03-27 00:20:24 +00:00
Kenny Root
0072a417f1 am 1dc1d6b2: am 5b93685a: am 57f2764b: Merge "CertificateChainValidator: initialize TrustManagerFactory"
* commit '1dc1d6b22deb38d78960f3ce89f94e536610492e':
  CertificateChainValidator: initialize TrustManagerFactory
2014-03-27 00:17:47 +00:00
John Hoford
49224acd78 Merge "add Dynamic Drawable (vector graphics for Icons)" 2014-03-27 00:14:14 +00:00
Kenny Root
1dc1d6b22d am 5b93685a: am 57f2764b: Merge "CertificateChainValidator: initialize TrustManagerFactory"
* commit '5b93685af37d840e7ef6d415bcfe8a8a4c004032':
  CertificateChainValidator: initialize TrustManagerFactory
2014-03-27 00:10:41 +00:00
Matt Casey
1dbf1f81e2 Add a mediastore constant for playlists.
This is a followup to https://googleplex-android-review.git.corp.google.com/415218

I'm writing this change at the request of elmas@.

Bug: 13657009
Change-Id: I970cc59a33af2162c2488c4ddf628f7a73009cd6
2014-03-26 17:09:56 -07:00
John Hoford
abb7d134c0 add Dynamic Drawable (vector graphics for Icons)
Change-Id: Id44b7f6d1b8dd073b8ed35e2142a380550f2449b
2014-03-26 16:59:54 -07:00
Kenny Root
5b93685af3 am 57f2764b: Merge "CertificateChainValidator: initialize TrustManagerFactory"
* commit '57f2764bf104b0fe7b5cd67ad5b2cae9bc8352ed':
  CertificateChainValidator: initialize TrustManagerFactory
2014-03-26 23:59:11 +00:00
Alan Viverette
47bf0d95ef Separate ripple animation logic, remove RevealDrawable
Change-Id: I9d0370cea288e6caf518209b5bc94a66a0f9176f
2014-03-26 16:43:07 -07:00
Ricardo Cervera
2cd84701fe am cddd3b15: am bb7bb60a: am e94b79d7: am c5b54aed: Merge "docs: Added info on using HTTPS for the Eclipse ADT update site" into klp-docs
* commit 'cddd3b151f3eff197c39e319b8c5d107dcafcbce':
  docs: Added info on using HTTPS for the Eclipse ADT update site
2014-03-26 23:17:02 +00:00
Ricardo Cervera
cddd3b151f am bb7bb60a: am e94b79d7: am c5b54aed: Merge "docs: Added info on using HTTPS for the Eclipse ADT update site" into klp-docs
* commit 'bb7bb60a713f7c11ed23203318c50e2c0103b08d':
  docs: Added info on using HTTPS for the Eclipse ADT update site
2014-03-26 23:12:22 +00:00
Ricardo Cervera
bb7bb60a71 am e94b79d7: am c5b54aed: Merge "docs: Added info on using HTTPS for the Eclipse ADT update site" into klp-docs
* commit 'e94b79d7037336f939ae3bc64a17df245b254e17':
  docs: Added info on using HTTPS for the Eclipse ADT update site
2014-03-26 23:06:10 +00:00
Jinsuk Kim
40a00a341b Replace individual methods with a consolidated CEC nativeSendmessage
It saves us from having to add numerous native methods to HdmiCecService.
A new native method that reports physical address was added in consequence
to be able to build the message in Java side.

Other changes:
 - Substituted more concrete type (cec_device_type_t) to int.
 - Fixed the issue about byte endianness in handling physical
   address/vendor id. The bytes of variable mPhysicalAddress in native
   service were being reversed previously but still worked because they
   were reversed again when copied out to outgoing messages. Vendor id
   had a bug of bytes being reversed. In order to fix the issue, the way
   they are copied to byte array was changed so that it becomes
   independent to byte endianness.
 - CL's for header/HAL implementation changes are:
   https://googleplex-android-review.git.corp.google.com/#/c/437667
   https://googleplex-android-review.git.corp.google.com/#/c/437668

Change-Id: Id1ac683fe54597a2c707f30492c7f86e5392504d
2014-03-27 07:59:31 +09:00
Ricardo Cervera
e94b79d703 am c5b54aed: Merge "docs: Added info on using HTTPS for the Eclipse ADT update site" into klp-docs
* commit 'c5b54aed1772de65d3f799e3fb6644ec1b791130':
  docs: Added info on using HTTPS for the Eclipse ADT update site
2014-03-26 22:59:15 +00:00
Scott Main
2adb64c966 am e5ec1544: am 6bbfa5b5: am 2556034b: am 322cf5c4: fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
* commit 'e5ec1544f15e31490a404e0ba9f4842dd03fb5e2':
  fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
2014-03-26 22:57:16 +00:00
Ricardo Cervera
c5b54aed17 Merge "docs: Added info on using HTTPS for the Eclipse ADT update site" into klp-docs 2014-03-26 22:54:02 +00:00
Kenny Root
57f2764bf1 Merge "CertificateChainValidator: initialize TrustManagerFactory" 2014-03-26 22:51:52 +00:00
Scott Main
e5ec1544f1 am 6bbfa5b5: am 2556034b: am 322cf5c4: fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
* commit '6bbfa5b5b8174dab29f0b6b4b5473e1351f631f5':
  fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
2014-03-26 22:50:44 +00:00
Scott Main
6bbfa5b5b8 am 2556034b: am 322cf5c4: fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
* commit '2556034b61287a719d919e63bc1925d86651016a':
  fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
2014-03-26 22:43:55 +00:00
Selim Gurun
5632dc1cf0 Merge "Revert "Support for new gTLDs"" 2014-03-26 22:37:24 +00:00
Scott Main
2556034b61 am 322cf5c4: fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
* commit '322cf5c44f3e1329f51014ec3fa45f1c322d3d37':
  fix image sizes in design guide and code snippet bug bug: 13644390 bug: 13626796
2014-03-26 22:36:55 +00:00
Selim Gurun
a739994d60 Revert "Support for new gTLDs"
This reverts commit d3ff8bdf92c23d596f3e4701455223f9e3ac8873.

Change-Id: I2006c4fcca54a4bc3b680ea0b0600b359cac6ca3
2014-03-26 22:33:49 +00:00
Ricardo Cervera
1da618761f docs: Added info on using HTTPS for the Eclipse ADT update site
Change-Id: Ia784ef37ef8a520183587ee696ec8f8541dbf441
2014-03-26 15:33:44 -07:00
Paul Lawrence
6ee7d25010 Revert "Don't prompt at boot if we already did that when decrypting"
This reverts commit 493e3e7e6523fd94cc1acae3e45935a1227d58c3.

Should fixes

Bug: 13611885
Bug: 13656830
Change-Id: I117c988bb6679f44f8add4fcc18f45cb8238dfb4
2014-03-26 22:31:04 +00:00
Scott Main
322cf5c44f fix image sizes in design guide and code snippet bug
bug: 13644390
bug: 13626796

Change-Id: Ie5bb42c78190da6b6306c6ef6cc715a1ea33ffaa
2014-03-26 15:26:50 -07:00
quddusc
36d242898b am 52f6988b: am fd95bffc: am ffba20b0: am d43c1300: docs: Fixed url to point to Google Analytics v4 Getting Started guide.
* commit '52f6988b23407aed844c34c1cf5ac40fa9ea5a9c':
  docs: Fixed url to point to Google Analytics v4 Getting Started guide.
2014-03-26 22:22:42 +00:00
Matt Casey
79867f5981 Update doc for ACTION_HEADSET_PLUG to mention explicit register.
Copied the documentation from other similar actions that have the
same behavior.

AudioService.java has
 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
for this action.

Change-Id: I79736f8146bd6b72d01034be428e83b5841c73fa
2014-03-26 15:20:25 -07:00
Michael Wright
1b10869f39 Generate and respect ACTION_CANCEL for joystick fallbacks. DO NOT MERGE
Also change MotionEvent.PointerCoords bit packing and unpacking
methods to be consistent with BitSets which are now used on the
native PointerCoords object.

Bug: 11480300
Change-Id: Ib18c99b94ac555104c69eac526860aa501e89e03
2014-03-26 14:56:07 -07:00
Christopher Tate
467a2b7cec Merge "Don't crash when handling unlinked widget bindings" 2014-03-26 21:43:49 +00:00
Christopher Tate
95ead2c589 Don't crash when handling unlinked widget bindings
A host can have an 'instance' the other end of which is still
unlinked to a concrete provider.  Don't crash when we hit those.

Bug 13651057

Change-Id: I5a29afb0e6a7ab30976862aee04bd33f609543fa
2014-03-26 14:42:56 -07:00
Selim Gurun
5579eb9b16 Merge "Support for new gTLDs" 2014-03-26 21:42:52 +00:00