Amith Yamasani
55cadb05de
Changes to handle restrictions API change
...
Framework passes in a Bundle, application returns ArrayList<RestrictionEntry>.
Bug: 8633967
Change-Id: Ib9b1c9fe555a0a87a77b7278d1fe3ef41ca07b9b
2013-04-17 10:48:37 -07:00
Dianne Hackborn
041bfcd9e4
Fix issue #8520788 : Add WakefulBroadcastReceiver
...
Add sample code.
Change-Id: I46f4f25ceb4e12f975e3cebd83f62de2555a8996
2013-04-17 10:33:16 -07:00
Amith Yamasani
fb6dc4fedf
Merge "Fix some crashes in the sample" into jb-mr2-dev
2013-04-15 17:34:04 +00:00
Scott Main
68eae9dd3d
am 7f3dab19: am f987cbbf: am 2c0001e6: am 1259eff8: add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
...
* commit '7f3dab19aff9d8f6712e26821de84d13b6ecad17':
add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
2013-04-12 13:11:20 -07:00
Scott Main
7f3dab19af
am f987cbbf: am 2c0001e6: am 1259eff8: add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
...
* commit 'f987cbbfc25374dbf7a767fc86174508a0e4662e':
add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
2013-04-12 13:07:47 -07:00
Scott Main
f987cbbfc2
am 2c0001e6: am 1259eff8: add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
...
* commit '2c0001e62c749d987a20e48c76eb4e3736209aee':
add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
2013-04-12 13:04:18 -07:00
Scott Main
2c0001e62c
am 1259eff8: add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
...
* commit '1259eff8064bdd2230b1fbb43f68c3678181b9e5':
add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
2013-04-12 13:00:03 -07:00
Scott Main
1259eff806
add redirects for removed files from I1b17e4eca17e69169002fc617180beb2ac83f67a
...
Change-Id: I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478
2013-04-12 11:42:20 -07:00
Jeff Brown
84dc1f05b7
Update media router API.
...
Bug: 8175766
Change-Id: I28aeb92851caba332774664e71041c2cfdf9605e
2013-04-11 20:38:34 -07:00
Scott Main
96a0aa00a7
am 0311ce6c: am 48b058e2: am 675e1b54: am d7fc587c: add redirects for some orphaned docs.
...
* commit '0311ce6c831a896cc671efa44340abcf5825a593':
add redirects for some orphaned docs.
2013-04-11 19:27:19 -07:00
Scott Main
0311ce6c83
am 48b058e2: am 675e1b54: am d7fc587c: add redirects for some orphaned docs.
...
* commit '48b058e2ef7e565217c4b1338cd545f3a1e29bdf':
add redirects for some orphaned docs.
2013-04-11 19:24:46 -07:00
Scott Main
48b058e2ef
am 675e1b54: am d7fc587c: add redirects for some orphaned docs.
...
* commit '675e1b542269dfb5e1365d8312df7a91e20c2a72':
add redirects for some orphaned docs.
2013-04-11 19:21:41 -07:00
Scott Main
675e1b5422
am d7fc587c: add redirects for some orphaned docs.
...
* commit 'd7fc587cc23286164757e8806cd6e235ba936cfc':
add redirects for some orphaned docs.
2013-04-11 19:18:03 -07:00
Dianne Hackborn
7cf29a7636
Update for java docs.
...
Change-Id: I1a34e5d3aaf2b00717d65b3487a919f237738dc2
2013-04-11 19:10:54 -07:00
Dianne Hackborn
2f5f3c1d63
Merge "Issue #7341342 API request: way to determine current orientation..." into jb-mr2-dev
2013-04-12 00:08:39 +00:00
Nick Kralevich
2209abf694
Merge "Remove OptionalPermissions demo." into jb-mr2-dev
2013-04-11 19:52:20 +00:00
Scott Main
d7fc587cc2
add redirects for some orphaned docs.
...
coincides with the doc removals in I6539076edf8962fd974d790a0edd1d4badc4d5f7
Change-Id: I1cac3419835fe8402d416c14eb11652c89b0dd81
2013-04-11 11:31:55 -07:00
Nick Kralevich
0ceb4bb830
Remove OptionalPermissions demo.
...
Change-Id: Iabfdcfbf45c2a116e91681c05421deeedd9c9d27
2013-04-11 10:19:55 -07:00
Amith Yamasani
5c9ba3308f
Fix some crashes in the sample
...
Change-Id: I8d03f8912d9a9932f8b24dd23d5f0dd21716dd0d
2013-04-10 18:49:18 -07:00
Dianne Hackborn
904e05075d
Issue #7341342 API request: way to determine current orientation...
...
...to allow for orientation locking
Update API demo with new modes.
Change-Id: Ib9da3ada203407bace0968f4ee3db54f03ad559b
2013-04-10 17:36:20 -07:00
Jaikumar Ganesh
8a0799f2d6
Add Trigger Sensor API Demo.
...
Add sensor API demo for significant motion sensor.
Change-Id: Ie1a006523e4ef579384a580ddb117188a455dadf
2013-04-10 17:13:06 -07:00
Dianne Hackborn
b0c2615abb
Merge "Update media controller sample." into jb-mr2-dev
2013-04-10 18:58:52 +00:00
Chiao Cheng
bcd56f9137
Merge "Adding example of querying for contact changes." into jb-mr2-dev
2013-04-10 17:54:24 +00:00
Ying Wang
63c613c742
Add liblog
...
Bug: 8580410
Change-Id: I25981e09574567b305f659b99d3a179942e1deb4
2013-04-09 21:42:59 -07:00
Chiao Cheng
0a010aef7f
Adding example of querying for contact changes.
...
Bug: 8182147
Change-Id: I40a2b95b9e6ac0705b863e0e41f84654dfddaf5c
2013-04-08 14:52:16 -07:00
Dianne Hackborn
1abc05040f
Update media controller sample.
...
Now use the new abstractions of TransportMediator. Guess I should
also change the name of this sample to match it... that'll be for
a future change. :)
Change-Id: I932f8215bba51dfaa1bd5766ab9551c9dc440657
2013-04-05 19:08:48 -07:00
Dianne Hackborn
a5e017432a
Merge "Improve TransportController demo." into jb-mr2-dev
2013-04-05 01:40:49 +00:00
Dianne Hackborn
9b4e96dcb8
Improve TransportController demo.
...
This is an actually realistic implementation of a
video player. It's still delibrately simple, but it's
not outright broken. We now have our own media controller
since that is the only way to get something that actually
works, we use system UI flags to hide nav/status bar when
playing, we use the new TransportController APIs to go
into a formal playback state where we take audio focus.
Change-Id: I19ac171483637b8ee94c9c07aea39c11748cbc46
2013-04-04 18:36:56 -07:00
Dianne Hackborn
18eee4be72
Merge "Move media key handling to here." into jb-mr2-dev
2013-04-04 19:26:10 +00:00
Dianne Hackborn
e5d68096be
Move media key handling to here.
...
Change-Id: I6b8c66ef465640951da4b36da53e7fda00e48d20
2013-04-04 12:25:28 -07:00
Mathias Agopian
47a0ba9553
Merge "update include paths and symbols for eclipse" into jb-mr2-dev
2013-04-04 00:30:51 +00:00
Jeff Brown
e808a4b6b2
Update after API refactoring.
...
Bug: 8175766
Change-Id: Ibcd86fbfb54c44d9a14e79fcd760991c48c5b2ad
2013-04-02 20:00:55 -07:00
Mathias Agopian
8ad2a3af80
update include paths and symbols for eclipse
...
- we define __SIZE_TYPE__ and __PTRDIFF_TYPE__ in symbols
because for some reason Eclipse barfs on stddef.h otherwise.
This seems to solve the problem entirely.
- removed symbols for HAVE_xxx because those should come
from AndroidConfig.h
NOTE: make sure to set
${ProjDirPath}/build/core/combo/include/arch/linux-arm/AndroidConfig.h
in Eclipse's "Paths and Symbols" / "Include Files" tab. This tab is
NOT shown by default, it needs to be enabled in the global
preference panel under "C/C++" / "Property Pages Settings".
As far as I can tell this setting is not exportable.
Change-Id: I1aa185b4b3564118cb9da19b2f932b7b37b81167
2013-04-02 16:14:04 -07:00
Ying Wang
73c1230224
Add host bin modules for explicit dependency
...
This fixes the build error:
development/build/sdk.atree:66: couldn't locate source file:
bin/llvm-rs-cc
Previously llvm-rs-cc was indirectly required via some intermediate
targets and now the chain is broken.
Change-Id: I722eee80deb03b219a16fe1c18fe87439ac8ff98
2013-04-01 17:01:43 -07:00
Amith Yamasani
441165c7a5
Merge "App limits sample" into jb-mr2-dev
2013-03-30 01:52:02 +00:00
Amith Yamasani
447d1e3d6c
App limits sample
...
Shows how to expose app restrictions for both simple types
and custom intents.
Change-Id: I95d422d1d637bd4bdb4f731d862975a160b65a50
2013-03-29 18:45:37 -07:00
Nick Kralevich
97e5ad6387
OptionalPermissions: fix call to buildPermissionRequestIntent
...
There's no need to call getApplication().
Change-Id: I56e8a6a4ab230275c70e240e53a893e05400f2f9
2013-03-28 15:14:28 -07:00
Nick Kralevich
d3b17b74c1
Merge "Initial checkin: optional permissions sample code" into jb-mr2-dev
2013-03-28 00:14:52 +00:00
Nick Kralevich
2ad812d4aa
Initial checkin: optional permissions sample code
...
This is an initial checkin of a small demonstration program
which demonstrates how optional permissions can be used.
This app can do three things, which require permissions:
* Vibrate the device (android.permission.VIBRATE)
* Access the internet (android.permission.INTERNET)
* Get the phone number (android.permission.READ_PHONE_STATE)
At install time, this app has zero permissions. However, the app can
request that the user grant permissions, based on pressing the "Prompt"
button. The user can then choose to allow or deny the permissions.
Known bugs and limitations:
* Once a permission is granted, it currently cannot be revoked by the
application nor the user.
* Due to the way it's implemented, the INTERNET permission requires a
restart of the application. That isn't in the sample code.
* Getting the device phone number doesn't make sense for a tablet.
This code was mostly written by klyubin@google.com with heavy
modification by myself.
Change-Id: I620db52c4a1f10ac7aa604ba34f77f7ec03af023
2013-03-27 16:54:04 -07:00
Andrew Hsieh
63222c6fcc
am 175fb816: am 8d04b131: Merge "ndk: Fix potential event handling issue in android_native_app_glue"
...
* commit '175fb816d20560958473cdc1bbe0fc5034e6b15d':
ndk: Fix potential event handling issue in android_native_app_glue
2013-03-27 13:01:48 -07:00
Andrew Hsieh
0c1dc2e665
am b94ab7c1: am f7fe3ca6: Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
...
* commit 'b94ab7c1706c306809b6875e5bb9061d77b65e49':
Deprecate __set_errno; Add #include <stdint.h> in elf.h
2013-03-27 13:01:45 -07:00
Andrew Hsieh
175fb816d2
am 8d04b131: Merge "ndk: Fix potential event handling issue in android_native_app_glue"
...
* commit '8d04b13138cd1b86e6ee7207eac0a0f98ae978bb':
ndk: Fix potential event handling issue in android_native_app_glue
2013-03-27 11:26:28 -07:00
Andrew Hsieh
b94ab7c170
am f7fe3ca6: Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
...
* commit 'f7fe3ca6dece533962046712269b443d4e6a3d87':
Deprecate __set_errno; Add #include <stdint.h> in elf.h
2013-03-27 11:09:05 -07:00
Andrew Hsieh
8d04b13138
Merge "ndk: Fix potential event handling issue in android_native_app_glue"
2013-03-27 18:08:08 +00:00
Andrew Hsieh
f7fe3ca6de
Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
2013-03-27 17:58:48 +00:00
Andrew Hsieh
3ccf4f2c03
Deprecate __set_errno; Add #include <stdint.h> in elf.h
...
1. __set_errno is deprecated and subject to removal in future release
2. elf.h is seen to be included alone, causing compilation error due
to undefined uint32_t and uint64_t
Change-Id: I4ca348a8ba0689eb3880622dcf5c53be470c57e8
2013-03-27 10:44:19 -07:00
Jeff Sharkey
ccf3ef27ce
Merge "Remove reference to <root-path>." into jb-mr2-dev
2013-03-26 17:13:12 +00:00
Andrew Hsieh
08b584acaf
am 67ef19d0: am 83f00b45: Merge "[libportable] Add fenv support."
...
* commit '67ef19d061d8351226fc4eacfa053cd58983b976':
[libportable] Add fenv support.
2013-03-26 07:41:13 -07:00
Andrew Hsieh
67ef19d061
am 83f00b45: Merge "[libportable] Add fenv support."
...
* commit '83f00b45c7cbd57c7b82ccda73f2e49c6a872110':
[libportable] Add fenv support.
2013-03-26 07:38:15 -07:00
Andrew Hsieh
83f00b45c7
Merge "[libportable] Add fenv support."
2013-03-26 14:29:07 +00:00