Commit Graph

39903 Commits

Author SHA1 Message Date
Svet Ganov
c14c828fcd am 43e9ef49: am bd394c7a: Merge "RemoteViews service not unbound." into lmp-dev
* commit '43e9ef4959f1dda00bfcb14a18afa7684ba2b485':
  RemoteViews service not unbound.
2014-08-25 18:09:58 +00:00
Sandeep Siddhartha
d1e0b3d74a am 61ae93d3: am 8da4d313: Remove the old API for creating hotword detector
* commit '61ae93d3231f70e660b50e431ab981ad3dd3a495':
  Remove the old API for creating hotword detector
2014-08-25 17:57:32 +00:00
Svet Ganov
f2a778683d Merge "RemoteViews service not unbound." into lmp-dev 2014-08-25 17:48:06 +00:00
Sandeep Siddhartha
07b4a6f42d Remove the old API for creating hotword detector
To be submitted only when the prebuilts have been updated

Change-Id: I7136b6a492610e4673f005b2d1682ce90ddb43a5
2014-08-25 10:34:07 -07:00
Sandeep Siddhartha
dbffa09f63 am b6943e7b: am fe3a5e88: Merge "Fix conversion of locale from BCP47 language tag" into lmp-dev
* commit 'b6943e7be6ce533d490009a5efe1264e1fd9ce46':
  Fix conversion of locale from BCP47 language tag
2014-08-25 16:45:21 +00:00
Sandeep Siddhartha
4b4d7efe52 Merge "Fix conversion of locale from BCP47 language tag" into lmp-dev 2014-08-25 16:18:55 +00:00
Svet Ganov
5771ad7bc7 RemoteViews service not unbound.
We are checking whether an app can access an app widget
based on the calling uid and the package name. The package
is mostly to make sure that hosts in different apps do
not accidentally interfere whereas the security is enforced
by the uid.

When remote views adapter binds and unbinds to a remote
views serivce it was passing the package of the context we
create to load resources for the widget instead the package
of the host. Now it is passing the host package and also
we are checking if the caller of bind remove serivce API
is in uid that has the host package - this makes it
consistent with elsewhere.

bug:17226052

Change-Id: I2b0b6669e3dc027037b7481c2871cedabd642433
2014-08-24 20:02:47 -07:00
Wei Wang
8159074f3f am 549f92b1: am 3952e39c: Merge "Fix API council review comments. Also hide certain APIs(1/3)." into lmp-dev
* commit '549f92b1135b5141918c13ddde6ba45db646b0cf':
  Fix API council review comments. Also hide certain APIs(1/3).
2014-08-24 23:19:05 +00:00
Wei Wang
b1e066bc27 Merge "Fix API council review comments. Also hide certain APIs(1/3)." into lmp-dev 2014-08-24 23:00:20 +00:00
Jeff Sharkey
daa88714a1 am 9f3ddd55: am e3218d35: Merge "Installing splits into ASECs!" into lmp-dev
* commit '9f3ddd551393b4fbc421156b8f700cae7dbd6a3b':
  Installing splits into ASECs!
2014-08-24 19:04:07 +00:00
Jeff Sharkey
37cf9907d2 Merge "Installing splits into ASECs!" into lmp-dev 2014-08-24 18:45:55 +00:00
George Mount
3b51c30088 am 1bb44645: am 8c789490: Merge "API Review: change fragment transition methods." into lmp-dev
* commit '1bb4464550d66dd67dbdbc3e4e41eb64bdf86903':
  API Review: change fragment transition methods.
2014-08-24 18:28:14 +00:00
George Mount
da604cc1ec Merge "API Review: change fragment transition methods." into lmp-dev 2014-08-24 18:11:07 +00:00
Sandeep Siddhartha
fb30d6936a Fix conversion of locale from BCP47 language tag
Bug: 17187528
Change-Id: Ifcf707c9be736885f3fc79f3c36087ecf9092971
2014-08-23 16:00:16 -07:00
Matthew Williams
1a2e780604 am f56a5290: am fdb7e602: Merge "Implement API review feedback for JobScheduler" into lmp-dev
* commit 'f56a5290757b3c209d8d5ee3fa0b1224cd57305a':
  Implement API review feedback for JobScheduler
2014-08-23 06:19:39 +00:00
Sandeep Siddhartha
4c026eb47c am f45cc194: am 4e4a7b3d: Fix an issue with locale for managing intent
* commit 'f45cc19452c0b8543075de17caa8e119f51525a2':
  Fix an issue with locale for managing intent
2014-08-23 06:19:33 +00:00
Sandeep Siddhartha
173db08cce am a8d8e4c4: am e829259d: Merge "Fix the Locale story in the hotword API" into lmp-dev
* commit 'a8d8e4c439da6a3b9292335d631c6ec65ff45b01':
  Fix the Locale story in the hotword API
2014-08-23 06:19:01 +00:00
Matthew Williams
306908f235 Merge "Implement API review feedback for JobScheduler" into lmp-dev 2014-08-23 02:48:19 +00:00
Sandeep Siddhartha
a54cd53366 Fix an issue with locale for managing intent
Bug: 17187528
Change-Id: I254d838b6b37934ce81dd1fcd5a047b50d593887
2014-08-22 18:34:59 -07:00
Sandeep Siddhartha
a434963fad Merge "Fix the Locale story in the hotword API" into lmp-dev 2014-08-23 01:08:18 +00:00
Yigit Boyar
c57a47a02c am af314829: am aca6557c: Merge "Clear TextView error when text changes" into lmp-dev
* commit 'af314829d18caaeb84b0a6bdd7e8745f799c9df6':
  Clear TextView error when text changes
2014-08-23 00:50:22 +00:00
Jeff Brown
a988347120 am cd4d217a: am d8b20d39: Merge changes I9bd3a235,I9c4dbdef into lmp-dev
* commit 'cd4d217abfa6199eef19c003d03b29ff0a1e33db':
  Improve adaptive brightness in very dark rooms.
  Hide PowerManager methods that third-party apps can't use.
2014-08-23 00:41:09 +00:00
Jeff Brown
27355a01f1 am fdfd79f2: am 6a276cec: Merge "Poke interactive hint from userActivity and add @SystemApi." into lmp-dev
* commit 'fdfd79f218144a9a7865e9523c29e0d97080152d':
  Poke interactive hint from userActivity and add @SystemApi.
2014-08-23 00:41:04 +00:00
Jeff Brown
593611306b am f8dcbab4: am 48b8c455: Merge "Require DEVICE_POWER permission for DOZE_WAKE_LOCK." into lmp-dev
* commit 'f8dcbab49df493832ed34a83e71b772e7e00db2f':
  Require DEVICE_POWER permission for DOZE_WAKE_LOCK.
2014-08-23 00:40:59 +00:00
Jeff Brown
18234b4811 am aa5912c8: am 84ec443d: Merge "Unhide the proximity sensor wakelock." into lmp-dev
* commit 'aa5912c8146810601fbc5549df91fcb60afc6412':
  Unhide the proximity sensor wakelock.
2014-08-23 00:40:55 +00:00
Yigit Boyar
3edb23bc8e Merge "Clear TextView error when text changes" into lmp-dev 2014-08-23 00:31:00 +00:00
Jeff Brown
a96a3c1b65 Merge changes I9bd3a235,I9c4dbdef into lmp-dev
* changes:
  Improve adaptive brightness in very dark rooms.
  Hide PowerManager methods that third-party apps can't use.
2014-08-23 00:23:45 +00:00
Jeff Brown
d7761be23d Merge "Poke interactive hint from userActivity and add @SystemApi." into lmp-dev 2014-08-23 00:23:41 +00:00
Jeff Brown
de25dc0708 Merge "Require DEVICE_POWER permission for DOZE_WAKE_LOCK." into lmp-dev 2014-08-23 00:23:26 +00:00
Sandeep Siddhartha
dcf3068fcb Fix the Locale story in the hotword API
Tighten the API by taking in a locale rather than a string tag.
Tighten the checks when reading the enrollment metadata, bail out if any
attribute is missing or invalid.
Add missing recycle call for a TypedArray

Stop recognition when sound model(s) change. This is needed during
un-enrollment/re-enrollment.

Bug: 17187528
Bug: 17205230
Change-Id: Idb00b51ef8c4ea0a8f8993decea582223181fa3d
2014-08-22 17:23:13 -07:00
Jeff Brown
2835bb7867 Merge "Unhide the proximity sensor wakelock." into lmp-dev 2014-08-23 00:23:00 +00:00
George Mount
448bace861 API Review: change fragment transition methods.
Bug 16959326

Change-Id: I7460ac077e81c37bbec3ed6350b6e34f7c7b6e33
2014-08-22 17:09:05 -07:00
Yigit Boyar
412bb5ca63 Clear TextView error when text changes
This change also fixes another bug where error popup
is cleared when cursor moves using dpad, even though
the text is not changed.

Bug: 15538489
Bug: 3370191
Change-Id: I2804b90178e77ced46477a594331ae1f7306717a
2014-08-22 16:29:08 -07:00
Jim Miller
db2fb70b19 am 752889a9: am 9af7f4f6: Merge "Update TrustAgentService API after review." into lmp-dev
* commit '752889a944402983874e04da6f613872275aa3d0':
  Update TrustAgentService API after review.
2014-08-22 23:28:08 +00:00
Jeff Sharkey
941a8ba1a6 Installing splits into ASECs!
Sessions can now zero-copy data directly into pre-allocated ASEC
containers.  Then at commit time, we compute the total size of the
final app, including any inherited APKs and unpacked libraries, and
resize the container in one step.

This supports both brand new ASEC installs and inheriting from
existing ASEC installs.  To keep things simple, it currently requires
copying any inherited ASEC contents, but this could be optimized in
the future.

Expose new vold resize command, and allow read-write mounting of ASEC
containers.  Move native library extraction into the installer flow,
since it needs to happen before ASEC is sealed.  Move multiArch flag
into NativeLibraryHelper, instead of making everyone pass it
around.  Migrate size calculation to shared location.

Separate "other" package name in public API, provide a path to a
storage device when relevant, and add more docs.

Bug: 16514385
Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
2014-08-22 16:25:04 -07:00
Elliott Hughes
49e927ecd6 am 8f038952: am fff90ffb: Merge "Use CLDR narrow am/pm markers." into lmp-dev
* commit '8f0389527241cb5b8adada12b9084b5c7f38bb84':
  Use CLDR narrow am/pm markers.
2014-08-22 23:23:52 +00:00
Matthew Williams
d1c06753d0 Implement API review feedback for JobScheduler
BUG: 17005336

Took the opportunity to clean up some back-off logic

Change-Id: Ibc8ae34d1d44dd064ba071e4cbad17872f7e38cf
2014-08-22 16:08:45 -07:00
Jim Miller
c7639333f8 Merge "Update TrustAgentService API after review." into lmp-dev 2014-08-22 23:08:32 +00:00
Elliott Hughes
ed40256670 Merge "Use CLDR narrow am/pm markers." into lmp-dev 2014-08-22 23:02:14 +00:00
Jim Miller
d4efaac5d5 Update TrustAgentService API after review.
Also documents timebase on related DevicePolicyManager API.

Fixes bugs 16401527 and 17046034

Change-Id: I8ee6d0055ab6f52ec71630344d3232f7875d9c1d
2014-08-22 22:43:30 +00:00
John Spurlock
48b9ca16f6 am c7d47057: am fa0f8288: Merge "Display notification effects suppressor in the volume panel." into lmp-dev
* commit 'c7d47057359ba66ce7ca56a20b7bcdf9af522042':
  Display notification effects suppressor in the volume panel.
2014-08-22 22:23:15 +00:00
John Spurlock
7653a30ea0 Merge "Display notification effects suppressor in the volume panel." into lmp-dev 2014-08-22 22:09:35 +00:00
John Spurlock
b4782526f5 Display notification effects suppressor in the volume panel.
Bug:16958514

Change-Id: I0eac173875e8af62e3c6b39001722c3fda4517de
2014-08-22 18:08:17 -04:00
Matthew Williams
e94569636f am 74d65044: am d95fb7b3: Merge "JobScheduler only run jobs for started users." into lmp-dev
* commit '74d65044fda9dedd72a7e80ec9a607bebdf5f484':
  JobScheduler only run jobs for started users.
2014-08-22 21:24:15 +00:00
Matthew Williams
12eec2341d Merge "JobScheduler only run jobs for started users." into lmp-dev 2014-08-22 21:08:06 +00:00
Dianne Hackborn
9986e64643 am ceb86f91: am f5b988b8: Merge "Work on issue #17011123: Hit Back/Recents button when in Recents..." into lmp-dev
* commit 'ceb86f912d9cc0cc0fa62f712b0105a5d239a973':
  Work on issue #17011123: Hit Back/Recents button when in Recents...
2014-08-22 20:22:53 +00:00
Dianne Hackborn
250bf41b8e Merge "Work on issue #17011123: Hit Back/Recents button when in Recents..." into lmp-dev 2014-08-22 20:05:39 +00:00
Ronghua Wu
25a4b4b3dd am 4f643cf0: am 29b2d44c: Merge "VideoView: unhide setVideoURI api and add document." into lmp-dev
* commit '4f643cf0e7736b5be31419b38890cd92d6586936':
  VideoView: unhide setVideoURI api and add document.
2014-08-22 19:33:17 +00:00
Ronghua Wu
306afb9142 Merge "VideoView: unhide setVideoURI api and add document." into lmp-dev 2014-08-22 19:16:58 +00:00
Michael Wright
bbd512a4f3 am b6f74d87: am f3091f94: Merge "Add Voice Assist key." into lmp-dev
* commit 'b6f74d877ea382a5f739b0687a34e3fd79ea12f0':
  Add Voice Assist key.
2014-08-22 18:20:45 +00:00