187607 Commits

Author SHA1 Message Date
Clara Bayarri
9b8178719b Merge "Create the Process Text Intent Action and Extra" 2015-04-07 12:52:31 +00:00
Clara Bayarri
0a26157a9f Create the Process Text Intent Action and Extra
Change-Id: I33e30324970e91b04fcc233b91c9d43580c446fc
2015-04-07 13:49:54 +01:00
Olawale Ogunwale
8928c7271b Merge "[ActivityManager] Improve task order of getRunningTasks." 2015-04-07 12:45:38 +00:00
Wale Ogunwale
565b0f81eb Merge "Start non-running activity that should be visible in resume state." 2015-04-07 12:42:36 +00:00
Benjamin Franz
39fb7fd730 Allow silent package install for device owner.
Allow the device owner to silently install and remove packages using the
PackageInstaller APIs. Show notifications to the user after the
installation / deletion was successful.

Bug: 19422461
Change-Id: I0506e18c510efd9d04c4aea9b60a37456e689615
2015-04-07 11:02:46 +01:00
Bart Sears
80ac603651 Merge "Revert "Adding per UID WiFi power distribution."" 2015-04-07 06:19:55 +00:00
Bart Sears
e9b9b73ab5 Revert "Adding per UID WiFi power distribution."
This CL is breaking the clockwork settings app in master.  Reverting
until Adam has a chance to investigate.

This reverts commit b943fabfc8ddb581dc2fd7288f87428dcb5d27b7.

Change-Id: Ieb11423c11cf9874a6175dce49843d0e1080c590
2015-04-07 06:14:04 +00:00
Jeff Sharkey
f56bd0e175 Merge "Installing packages to expanded storage." 2015-04-07 04:24:34 +00:00
Jeff Sharkey
b2b9ab8354 Installing packages to expanded storage.
PackageManager now offers to load/unload packages when expanded
volumes are mounted/unmounted.  Expanded storage volumes are still
treated as FLAG_EXTERNAL_STORAGE from a public API point-of-view,
but this change starts treating the INSTALL_EXTERNAL flag as
exclusively meaning ASEC containers.

Start tracking the UUID of the volume where a package is installed,
giving us a quick way to find relevant packages.  When resolving an
install location, look across all expanded volumes and pick the one
with the largest free space.  When upgrading an existing package,
continue preferring the existing volume.  PackageInstaller now knows
how to stage on these volumes.

Add new movePackage() variant that accepts a target volume UUID
as destination, it will eventually move data too.  Expose this
move command through "pm" command for testing.

Automount expanded volumes when they appear.

Bug: 19993667
Change-Id: I9ca2aa328b9977d34e8b3e153db4bea8b8d6f8e3
2015-04-06 21:17:58 -07:00
Olawale Ogunwale
94efe9172e am bf39a6c6: am 43293fa8: am 437db610: Merge "[ActivityManager] Do not add service to reschedule after removing users."
* commit 'bf39a6c6605764100a29f96c69bca6fb6f907fc3':
  [ActivityManager] Do not add service to reschedule after removing users.
2015-04-07 04:15:58 +00:00
Olawale Ogunwale
bf39a6c660 am 43293fa8: am 437db610: Merge "[ActivityManager] Do not add service to reschedule after removing users."
* commit '43293fa800d3c7d93ce99bb937ceb7496da85ffa':
  [ActivityManager] Do not add service to reschedule after removing users.
2015-04-07 04:05:57 +00:00
Olawale Ogunwale
43293fa800 am 437db610: Merge "[ActivityManager] Do not add service to reschedule after removing users."
* commit '437db6106b20d5a81f12a93593b5f623b3159f19':
  [ActivityManager] Do not add service to reschedule after removing users.
2015-04-07 03:55:38 +00:00
Selim Gurun
78485e0fd1 Merge "Add the Assist support to Webview" 2015-04-07 03:50:51 +00:00
Olawale Ogunwale
437db6106b Merge "[ActivityManager] Do not add service to reschedule after removing users." 2015-04-07 03:36:30 +00:00
riddle_hsu
ddc74155c9 [ActivityManager] Improve task order of getRunningTasks.
Symptom:
During switching task in same stack, the first result
of getRunningTasks will be the behind stack's top task.
e.g.
 App Task X is starting task Y, the first entry may be home.

Root Cause:
TaskRecord's lastActiveTime is updated when pausing
or resuming. When X task launch a new task Y, Y is
on the top of task history, before X complete pause,
Y's lastActiveTime will be 0 because it is a new task.
Then when comparing the front task with other stack,
other stack will be regarded as the newer one.

Solution:
If the stack is focused stack, give the top task with the last time.

Change-Id: I0adc07608e03d333e0120a0dbc52a0fbbbb12f34
2015-04-07 11:30:09 +08:00
Selim Gurun
1b650cb6f9 Add the Assist support to Webview
Bug: 19771298

Implement the Webview API to provide assist data. Webview assist
data is provided asynchronously.

Change-Id: I2fbf3e5ce7779ba6664dfbc6a702880fe71d5126
2015-04-06 20:13:37 -07:00
Wale Ogunwale
b922301526 Merge "Fixed bug with ActivityInfo.FLAG_SHOW_ON_LOCK_SCREEN not working" 2015-04-07 03:06:23 +00:00
Wale Ogunwale
addd00e7f8 Start non-running activity that should be visible in resume state.
In multi-window mode it is possible for the system-ui launch
multiple activities at the same time that might not all be in a
running process. For the activities that are not in a running
process to be visible, they need to start in the resume state
not the stopped state if they will be the only resumed activity
in the stack.

Change-Id: I8e63d8baa278a46dd2b948052ca765a561355a71
2015-04-06 19:53:12 -07:00
Wale Ogunwale
33c375ff92 Merge "Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS" 2015-04-07 02:32:10 +00:00
Fyodor Kupolov
36b26adde8 Unnecessary dexopt in installPackageLI
When a new package is created, installNewPackageLI does not need to call
dexopt, since it has already been made.

Bug: 19550105
Bug: 20087446
Change-Id: If6b05bea590eea5f95efebb22a67ccd8cdf632c2
2015-04-06 19:04:08 -07:00
Adam Lesinski
0dce2acbe8 Merge "Adding per UID WiFi power distribution." 2015-04-07 01:53:00 +00:00
Adam Lesinski
b943fabfc8 Adding per UID WiFi power distribution.
Change-Id: Ia3d97e0a1c3352127185c18626d8ba8221c9ab40
2015-04-06 18:36:06 -07:00
Andre Eisenbach
227d23d4d6 Merge "Bluetooth: Do not initiate inquiry during pairing/SDP" 2015-04-07 01:02:24 +00:00
Christopher Tate
cd70621f92 Merge "Back up / restore preferred app configuration" 2015-04-07 00:38:40 +00:00
Wale Ogunwale
9dbaa54f68 Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
* Applications must now have ...permission.REAL_GET_TASKS to
be able to get process information for all applications.
* Only the process information for the calling application will be
returned if the app doesn't have the permission.
* Privilages apps will temporarily be able to get process information
for all applications if they don't have the new permission, but have
deprecated ...permission.GET_TASKS.

Bug: 20034603
Change-Id: I67ae9491f65d2280adb6a81593693d499714a216
2015-04-06 17:37:57 -07:00
Johnson Hsieh
7cf828ca64 Merge "Add VOICE_CANCEL_ALARM/VOICE_DELETE_ALARM intents." 2015-04-07 00:37:29 +00:00
Christopher Tate
e012a23556 Back up / restore preferred app configuration
Bug 19848104

Change-Id: I84cdfcc44b48a9732984955d7eedf745b5586bdd
2015-04-06 17:36:25 -07:00
Roozbeh Pournader
0f2974321b Merge "Switch from Lohit Odia to Noto Sans Oriya fonts." 2015-04-07 00:27:09 +00:00
Jason Sams
217a36b193 am ef2279a1: am 283e5ce3: am 7200f661: Merge "Fix minor blur doc bug"
* commit 'ef2279a1f1a12b9ba16cd18c7ec2be97111307a8':
  Fix minor blur doc bug
2015-04-07 00:17:24 +00:00
Jason Sams
ef2279a1f1 am 283e5ce3: am 7200f661: Merge "Fix minor blur doc bug"
* commit '283e5ce37ba3966f54d1a6d1a32a79da3a8ad0fd':
  Fix minor blur doc bug
2015-04-07 00:06:35 +00:00
Yang Ni
a9d76d153d am 249968b4: am 6bef5eb4: am 6422ee71: Merge "Rewrote FieldPack::createFieldPack for alignment"
* commit '249968b421a8dcfe5a26ec7f524e76295ec5eef5':
  Rewrote FieldPack::createFieldPack for alignment
2015-04-07 00:06:34 +00:00
Jason Sams
283e5ce37b am 7200f661: Merge "Fix minor blur doc bug"
* commit '7200f661c1e5ef1c59c5849610dc97492c7a3a16':
  Fix minor blur doc bug
2015-04-06 23:56:57 +00:00
Yang Ni
249968b421 am 6bef5eb4: am 6422ee71: Merge "Rewrote FieldPack::createFieldPack for alignment"
* commit '6bef5eb4e26d413044076a1dbfe9bce38218bd86':
  Rewrote FieldPack::createFieldPack for alignment
2015-04-06 23:56:01 +00:00
Wale Ogunwale
91d4c1d97a Merge "Enabled wait for wallpaper draw code, but reduced timeout to 500ms" 2015-04-06 23:50:50 +00:00
Craig Lafayette
bc80a260cf Merge "Add factory reset protection extras to DPM." 2015-04-06 23:47:34 +00:00
Yang Ni
6bef5eb4e2 am 6422ee71: Merge "Rewrote FieldPack::createFieldPack for alignment"
* commit '6422ee7105cc99f389ff8f09d51e2a874e97f470':
  Rewrote FieldPack::createFieldPack for alignment
2015-04-06 23:45:41 +00:00
Svetoslav
429270c3ed Enable runtime permissions
Change-Id: I092a24e472f841ff6094ac4135dfd19381de61ff
2015-04-06 16:45:37 -07:00
Jason Sams
7200f661c1 Merge "Fix minor blur doc bug" 2015-04-06 23:38:05 +00:00
Johnson Hsieh
633bf5ca52 Add VOICE_CANCEL_ALARM/VOICE_DELETE_ALARM intents.
This will be used by the Voice Interaction API. For details, see
https://docs.google.com/document/d/1_yRTbn-BxFi8Lc6bVmJ4r2dg3-05qUxf9yChiZXiiew/edit#.

Change-Id: Icf4371ff351298ef7c1158e5e2d35561fc6cef67
2015-04-06 16:29:39 -07:00
Yang Ni
6422ee7105 Merge "Rewrote FieldPack::createFieldPack for alignment" 2015-04-06 23:28:23 +00:00
Matthew Williams
cff70cd860 am 0d025e10: am 679572ca: am 0b3673c4: am 20baa9d9: am 28358eae: Merge "Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test." into lmp-mr1-dev
* commit '0d025e10b215a0042ad19e9c6e0af4fe3e745d16':
  Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test.
2015-04-06 23:28:06 +00:00
Venkat Raghavan
05e08c3a2f Bluetooth: Do not initiate inquiry during pairing/SDP
Retry SDP if it gets cancelled in BONDING state.
If SDP search initiated after the pairing gets cancelled, re-initiate
SDP search from the BTIF layer to ensure completion of the bonding
process.

While pairing/SDP discovery of the bonded device is in progress,
do not initiate inquiry.

Bug: 19417758
Change-Id: I2d80883999771c53b58cc3017a63b17e3564bc57
2015-04-06 16:27:09 -07:00
Alan Viverette
6c6d266c40 Merge "Fix progress tint attributes" 2015-04-06 23:11:51 +00:00
Alan Viverette
1f188b5699 Merge "Replace PNG list divider with XML shape" 2015-04-06 23:11:30 +00:00
John Reck
379f264bb6 Add stat collection start time
Add CLOCK_MONOTONIC to signal
when the stat collection started
to allow for tracking stats
over time

Change-Id: Iab7c52f21184eea603ddc8572b9d91a951b45a00
2015-04-06 16:07:12 -07:00
Alan Viverette
23f4432437 Add accessibility action for scrolling to a collection position
Cleans up verbose R package in GridView, accessibility action docs,
and some lint warnings in AccessibilityNodeInfo. Makes the action IDs
for SHOW_ON_SCREEN and SCROLL_TO_POSITION public so that we can
guarantee they won't change (and thus reference them in support lib).

Change-Id: Ica53b7be7a68b84054b9bac1fc7958a21a42e089
2015-04-06 16:04:56 -07:00
Alan Viverette
789e776835 Replace PNG list divider with XML shape
Change-Id: I06bf589de22682f7c598f56fbdbfcd61cb72b099
2015-04-06 15:37:22 -07:00
Alan Viverette
dbc401888d Fix progress tint attributes
Change-Id: Ie22f5177144ecbe981f6b342236714a3ce520cbc
2015-04-06 15:01:23 -07:00
Yang Ni
8bcbf47245 Rewrote FieldPack::createFieldPack for alignment
b/20032217

Some data types requires data alignment. This has an impact on the
total data size for the FieldPack. Fixed createFiledPack()
implementation to handle this correctly.

Change-Id: I241da19df69bf51cfdaf3b3a1381b446eaacb7fb
2015-04-06 14:49:53 -07:00
Alan Viverette
33f8d0976f Merge "Fix inner/outer circle swap and dot color in RadialTimePickerView" 2015-04-06 21:43:16 +00:00