Ricardo Cervera
1e59b338e6
am 08314642: am 90312d80: am 22878790: am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev
...
* commit '083146428420dd3daa887d6e9c019e747a604cb5':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 18:47:08 +00:00
Ricardo Cervera
90312d808f
am 22878790: am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev
...
* commit '2287879039556ad3c8fce58974e2396b4a2dab45':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 18:36:45 +00:00
Ricardo Cervera
2287879039
am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev
...
* commit '93f94c2ca5bf23533fc5a9bd70a4795584d20618':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 18:29:25 +00:00
Ricardo Cervera
93f94c2ca5
resolved conflicts for merge of e8f6bd48 to lmp-dev
...
Change-Id: Idc370182914d5060a721d34c26cd72598f2c6dff
2015-01-16 09:54:30 -08:00
Ricardo Cervera
e8f6bd4846
am 98f07d90: am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
* commit '98f07d901492335f51258655fbfa032fa3f2d58e':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 17:21:32 +00:00
Ricardo Cervera
98f07d9014
am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
* commit '92f6a747085b4b5ed692de4bdb0050c096eae393':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 17:14:44 +00:00
Dianne Hackborn
fce232b408
am 5a4b4084: am b96a6916: Merge "Fix issue android-app doc, bump battery stats checkin version" into lmp-mr1-dev
...
* commit '5a4b4084215b1efc5308c0c914185599b4d502bf':
Fix issue android-app doc, bump battery stats checkin version
2015-01-15 01:52:21 +00:00
Dianne Hackborn
0ee10f6d26
Fix issue android-app doc, bump battery stats checkin version
...
Issue #18983662 : API Reivew: clarify Intent docs for URI_ANDROID_APP_SCHEME
Issue #19019830 : Bump up battery stats checkin version
Change-Id: I0bd8f32b9d8d5978bd01d421ea2232d20def340a
2015-01-14 16:16:13 -08:00
Olawale Ogunwale
0f8ecc84c8
am 9d293911: am ebdfb6e8: Merge "[ActivityManager] Distinguish FG or BG receiver finished"
...
* commit '9d293911221cac930eb8edfef01362ea083eeaab':
[ActivityManager] Distinguish FG or BG receiver finished
2015-01-12 16:44:28 +00:00
riddle_hsu
1f5ac4d322
[ActivityManager] Distinguish FG or BG receiver finished
...
Symptom:
Assume a foreground broadcast FG and a background BG.
If a recevier registers both FG and BG. When sending
BG and FG to the receiver, and the receiver BG receiver
completes first, its finishReceiver will trigger next FG
receiver rather than BG, and also deliver wrong result
code/data to the next.
More detail and sample:
https://code.google.com/p/android/issues/detail?id=92917
Root cause:
Due to BroadcastQueue:getMatchingOrderedReceiver will match
by receiver(IBinder), so the caller ActivityManagerService:
broadcastRecordForReceiverLocked will always match the first
queue(fg) if a receiver is both receiving fg and bg.
Solution:
Add a parameter flags to finishReceiver, then server side
could know the finished receiver should belong to which queue.
Another general solution but with bigger scope:
I60dce4a48e20c1002a61a979e4d78b9b0a8b94a0
Change-Id: I913ca6f101ac8ec6c7a8e42754e6781f80247b7f
2015-01-03 15:38:21 +08:00
Michael Wright
342e903000
am 95700457: am a33424a5: Merge "Add MEDIA_PROJECTION_SERVICE to the ServiceName list." into lmp-mr1-dev
...
* commit '95700457139803af54a5e731816cedf1c924f3a6':
Add MEDIA_PROJECTION_SERVICE to the ServiceName list.
2014-12-30 19:51:20 +00:00
Michael Wright
446e019a06
Add MEDIA_PROJECTION_SERVICE to the ServiceName list.
...
This prevents our lint tooling from complaining that we're passing
invalid values when trying to get the MediaProjectionManager.
Bug: 18830590
Change-Id: I34633248e895b0ac7f5083e18a7d2385ca6f8adb
2014-12-23 17:01:49 -08:00
Jay Shrauner
58d66c30d7
am 12b5e504: Merge "Fix NPE in Transport.applyBatch" into lmp-mr1-dev
...
automerge: 59e96ee
* commit '59e96ee423f4fc810f29451144143a581a8cd99a':
Fix NPE in Transport.applyBatch
2014-12-16 01:45:09 +00:00
Jay Shrauner
ac2506c7e3
Fix NPE in Transport.applyBatch
...
Bug:18756774
Change-Id: I1da4f0131b1529598043e4cb9fb226d02bff8669
2014-12-15 13:25:52 -08:00
Dianne Hackborn
9b287368b0
am 6bdbae07: Merge "Fix issue #18665625 CTS:android.app.cts.InstrumentationTest#..." into lmp-mr1-dev
...
automerge: 7557ec1
* commit '7557ec128f3d2e6dca42b92b2771d1cf486cbb0c':
Fix issue #18665625 CTS:android.app.cts.InstrumentationTest#...
2014-12-10 19:21:58 +00:00
Dianne Hackborn
80b1c5608e
Fix issue #18665625 CTS:android.app.cts.InstrumentationTest#...
...
...testCallActivityOnNewIntent test fails with LMP-MR1 Release.
Check for null.
Also fix some small issues with converting intents to/from intents.
Change-Id: Ic391cc57552635935af9a271b2d09353257f6d14
2014-12-09 20:22:08 -08:00
Eino-Ville Talvala
431b65d11f
am 6e21817b: am d23f8b44: Merge "Revert "Camera: Add new capability flags as system features as well"" into lmp-mr1-dev
...
* commit '6e21817b8ef160fae5e7046745cb11ceab06b2d7':
Revert "Camera: Add new capability flags as system features as well"
2014-12-04 20:23:45 +00:00
Dianne Hackborn
3c8a439be3
am e6333e51: am f696efa2: Merge "Fix issue #17948584 : Application crash and phone restart when app..." into lmp-mr1-dev
...
* commit 'e6333e5188fd4becf7dea286c768f55c3b89d63e':
Fix issue #17948584 : Application crash and phone restart when app...
2014-12-04 20:23:25 +00:00
Eino-Ville Talvala
d23f8b44d5
Merge "Revert "Camera: Add new capability flags as system features as well"" into lmp-mr1-dev
2014-12-03 22:01:42 +00:00
Dianne Hackborn
f696efa206
Merge "Fix issue #17948584 : Application crash and phone restart when app..." into lmp-mr1-dev
2014-12-03 21:32:17 +00:00
Eino-Ville Talvala
08a125562c
Revert "Camera: Add new capability flags as system features as well"
...
This reverts commit 6aee1d2ba5 .
But leaves in some of the improved documentation.
Bug: 18281970
Bug: 18573576
Change-Id: I320f2229456ac039bc8f3cd8bc8b4ea6cf0e80eb
2014-12-03 11:12:39 -08:00
Dianne Hackborn
1bc177c585
Fix issue #17948584 : Application crash and phone restart when app...
...
...is installed with <provider> with empty string.
Don't allow empty authorities, just like we don't allow null authorities.
Change-Id: I5c64592a639efe4dba848bd6f0efe4257f1565a2
2014-12-03 10:20:30 -08:00
Alan Viverette
6c23ba0d8d
am a6779bc5: am 9a888816: Merge "Deprecate one-arg getDrawableForDensity, update currents.txt" into lmp-mr1-dev
...
* commit 'a6779bc51772aae2ba4cc94db2ae47b76a2cc972':
Deprecate one-arg getDrawableForDensity, update currents.txt
2014-12-02 23:45:25 +00:00
Alan Viverette
a6f8b2ce55
Deprecate one-arg getDrawableForDensity, update currents.txt
...
BUG: 18579576
Change-Id: I7df6ec2952ab121e2be8ae0a016ccf36f6fba2ff
2014-12-02 15:26:33 -08:00
Alan Viverette
0cd6296c0a
am 63c7a655: am 1b33396e: Merge "Deprecate Resources.getDrawable(int) in favor of the two-arg version" into lmp-mr1-dev
...
* commit '63c7a655beab21da934d21bb4004889bfb6e4417':
Deprecate Resources.getDrawable(int) in favor of the two-arg version
2014-12-02 23:19:28 +00:00
Adam Lesinski
9438ad1599
am e580d661: am e89a2865: Merge changes If2c7e09f,Ie21f227c
...
* commit 'e580d6617f67a1db5eff7ffe5450684cfc7e1a2b':
RRO idmap: pad with 0xffffffff, not 0x00000000
RRO: reintroduce lost ResTable insert of assets
2014-12-02 23:07:43 +00:00
Alan Viverette
c10e3960d9
Deprecate Resources.getDrawable(int) in favor of the two-arg version
...
This is a landmine for developers. If they need to obtain an unthemed
drawable, they should be using an explicit null theme.
BUG: 18579576
Change-Id: Ibca6b4c3e8e50dca144571244e035caec6fa91f8
2014-12-02 14:58:08 -08:00
Adam Lesinski
e89a286541
Merge changes If2c7e09f,Ie21f227c
...
* changes:
RRO idmap: pad with 0xffffffff, not 0x00000000
RRO: reintroduce lost ResTable insert of assets
2014-12-02 22:52:37 +00:00
Adam Lesinski
44a711ccac
am 9f692b52: am 9be305d1: Merge "Make the Context service constant for UsageStats public" into lmp-mr1-dev
...
* commit '9f692b520255435903c8c1efb7b50f22a80505a5':
Make the Context service constant for UsageStats public
2014-11-25 18:44:31 +00:00
Alan Viverette
67c55be39a
am 0d05788f: am 760cfb02: Merge "Check for null drawable in theme-less getDrawable()" into lmp-mr1-dev
...
* commit '0d05788fd06b24068c269bfa80dd96deafb00357':
Check for null drawable in theme-less getDrawable()
2014-11-25 17:49:53 +00:00
Jeff Sharkey
c02f304c3a
am 58b699c3: am 636baa0d: Merge "Introduce revision codes for split APKs." into lmp-mr1-dev
...
* commit '58b699c366dea7abc26f34c1e5f1cc6031c04e23':
Introduce revision codes for split APKs.
2014-11-25 17:39:16 +00:00
Adam Lesinski
9be305d146
Merge "Make the Context service constant for UsageStats public" into lmp-mr1-dev
2014-11-25 00:51:10 +00:00
Alan Viverette
760cfb02de
Merge "Check for null drawable in theme-less getDrawable()" into lmp-mr1-dev
2014-11-24 21:57:51 +00:00
Adam Lesinski
aa6076701d
Make the Context service constant for UsageStats public
...
This was an oversight in L, where we did not make this
service constant public.
Change-Id: I42e38cb5ef8420cadc1a4a6705821189d911ccfe
2014-11-24 13:53:57 -08:00
Jeff Sharkey
88d2a3c0e1
Introduce revision codes for split APKs.
...
Apps delivered as multiple split APKs must have identical package
names, version code, and signatures. However, developers may want
to iterate quickly on a subset of splits without having to increment
the version code, which would require delivery of the entire app.
This change introduces "revision codes" which can vary between
split APKs belonging to the same app. An install is valid as long
as the normal version code is identical across all splits. Splits
can be added/removed to an app over time, but if a split is present
across an upgrade the revision code must not decrease.
Since system apps could have been updated with splits, only revert
to the built-in APKs if the version code is strictly greater than the
data version. Also fix bug to enable inheriting from system apps
when adding splits.
Bug: 18481866
Change-Id: I34d8e14c141a8eb95c33ffe24b4e52d6af5c8260
2014-11-24 12:13:11 -08:00
Alan Viverette
7e0aaae3db
Check for null drawable in theme-less getDrawable()
...
BUG: 18507509
Change-Id: I64e2950dc3a30f3979ec179789a6f6e055c9f86d
2014-11-24 11:27:09 -08:00
Wink Saville
b4c5410987
am 4f1cce63: am 12c2136e: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev
...
* commit '4f1cce63061976490e2e2cfc4085e1634d3a02de':
Additional changes to SubscriptionManager API as per API council.
2014-11-24 18:06:09 +00:00
Eino-Ville Talvala
bd9567e156
am e289082a: am dfa99f63: Merge "Camera: Add new capability flags as system features as well" into lmp-mr1-dev
...
* commit 'e289082a7066a86032190aa100425ce29cd2a4f2':
Camera: Add new capability flags as system features as well
2014-11-24 18:05:40 +00:00
Wink Saville
12c2136e55
Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev
2014-11-22 20:19:25 +00:00
Wink Saville
d09c4cad65
Additional changes to SubscriptionManager API as per API council.
...
bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
2014-11-22 10:08:16 -08:00
Eino-Ville Talvala
dfa99f6367
Merge "Camera: Add new capability flags as system features as well" into lmp-mr1-dev
2014-11-22 04:57:49 +00:00
Alan Viverette
47379f3050
am e442e904: am 47172f53: Merge "Use parseColor instead of getHTMLColor"
...
* commit 'e442e904ae19f0b59ebfd4a7c735648b64bc955e':
Use parseColor instead of getHTMLColor
2014-11-21 20:49:04 +00:00
Dianne Hackborn
24b1c23c62
Fix issue #15828903 : Intent.parseUri allows call to FLAG_GRANT_*_URI_PERMISSION
...
You now need to set a flag if you want this unsafe behavior.
Change-Id: I185e9a04e005e42a887c3d58a2818616790b060a
2014-11-20 17:17:39 -08:00
Eino-Ville Talvala
6aee1d2ba5
Camera: Add new capability flags as system features as well
...
Also add all the L and L MR1 new system features to the uses-feature documentation.
Bug: 18281970
Change-Id: I116ca3fd04cd90eb53cc696b6fa62488687e7740
2014-11-20 15:52:40 -08:00
Wink Saville
816e19eb6d
Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev
2014-11-20 20:31:49 +00:00
Wink Saville
2d1ee98227
Revert "Additional changes to SubscriptionManager API as per API council."
...
This reverts commit baf21da1e1 .
Change-Id: I73cbdfadf07ca3cf20b042781b62aafcc72b17d6
2014-11-20 20:29:51 +00:00
Wink Saville
4a57e90817
Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev
2014-11-20 20:20:02 +00:00
Dianne Hackborn
d9968438bc
Merge "Fix issue with call backs from media process." into lmp-mr1-dev
2014-11-20 18:29:15 +00:00
Wink Saville
baf21da1e1
Additional changes to SubscriptionManager API as per API council.
...
bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
2014-11-19 16:03:09 -08:00
Chet Haase
0d1c27a713
Fix seeking and scaled duration behavior
...
The animation scaled was not being factored in early enough in the
activity lifecycle. Also, setCurrentPlaytTime() was not accounting for
the scaled duration correctly. Finally, added setCurrentFraction() as
a more general-purpose seeking facility.
Issue #18222006 Animator duration scale ignored in some situations
Issue #17951668 add ability to seek fraction, not just time
Change-Id: Idad401f5ff5026d7046c36eee09d78a4793215dc
2014-11-19 15:29:47 -08:00